Lagrange Finite Element definition for the Linear Triangle.
More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/mint/fem/shape_functions/lagrange/lagrange_tri_3.hpp>
Lagrange Finite Element definition for the Linear Triangle.
*
* tri_3:
*
* 2
* X
* / \
* / \
* / \
* X ------- X
* 0 1
*
*
- See also
- ShapeFunction
◆ getCellType()
◆ getType()
◆ getNumDofs()
◆ getMaxNewtonIters()
◆ getDimension()
◆ getMin()
◆ getMax()
◆ getCenter()
◆ getCoords()
◆ computeShape()
◆ computeDerivatives()
◆ cellType()
Returns the underlying cell type, e.g., MINT_QUAD, etc.
- Returns
- cellType the cell type
- See also
- CellType.hpp
◆ type()
Returns the Finite Element basis family type.
- Returns
- type the basis function type, e.g., MINT_LAGRANGE_BASIS
- See also
- FEBasisTypes.hpp
◆ numDofs()
Returns the number of degrees of freedom.
- Returns
- ndofs the number of degrees of freedom
- Postcondition
- ndofs >= 1
◆ maxNewtonIters()
Returns the maximum number of iterations for the Newton-Raphson.
- Returns
- N the maximum number of Newton-Raphson iterations
◆ dimension()
Returns the dimension of the reference element.
- Returns
- ndims the dimension of the reference element
- Postcondition
- ndims >= 1
◆ min()
Returns the min coordinate of the reference element.
- Returns
- min the min coordinate of the reference element
◆ max()
Returns the max coordinate of the reference element.
- Returns
- max the max coordinate of the reference element
◆ center()
Returns the center of the reference element.
- Parameters
-
[out] | center | buffer (ndims long) to store the centroid |
- Precondition
- center != nullptr
◆ coords()
Returns the coordinates of the reference element.
- Parameters
-
[out] | coords | buffer (ndims*ndofs long) to store the coordinates |
- Precondition
- coords != nullptr
- Note
- THe coordinates are arranged in column-major flat array layout
◆ evaluate()
Evaluates the ShapeFunction at the given natural coordinates.
- Parameters
-
[in] | nc | natural coordinates at which to compute the shape functions |
[out] | phi | buffer (ndofs long) to store the shape function. |
- Precondition
- nc != nullptr
-
phi != nullptr
◆ derivatives()
Evaluates the first derivatives of the shape function at the given natural coordinates.
- Parameters
-
[in] | nc | natural coordinates at which to compute the derivatives |
[out] | phidot | buffer (ndofs*ndims long) to store the derivatives |
- Precondition
- nc != nullptr
-
phidot != nullptr
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/mint/fem/shape_functions/lagrange/lagrange_tri_3.hpp