Shape function space for trilinear hexahedron, obtained by a pushforward of the canonical linear (affine) functions. More...
#include <ElemUtil.hpp>
Public Member Functions | |
QuadraticHex (const std::vector< CartVect > &vertices) | |
QuadraticHex () | |
virtual | ~QuadraticHex () |
virtual CartVect | evaluate (const CartVect &xi) const |
Evaluate the map on \(x_i\) (calculate \(\vec x = F($\vec \xi)\) ) More... | |
virtual bool | inside_nat_space (const CartVect &xi, double &tol) const |
decide if within the natural param space, with a tolerance More... | |
virtual Matrix3 | jacobian (const CartVect &xi) const |
Evaluate the map's Jacobi matrix. More... | |
virtual double | evaluate_scalar_field (const CartVect &xi, const double *field_vertex_values) const |
Evaluate a scalar field at a point given field values at the vertices. More... | |
virtual double | integrate_scalar_field (const double *field_vertex_values) const |
Integrate a scalar field over the element given field values at the vertices. More... | |
Public Member Functions inherited from moab::Element::Map | |
Map (const std::vector< CartVect > &v) | |
Construct a Map defined by the given std::vector of vertices. More... | |
Map (const unsigned int n) | |
Construct a Map defined by n vertices. More... | |
virtual | ~Map () |
virtual CartVect | ievaluate (const CartVect &x, double tol=1e-6, const CartVect &x0=CartVect(0.0)) const |
Evaluate the inverse map (calculate \(\vec \xi = F^-1($\vec x)\) to given tolerance) More... | |
virtual Matrix3 | ijacobian (const CartVect &xi) const |
Evaluate the inverse of the Jacobi matrix. More... | |
virtual double | det_jacobian (const CartVect &xi) const |
Evaluate the determinate of the Jacobi matrix. More... | |
virtual double | det_ijacobian (const CartVect &xi) const |
Evaluate the determinate of the inverse Jacobi matrix. More... | |
unsigned int | size () |
Size of the vertices vector. More... | |
const std::vector< CartVect > & | get_vertices () |
Retrieve vertices. More... | |
virtual void | set_vertices (const std::vector< CartVect > &v) |
Set vertices. More... | |
virtual bool | inside_box (const CartVect &xi, double &tol) const |
Static Protected Attributes | |
static const int | corner [27][3] |
static const double | gauss [8][2] |
static const unsigned int | corner_count = 27 |
static const unsigned int | gauss_count = 2 |
Additional Inherited Members | |
Protected Attributes inherited from moab::Element::Map | |
std::vector< CartVect > | vertex |
Shape function space for trilinear hexahedron, obtained by a pushforward of the canonical linear (affine) functions.
Definition at line 172 of file ElemUtil.hpp.
|
inline |
Definition at line 175 of file ElemUtil.hpp.
moab::Element::QuadraticHex::QuadraticHex | ( | ) |
Definition at line 804 of file ElemUtil.cpp.
|
virtual |
Definition at line 806 of file ElemUtil.cpp.
Evaluate the map on \(x_i\) (calculate \(\vec x = F($\vec \xi)\) )
Implements moab::Element::Map.
Definition at line 836 of file ElemUtil.cpp.
References corner, and moab::Element::SH().
|
virtual |
Evaluate a scalar field at a point given field values at the vertices.
Implements moab::Element::Map.
Definition at line 874 of file ElemUtil.cpp.
References corner, and moab::Element::SH().
|
virtual |
decide if within the natural param space, with a tolerance
Implements moab::Element::Map.
Definition at line 849 of file ElemUtil.cpp.
Referenced by moab::Coupler::nat_param().
|
virtual |
Integrate a scalar field over the element given field values at the vertices.
Implements moab::Element::Map.
Definition at line 885 of file ElemUtil.cpp.
Evaluate the map's Jacobi matrix.
Implements moab::Element::Map.
Definition at line 855 of file ElemUtil.cpp.
References corner, moab::Element::DSH(), and moab::Element::SH().
|
staticprotected |
Definition at line 189 of file ElemUtil.hpp.
Referenced by evaluate(), evaluate_scalar_field(), and jacobian().
|
staticprotected |
Definition at line 191 of file ElemUtil.hpp.
|
staticprotected |
Definition at line 190 of file ElemUtil.hpp.
|
staticprotected |
Definition at line 192 of file ElemUtil.hpp.