MOAB: Mesh Oriented datABase  (version 5.3.1)
moab::Element Namespace Reference

## Classes

class  Map
Class representing a map (diffeomorphism) F parameterizing a 3D element by its canonical preimage. More...
class  LinearHex
Shape function space for trilinear hexahedron, obtained by a pushforward of the canonical linear (affine) functions. More...
Shape function space for trilinear hexahedron, obtained by a pushforward of the canonical linear (affine) functions. More...
class  LinearTet
Shape function space for a linear tetrahedron, obtained by a pushforward of the canonical affine shape functions. More...
class  SpectralHex
Shape function space for bilinear quadrilateral, obtained from the canonical linear (affine) functions. More...
Shape function space for bilinear quadrilateral on sphere, obtained from the canonical linear (affine) functions. It is mapped using gnomonic projection to a plane tangent at the first vertex It works well for edges that are great circle arcs; RLL meshes do not have this property, but HOMME or MPAS meshes do have it. More...
class  LinearTri
Shape function space for linear triangle, similar to linear tet. More...
class  SphericalTri
Shape function space for linear triangle on sphere, obtained from the canonical linear (affine) functions. It is mapped using gnomonic projection to a plane tangent at the first vertex It works well for edges that are great circle arcs; RLL meshes do not have this property, but HOMME or MPAS meshes do have it. More...
class  LinearEdge
Shape function space for bilinear quadrilateral, obtained from the canonical linear (affine) functions. More...

## Functions

double SH (const int i, const double xi)
double DSH (const int i, const double xi)

## Function Documentation

 double moab::Element::DSH ( const int i, const double xi )

Definition at line 816 of file ElemUtil.cpp.

References MBMesquite::xi.

    {
switch( i )
{
case -1:
return xi - 0.5;
case 0:
return -2 * xi;
case 1:
return xi + 0.5;
default:
return 0.;
}
}

 double moab::Element::SH ( const int i, const double xi )

Definition at line 802 of file ElemUtil.cpp.

References MBMesquite::xi.

    {
switch( i )
{
case -1:
return ( xi * xi - xi ) / 2;
case 0:
return 1 - xi * xi;
case 1:
return ( xi * xi + xi ) / 2;
default:
return 0.;
}
}