<< laplace SciFreeFEM nvisu >>

SciFreeFEM >> SciFreeFEM > meshvisu

meshvisu

plot a mesh

Calling Sequence

meshvisu(col,rect)

Parameters

col

a color (see third argument of xfpolys)

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]);
meshvisu();
    
// Show the result
xsetech([0,0.5,1,0.5]);
resultvisu(noeul,trianl,tFunc);

See Also

Authors

Yann Collette


Report an issue
<< laplace SciFreeFEM nvisu >>