|
libMesh
|
This class handles the computation of the shape functions in the physical domain for HDiv conforming elements. More...
#include <hdiv_fe_transformation.h>
Public Member Functions | |
| HDivFETransformation () | |
| virtual | ~HDivFETransformation ()=default |
| virtual void | init_map_phi (const FEGenericBase< OutputShape > &fe) const override |
| Pre-requests any necessary data from FEMap. | |
| virtual void | init_map_dphi (const FEGenericBase< OutputShape > &fe) const override |
| Pre-requests any necessary data from FEMap. | |
| virtual void | init_map_d2phi (const FEGenericBase< OutputShape > &fe) const override |
| Pre-requests any necessary data from FEMap. | |
| virtual void | map_phi (const unsigned int dim, const Elem *const elem, const std::vector< Point > &qp, const FEGenericBase< OutputShape > &fe, std::vector< std::vector< OutputShape > > &phi, bool add_p_level=true) const override |
| Evaluates shape functions in physical coordinates for \( H(div)
\) conforming elements. | |
| virtual void | map_dphi (const unsigned int dim, const Elem *const elem, const std::vector< Point > &qp, const FEGenericBase< OutputShape > &fe, std::vector< std::vector< typename FEGenericBase< OutputShape >::OutputGradient > > &dphi, std::vector< std::vector< OutputShape > > &dphidx, std::vector< std::vector< OutputShape > > &dphidy, std::vector< std::vector< OutputShape > > &dphidz) const override |
| Evaluates shape function gradients in physical coordinates for \( H(div) \) conforming elements, via the contravariant Piola map's derivative (the gradient of \( \phi = J^{-1} (dx/d\xi)
\hat{\phi} \) with respect to physical coordinates). | |
| virtual void | map_d2phi (const unsigned int, const std::vector< Point > &, const FEGenericBase< OutputShape > &, std::vector< std::vector< typename FEGenericBase< OutputShape >::OutputTensor > > &, std::vector< std::vector< OutputShape > > &, std::vector< std::vector< OutputShape > > &, std::vector< std::vector< OutputShape > > &, std::vector< std::vector< OutputShape > > &, std::vector< std::vector< OutputShape > > &, std::vector< std::vector< OutputShape > > &) const override |
| Evaluates shape function Hessians in physical coordinates based on \( H(div) \) conforming finite element transformation. | |
| virtual void | map_curl (const unsigned int, const Elem *const, const std::vector< Point > &, const FEGenericBase< OutputShape > &, std::vector< std::vector< OutputShape > > &) const override |
| Evaluates the shape function curl in physical coordinates based on \( H(div) \) conforming finite element transformation. | |
| virtual void | map_div (const unsigned int dim, const Elem *const elem, const std::vector< Point > &qp, const FEGenericBase< OutputShape > &fe, std::vector< std::vector< typename FEGenericBase< OutputShape >::OutputDivergence > > &div_phi) const override |
| Evaluates the shape function divergence in physical coordinates based on \( H(div) \) conforming finite element transformation. | |
| void | init_map_phi (const FEGenericBase< Real > &) const |
| void | init_map_dphi (const FEGenericBase< Real > &) const |
| void | init_map_d2phi (const FEGenericBase< Real > &) const |
| void | map_phi (const unsigned int, const Elem *const, const std::vector< Point > &, const FEGenericBase< Real > &, std::vector< std::vector< Real > > &, bool) const |
| void | map_dphi (const unsigned int, const Elem *const, const std::vector< Point > &, const FEGenericBase< Real > &, std::vector< std::vector< FEGenericBase< Real >::OutputGradient > > &, std::vector< std::vector< Real > > &, std::vector< std::vector< Real > > &, std::vector< std::vector< Real > > &) const |
| void | map_div (const unsigned int, const Elem *const, const std::vector< Point > &, const FEGenericBase< Real > &, std::vector< std::vector< Real > > &) const |
Static Public Member Functions | |
| static std::unique_ptr< FETransformationBase< OutputShape > > | build (const FEType &type) |
| Builds an FETransformation object based on the finite element type. | |
This class handles the computation of the shape functions in the physical domain for HDiv conforming elements.
This class assumes the FEGenericBase object has been initialized in the reference domain (i.e. init_shape_functions has been called).
Definition at line 36 of file hdiv_fe_transformation.h.
|
inline |
Definition at line 40 of file hdiv_fe_transformation.h.
|
virtualdefault |
|
staticinherited |
Builds an FETransformation object based on the finite element type.
Definition at line 32 of file fe_transformation_base.C.
References libMesh::BERNSTEIN, libMesh::CLOUGH, libMesh::Utility::enum_to_string(), libMesh::FEType::family, libMesh::HERMITE, libMesh::HIERARCHIC, libMesh::HIERARCHIC_VEC, libMesh::JACOBI_20_00, libMesh::JACOBI_30_00, libMesh::L2_HIERARCHIC, libMesh::L2_HIERARCHIC_VEC, libMesh::L2_LAGRANGE, libMesh::L2_LAGRANGE_GLL, libMesh::L2_LAGRANGE_VEC, libMesh::L2_RAVIART_THOMAS, libMesh::LAGRANGE, libMesh::LAGRANGE_VEC, libMesh::MONOMIAL, libMesh::MONOMIAL_VEC, libMesh::NEDELEC_ONE, libMesh::RATIONAL_BERNSTEIN, libMesh::RAVIART_THOMAS, libMesh::SCALAR, libMesh::SIDE_HIERARCHIC, libMesh::SUBDIVISION, libMesh::SZABAB, and libMesh::XYZ.
|
overridevirtual |
Pre-requests any necessary data from FEMap.
Implements libMesh::FETransformationBase< OutputShape >.
Definition at line 87 of file hdiv_fe_transformation.C.
| void libMesh::HDivFETransformation< Real >::init_map_d2phi | ( | const FEGenericBase< Real > & | ) | const |
Definition at line 469 of file hdiv_fe_transformation.C.
|
overridevirtual |
Pre-requests any necessary data from FEMap.
Implements libMesh::FETransformationBase< OutputShape >.
Definition at line 69 of file hdiv_fe_transformation.C.
References libMesh::FEMap::get_d2xyzdxi2(), libMesh::FEMap::get_dxyzdxi(), and libMesh::FEAbstract::get_fe_map().
| void libMesh::HDivFETransformation< Real >::init_map_dphi | ( | const FEGenericBase< Real > & | ) | const |
Definition at line 463 of file hdiv_fe_transformation.C.
|
overridevirtual |
Pre-requests any necessary data from FEMap.
Implements libMesh::FETransformationBase< OutputShape >.
Definition at line 56 of file hdiv_fe_transformation.C.
References libMesh::FEMap::get_dxyzdxi(), and libMesh::FEAbstract::get_fe_map().
| void libMesh::HDivFETransformation< Real >::init_map_phi | ( | const FEGenericBase< Real > & | ) | const |
Definition at line 457 of file hdiv_fe_transformation.C.
|
inlineoverridevirtual |
Evaluates the shape function curl in physical coordinates based on \( H(div) \) conforming finite element transformation.
Implements libMesh::FETransformationBase< OutputShape >.
Definition at line 117 of file hdiv_fe_transformation.h.
|
inlineoverridevirtual |
Evaluates shape function Hessians in physical coordinates based on \( H(div) \) conforming finite element transformation.
Implements libMesh::FETransformationBase< OutputShape >.
Definition at line 98 of file hdiv_fe_transformation.h.
|
overridevirtual |
Evaluates the shape function divergence in physical coordinates based on \( H(div) \) conforming finite element transformation.
The transformation is \( \nabla \cdot \phi = J^{-1} \nabla \cdot \hat{\phi} \) where \( J = \det( dx/d\xi ) \)
Implements libMesh::FETransformationBase< OutputShape >.
Definition at line 403 of file hdiv_fe_transformation.C.
References dim, libMesh::FEGenericBase< OutputType >::get_dphideta(), libMesh::FEGenericBase< OutputType >::get_dphidxi(), libMesh::FEGenericBase< OutputType >::get_dphidzeta(), libMesh::FEAbstract::get_fe_map(), libMesh::FEMap::get_jacobian(), and libMesh::index_range().
| void libMesh::HDivFETransformation< Real >::map_div | ( | const unsigned int | , |
| const Elem * const | , | ||
| const std::vector< Point > & | , | ||
| const FEGenericBase< Real > & | , | ||
| std::vector< std::vector< Real > > & | |||
| ) | const |
Definition at line 499 of file hdiv_fe_transformation.C.
|
overridevirtual |
Evaluates shape function gradients in physical coordinates for \( H(div) \) conforming elements, via the contravariant Piola map's derivative (the gradient of \( \phi = J^{-1} (dx/d\xi) \hat{\phi} \) with respect to physical coordinates).
Requires LIBMESH_ENABLE_SECOND_DERIVATIVES, since the map's own second derivatives are needed to differentiate \( J^{-1} \) and \( (dx/d\xi) \).
Implements libMesh::FETransformationBase< OutputShape >.
Definition at line 161 of file hdiv_fe_transformation.C.
References dim, libMesh::FEMap::get_d2xyzdeta2(), libMesh::FEMap::get_d2xyzdetadzeta(), libMesh::FEMap::get_d2xyzdxi2(), libMesh::FEMap::get_d2xyzdxideta(), libMesh::FEMap::get_d2xyzdxidzeta(), libMesh::FEMap::get_d2xyzdzeta2(), libMesh::FEMap::get_detadx(), libMesh::FEMap::get_detady(), libMesh::FEMap::get_detadz(), libMesh::FEGenericBase< OutputType >::get_dphideta(), libMesh::FEGenericBase< OutputType >::get_dphidxi(), libMesh::FEGenericBase< OutputType >::get_dphidzeta(), libMesh::FEMap::get_dxidx(), libMesh::FEMap::get_dxidy(), libMesh::FEMap::get_dxidz(), libMesh::FEMap::get_dxyzdeta(), libMesh::FEMap::get_dxyzdxi(), libMesh::FEMap::get_dxyzdzeta(), libMesh::FEMap::get_dzetadx(), libMesh::FEMap::get_dzetady(), libMesh::FEMap::get_dzetadz(), libMesh::FEAbstract::get_fe_map(), libMesh::FEAbstract::get_fe_type(), libMesh::FEMap::get_jacobian(), libMesh::Elem::has_affine_map(), libMesh::index_range(), libMesh::Real, and libMesh::FEInterface::shape().
| void libMesh::HDivFETransformation< Real >::map_dphi | ( | const unsigned int | , |
| const Elem * const | , | ||
| const std::vector< Point > & | , | ||
| const FEGenericBase< Real > & | , | ||
| std::vector< std::vector< FEGenericBase< Real >::OutputGradient > > & | , | ||
| std::vector< std::vector< Real > > & | , | ||
| std::vector< std::vector< Real > > & | , | ||
| std::vector< std::vector< Real > > & | |||
| ) | const |
Definition at line 486 of file hdiv_fe_transformation.C.
|
overridevirtual |
Evaluates shape functions in physical coordinates for \( H(div) \) conforming elements.
In this case \( \phi = J^{-1} (dx/d\xi) \hat{\phi} \), where \( (dx/d\xi) \) is the Jacobian matrix of the element map and J = \det( dx/d\xi ).
Implements libMesh::FETransformationBase< OutputShape >.
Definition at line 96 of file hdiv_fe_transformation.C.
References dim, libMesh::FEMap::get_dxyzdeta(), libMesh::FEMap::get_dxyzdxi(), libMesh::FEMap::get_dxyzdzeta(), libMesh::FEAbstract::get_fe_map(), libMesh::FEAbstract::get_fe_type(), libMesh::FEMap::get_jacobian(), libMesh::index_range(), and libMesh::FEInterface::shape().
| void libMesh::HDivFETransformation< Real >::map_phi | ( | const unsigned int | , |
| const Elem * const | , | ||
| const std::vector< Point > & | , | ||
| const FEGenericBase< Real > & | , | ||
| std::vector< std::vector< Real > > & | , | ||
| bool | |||
| ) | const |
Definition at line 475 of file hdiv_fe_transformation.C.