moab
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...
class  QuadraticHex
 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
class  LinearQuad
 Shape function space for bilinear quadrilateral, obtained from the canonical linear (affine) functions. More...
class  LinearEdge
 Shape function space for bilinear quadrilateral, obtained from the canonical linear (affine) functions. More...
class  SpectralQuad

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 671 of file ElemUtil.cpp.

  {
    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 661 of file ElemUtil.cpp.

  {
    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.;
    }
  }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines