<< meshvisu SciFreeFEM pde_sol >>

SciFreeFEM >> SciFreeFEM > nvisu

nvisu

plot nodes

Calling Sequence

nvisu(rect)

Parameters

rect

the bounds of the plot (see the rect parameter of plot2d)

Description

plot a mesh

Beware, this function uses global variables (noeul, trianl)

Examples

// Define and solve the problem

ff_problem(strcat(['solve(u)  {',...
                   pde_sol(u,div(grad(u)),f),...
           'on(a,b,c,d,e,f) u = 0; };']));

// Get the result as a Scilab variables
[noeul,trianl,tFunc] = getffResult('u');

// Show the mesh
clf(); xsetech([0,0,1,0.5]);
nvisu();
    
// Show the result
xsetech([0,0.5,1,0.5]);
resultvisu(noeul,trianl,tFunc);

See Also

Authors

Yann Collette


Report an issue
<< meshvisu SciFreeFEM pde_sol >>