MoReFEM
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions
MoReFEM::RefGeomEltNS::ShapeFunctionNS::Hexahedron8 Struct Reference

Define Hexahedron8 shape functions and its derivative. More...

#include <Hexahedron8.hpp>

Inheritance diagram for MoReFEM::RefGeomEltNS::ShapeFunctionNS::Hexahedron8:
Collaboration diagram for MoReFEM::RefGeomEltNS::ShapeFunctionNS::Hexahedron8:

Public Types

enum  { Nderivate_component_ = 3 , Nphi_ = 8 , Order = 1 }
 Convenient enum which encompass magic numbers for the type of geometric element implemented. More...
 

Static Public Member Functions

static const std::array< ShapeFunctionType, Nphi_ > & ShapeFunctionList ()
 Shape functions.
 
static const std::array< ShapeFunctionType, Nphi_ *Nderivate_component_ > & FirstDerivateShapeFunctionList ()
 First derivative of the shape functions.
 
static const std::array< ShapeFunctionType, Nphi_ *Nderivate_component_ *Nderivate_component_ > & SecondDerivateShapeFunctionList ()
 Second derivative of the shape functions.
 
static double ShapeFunction (LocalNodeNS::index_type local_node_index, const LocalCoords &local_coords)
 Shape function call.
 
static double FirstDerivateShapeFunction (LocalNodeNS::index_type local_node_index, Advanced::ComponentNS::index_type component, const LocalCoords &local_coords)
 First derivate of the shape function call.
 

Detailed Description

Define Hexahedron8 shape functions and its derivative.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Convenient enum which encompass magic numbers for the type of geometric element implemented.

Member Function Documentation

◆ FirstDerivateShapeFunctionList()

static const std::array< ShapeFunctionType, Nphi_ *Nderivate_component_ > & MoReFEM::RefGeomEltNS::ShapeFunctionNS::Hexahedron8::FirstDerivateShapeFunctionList ( )
static

First derivative of the shape functions.

Ordering:

  • d(phi[0], r), d(phi[0], s)
  • d(phi[1], r), d(phi[1], s) etc...
Returns
The derivatives as an array of functions (ordering defined just above)

◆ SecondDerivateShapeFunctionList()

static const std::array< ShapeFunctionType, Nphi_ *Nderivate_component_ *Nderivate_component_ > & MoReFEM::RefGeomEltNS::ShapeFunctionNS::Hexahedron8::SecondDerivateShapeFunctionList ( )
static

Second derivative of the shape functions.

Ordering:

  • d2(phi[0], r, r), d2(phi[0], r, s)
  • d2(phi[0], s, r), d2(phi[0], s, s)
  • d2(phi[1], r, r), d2(phi[1], r, s) etc...
Returns
The derivatives as an array of functions (ordering defined just above)

◆ ShapeFunction()

static double MoReFEM::RefGeomEltNS::ShapeFunctionNS::Crtp::AccessShapeFunction< Hexahedron8 >::ShapeFunction ( LocalNodeNS::index_type local_node_index,
const LocalCoords & local_coords )
staticinherited

Shape function call.

Parameters
[in]local_node_indexIndex of the local node considered.
[in]local_coordsLocal coordinates at which the shape function is applied.
Returns
Shape function value at the local node considered.

◆ FirstDerivateShapeFunction()

static double MoReFEM::RefGeomEltNS::ShapeFunctionNS::Crtp::AccessShapeFunction< Hexahedron8 >::FirstDerivateShapeFunction ( LocalNodeNS::index_type local_node_index,
Advanced::ComponentNS::index_type component,
const LocalCoords & local_coords )
staticinherited

First derivate of the shape function call.

Parameters
[in]local_node_indexIndex of the local node considered.
[in]local_coordsLocal coordinates at which the shape function is applied.
[in]componentComponent of the derivate considered.
Returns
Derivate of the shape function wrt to component at the local node considered.

The documentation for this struct was generated from the following file: