Navigation

Operators and Keywords

Function List:

C++ API

Function File: PlotBasisFunc( M , number)

To display a P1 basis function of a given vertex. The mesh structure and the vertex number are required. This function could be useful for debugging.

Parameters

M : mesh structure

number : (integer) node number for plotting basis function

PlotNodeNumber and PlotTriangleNumber functions are used

Example

M ='disque4-1-3.msh', number=17
PlotBasisFunc(M, number)

See also: GetMeshOpt, PlotMesh, PlotNodeNumber.

Demonstration 1

The following code

 Th=GetMeshOpt('disque4-1-3.msh',2);
 n=15;PlotBasisFunc(Th,n);

Produces the following figure

Figure 1

Package: ovisumesh