p1
Initialise linear simplicial element.
Calling Sequence
u=p1(th) u=p1(th,string_expression)
Parameters
- th :
a 2d or 3d mesh of type tri2d or tet3d
- string_expression :
a string corresponding to an expression to be interpolated on the point of the mesh
- u :
a p1_2d or p1_3d variable
Description
This function create a typed list of fields :
Id : a string identity (empty string by default or string_expression )
geo : a string of the name of the mesh
Node : a real array of node values
Examples
Opertor overloading
All algebraic operations, combinations with the usual functions are permitted.
Authors
- T. C.

