v0.8.15
Classes | Public Member Functions | Public Attributes | List of all members
MoFEM::VolumeElementForcesAndSourcesCore Struct Reference

Volume finite elementUser is implementing own operator at Gauss point level, by class derived from VolumeElementForcesAndSourcesCore::UserDataOperator. Arbitrary number of operator can be added by pushing objects to OpPtrVector. More...

#include <src/finite_elements/VolumeElementForcesAndSourcesCore.hpp>

Inheritance diagram for MoFEM::VolumeElementForcesAndSourcesCore:
[legend]
Collaboration diagram for MoFEM::VolumeElementForcesAndSourcesCore:
[legend]

Classes

struct  UserDataOperator
 default operator for TET element More...
 

Public Member Functions

 VolumeElementForcesAndSourcesCore (Interface &m_field, const EntityType type=MBTET)
 
virtual ~VolumeElementForcesAndSourcesCore ()
 
virtual MoFEMErrorCode setIntegrationPts ()
 Set integration points. More...
 
virtual DEPRECATED MoFEMErrorCode setIntegartionPts ()
 
virtual MoFEMErrorCode calculateVolumeAndJacobian ()
 Calculate element volume and Jacobian. More...
 
virtual MoFEMErrorCode calculateCoordinatesAtGaussPts ()
 Calculate coordinate at integration points. More...
 
virtual MoFEMErrorCode getSpaceBaseAndOrderOnElement ()
 Determine approximation space and order of base functions. More...
 
virtual MoFEMErrorCode transformBaseFunctions ()
 Transform base functions based on geometric element Jacobian. More...
 
virtual MoFEMErrorCode calculateHoJacobian ()
 Calculate Jacobian for HO geometry. More...
 
virtual MoFEMErrorCode transformHoBaseFunctions ()
 Transform base functions based on ho-geometry element Jacobian. More...
 
MoFEMErrorCode operator() ()
 function is run for every finite element More...
 
- Public Member Functions inherited from MoFEM::ForcesAndSourcesCore
 ForcesAndSourcesCore (Interface &m_field)
 
virtual ~ForcesAndSourcesCore ()
 
MoFEMErrorCode getNumberOfNodes (int &num_nodes) const
 
int getMaxDataOrder () const
 Get max order of approximation for data fields. More...
 
int getMaxRowOrder () const
 Get max order of approximation for field in rows. More...
 
int getMaxColOrder () const
 Get max order of approximation for field in columns. More...
 
MoFEMErrorCode getSense (EntityType type, boost::ptr_vector< DataForcesAndSourcesCore::EntData > &data) const
 get sense (orientation) of entity More...
 
MoFEMErrorCode getDataOrder (const EntityType type, const FieldSpace space, boost::ptr_vector< DataForcesAndSourcesCore::EntData > &data) const
 get maximal approximation order of approximation on the entity More...
 
template<EntityType type>
MoFEMErrorCode getEntitySense (DataForcesAndSourcesCore &data) const
 
template<EntityType type>
MoFEMErrorCode getEntityFieldDataOrder (DataForcesAndSourcesCore &data, const FieldSpace space) const
 
MoFEMErrorCode getNodesIndices (const boost::string_ref field_name, FENumeredDofEntity_multiIndex &dofs, VectorInt &nodes_indices, VectorInt &local_nodes_indices) const
 get node indices More...
 
MoFEMErrorCode getRowNodesIndices (DataForcesAndSourcesCore &data, const std::string &field_name) const
 get row node indices from FENumeredDofEntity_multiIndex More...
 
MoFEMErrorCode getColNodesIndices (DataForcesAndSourcesCore &data, const std::string &field_name) const
 get col node indices from FENumeredDofEntity_multiIndex More...
 
MoFEMErrorCode getEntityIndices (DataForcesAndSourcesCore &data, const std::string &field_name, FENumeredDofEntity_multiIndex &dofs, const EntityType type_lo=MBVERTEX, const EntityType type_hi=MBPOLYHEDRON) const
 
MoFEMErrorCode getEntityRowIndices (DataForcesAndSourcesCore &data, const std::string &field_name, const EntityType type_lo=MBVERTEX, const EntityType type_hi=MBPOLYHEDRON) const
 
MoFEMErrorCode getEntityColIndices (DataForcesAndSourcesCore &data, const std::string &field_name, const EntityType type_lo=MBVERTEX, const EntityType type_hi=MBPOLYHEDRON) const
 
MoFEMErrorCode getNoFieldIndices (const std::string &field_name, FENumeredDofEntity_multiIndex &dofs, VectorInt &nodes_indices) const
 get NoField indices More...
 
MoFEMErrorCode getNoFieldRowIndices (DataForcesAndSourcesCore &data, const std::string &field_name) const
 get col NoField indices More...
 
MoFEMErrorCode getNoFieldColIndices (DataForcesAndSourcesCore &data, const std::string &field_name) const
 get col NoField indices More...
 
MoFEMErrorCode getNodesFieldData (const boost::string_ref field_name, FEDofEntity_multiIndex &dofs, VectorDouble &nodes_data, VectorDofs &nodes_dofs, FieldSpace &space, FieldApproximationBase &base) const
 Get field data on nodes. More...
 
MoFEMErrorCode getNoFieldFieldData (const boost::string_ref field_name, FEDofEntity_multiIndex &dofs, VectorDouble &ent_field_data, VectorDofs &ent_field_dofs) const
 
MoFEMErrorCode getNoFieldFieldData (DataForcesAndSourcesCore &data, const boost::string_ref field_name) const
 
MoFEMErrorCode getNodesFieldData (DataForcesAndSourcesCore &data, const std::string &field_name) const
 Get data on nodes. More...
 
MoFEMErrorCode getEntityFieldData (DataForcesAndSourcesCore &data, const std::string &field_name, const EntityType type_lo=MBVERTEX, const EntityType type_hi=MBPOLYHEDRON) const
 
MoFEMErrorCode getFaceTriNodes (DataForcesAndSourcesCore &data) const
 Get nodes on triangles. More...
 
MoFEMErrorCode getSpacesAndBaseOnEntities (DataForcesAndSourcesCore &data) const
 Get field approximation space and base on entities. More...
 
MoFEMErrorCode getProblemNodesIndices (const std::string &field_name, const NumeredDofEntity_multiIndex &dofs, VectorInt &nodes_indices) const
 get indices of nodal indices which are declared for problem but not this particular element More...
 
MoFEMErrorCode getProblemTypeIndices (const std::string &field_name, const NumeredDofEntity_multiIndex &dofs, EntityType type, int side_number, VectorInt &indices) const
 get indices by type (generic function) which are declared for problem but not this particular element More...
 
MoFEMErrorCode getProblemNodesRowIndices (const std::string &field_name, VectorInt &nodes_indices) const
 
MoFEMErrorCode getProblemTypeRowIndices (const std::string &field_name, EntityType type, int side_number, VectorInt &indices) const
 
MoFEMErrorCode getProblemNodesColIndices (const std::string &field_name, VectorInt &nodes_indices) const
 
MoFEMErrorCode getProblemTypeColIndices (const std::string &field_name, EntityType type, int side_number, VectorInt &indices) const
 
virtual int getRule (int order)
 set integration rule for finite element More...
 
virtual int getRule (int order_row, int order_col, int order_data)
 another variant of getRule More...
 
virtual MoFEMErrorCode setGaussPts (int order)
 It will be removed in the future use other variant. More...
 
virtual MoFEMErrorCode setGaussPts (int order_row, int order_col, int order_data)
 set user specific integration rule More...
 
boost::ptr_vector< UserDataOperator > & getOpPtrVector ()
 Use to push back operator for row operator. More...
 
auto & getElementPolynomialBase ()
 Get the Entity Polynomial Base object. More...
 
auto & getUserPolynomialBase ()
 Get the User Polynomial Base object. More...
 
virtual MoFEMErrorCode preProcess ()
 function is run at the beginning of loop More...
 
virtual MoFEMErrorCode postProcess ()
 function is run at the end of loop More...
 
MoFEMErrorCode calculateBaseFunctionsOnElement (const FieldApproximationBase b)
 Calculate base functions. More...
 
MoFEMErrorCode calculateBaseFunctionsOnElement ()
 Calculate base functions. More...
 
MoFEMErrorCode createDataOnElement ()
 Create a entity data on element object. More...
 
MoFEMErrorCode loopOverOperators ()
 Iterate user data operators. More...
 
- Public Member Functions inherited from MoFEM::FEMethod
MoFEMErrorCode query_interface (const MOFEMuuid &uuid, UnknownInterface **iface) const
 
 FEMethod ()
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_begin (const MULTIINDEX &index, const std::string &field_name, const EntityType type, const int side_number) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_end (const MULTIINDEX &index, const std::string &field_name, const EntityType type, const int side_number) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_begin (const MULTIINDEX &index, const std::string &field_name, const EntityType type) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_end (const MULTIINDEX &index, const std::string &field_name, const EntityType type) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_begin (const MULTIINDEX &index, const std::string &field_name) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_end (const MULTIINDEX &index, const std::string &field_name) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_begin (const MULTIINDEX &index, const EntityHandle ent) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_end (const MULTIINDEX &index, const EntityHandle ent) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_begin (const MULTIINDEX &index, const std::string &field_name, const EntityHandle ent) const
 
template<class MULTIINDEX >
MULTIINDEX::iterator get_end (const MULTIINDEX &index, const std::string &field_name, const EntityHandle ent) const
 
- Public Member Functions inherited from MoFEM::BasicMethod
 BasicMethod ()
 
virtual ~BasicMethod ()
 
int getNinTheLoop () const
 get number of evaluated element in the loop More...
 
int getLoopSize () const
 get loop size More...
 
MoFEMErrorCode copyBasicMethod (const BasicMethod &basic)
 
- Public Member Functions inherited from MoFEM::KspMethod
 KspMethod ()
 
virtual ~KspMethod ()
 
MoFEMErrorCode setKspCtx (const KSPContext &ctx)
 set operator type More...
 
MoFEMErrorCode setKsp (KSP ksp)
 set solver More...
 
MoFEMErrorCode copyKsp (const KspMethod &ksp)
 copy data form another method More...
 
- Public Member Functions inherited from MoFEM::UnknownInterface
template<class IFACE >
MoFEMErrorCode registerInterface (const MOFEMuuid &uuid, bool error_if_registration_failed=true)
 Register interface. More...
 
template<class IFACE , bool VERIFY = false>
MoFEMErrorCode getInterface (const MOFEMuuid &uuid, IFACE *&iface) const
 Get interface by uuid and return reference to pointer of interface. More...
 
template<class IFACE >
MoFEMErrorCode getInterface (IFACE *&iface) const
 Get interface refernce to pointer of interface. More...
 
template<class IFACE >
MoFEMErrorCode getInterface (IFACE **const iface) const
 Get interface pointer to pointer of interface. More...
 
template<class IFACE , typename boost::enable_if< boost::is_pointer< IFACE >, int >::type = 0>
IFACE getInterface () const
 Get interface pointer to pointer of interface. More...
 
template<class IFACE , typename boost::enable_if< boost::is_reference< IFACE >, int >::type = 0>
IFACE getInterface () const
 Get reference to interface. More...
 
template<class IFACE >
IFACE * getInterface () const
 Function returning pointer to interface. More...
 
virtual ~UnknownInterface ()
 
virtual MoFEMErrorCode getLibVersion (Version &version) const
 Get library version. More...
 
virtual const MoFEMErrorCode getFileVersion (moab::Interface &moab, Version &version) const
 Get database major version. More...
 
virtual MoFEMErrorCode getInterfaceVersion (Version &version) const
 Get database major version. More...
 
template<>
MoFEMErrorCode getInterface (const MOFEMuuid &uuid, UnknownInterface *&iface) const
 
- Public Member Functions inherited from MoFEM::SnesMethod
 SnesMethod ()
 
virtual ~SnesMethod ()
 
MoFEMErrorCode setSnesCtx (const SNESContext &ctx)
 Set SNES context. More...
 
MoFEMErrorCode setSnes (SNES snes)
 Set SNES instance. More...
 
MoFEMErrorCode copySnes (const SnesMethod &snes)
 Copy snes data. More...
 
- Public Member Functions inherited from MoFEM::TSMethod
 TSMethod ()
 
virtual ~TSMethod ()
 
MoFEMErrorCode setTsCtx (const TSContext &ctx)
 Set Ts context. More...
 
MoFEMErrorCode copyTs (const TSMethod &ts)
 Copy TS solver data. More...
 
MoFEMErrorCode setTs (TS _ts)
 Set TS solver. More...
 

Public Attributes

VectorDouble coords
 
MatrixDouble3by3 jAc
 
MatrixDouble3by3 invJac
 
OpSetInvJacH1 opSetInvJacH1
 
OpSetContravariantPiolaTransform opContravariantPiolaTransform
 
OpSetCovariantPiolaTransform opCovariantPiolaTransform
 
OpSetInvJacHdivAndHcurl opSetInvJacHdivAndHcurl
 
std::string meshPositionsFieldName
 
MatrixDouble hoCoordsAtGaussPts
 
MatrixDouble hoGaussPtsJac
 
MatrixDouble hoGaussPtsInvJac
 
VectorDouble hoGaussPtsDetJac
 
OpGetDataAndGradient< 3, 3 > opHOatGaussPoints
 higher order geometry data at Gauss pts More...
 
OpSetHoInvJacH1 opSetHoInvJacH1
 
OpSetHoContravariantPiolaTransform opHoContravariantTransform
 
OpSetHoCovariantPiolaTransform opHoCovariantTransform
 
OpSetHoInvJacHdivAndHcurl opSetHoInvJacHdivAndHcurl
 
double vOlume
 
int num_nodes
 
const EntityHandleconn
 
FTensor::Tensor2< double *, 3, 3 > tJac
 
FTensor::Tensor2< double *, 3, 3 > tInvJac
 
MatrixDouble coordsAtGaussPts
 
unsigned int nbGaussPts
 Number of integration points. More...
 
- Public Attributes inherited from MoFEM::ForcesAndSourcesCore
InterfacemField
 
const boost::shared_ptr< DataForcesAndSourcesCoredataOnElement [LASTSPACE]
 Entity data on element entity rows fields. More...
 
const boost::shared_ptr< DataForcesAndSourcesCorederivedDataOnElement [LASTSPACE]
 Entity data on element entity columns fields. More...
 
DataForcesAndSourcesCoredataNoField
 
DataForcesAndSourcesCoredataH1
 
DataForcesAndSourcesCoredataHcurl
 
DataForcesAndSourcesCoredataHdiv
 
DataForcesAndSourcesCoredataL2
 
RuleHookFun getRuleHook
 Hook to get rule. More...
 
boost::ptr_vector< UserDataOperatoropPtrVector
 Vector of finite element users data operators. More...
 
MatrixDouble gaussPts
 Matrix of integration points. More...
 
- Public Attributes inherited from MoFEM::FEMethod
std::string feName
 
boost::shared_ptr< const NumeredEntFiniteElementnumeredEntFiniteElementPtr
 
boost::shared_ptr< const FENumeredDofEntity_multiIndexrowPtr
 
boost::shared_ptr< const FENumeredDofEntity_multiIndexcolPtr
 
boost::shared_ptr< const FEDofEntity_multiIndexdataPtr
 
- Public Attributes inherited from MoFEM::BasicMethod
int nInTheLoop
 
int loopSize
 
int rAnk
 
int sIze
 
const RefEntity_multiIndexrefinedEntitiesPtr
 
const RefElement_multiIndexrefinedFiniteElementsPtr
 
const ProblemproblemPtr
 
const Field_multiIndexfieldsPtr
 
const FieldEntity_multiIndexentitiesPtr
 
const DofEntity_multiIndexdofsPtr
 
const FiniteElement_multiIndexfiniteElementsPtr
 
const EntFiniteElement_multiIndexfiniteElementsEntitiesPtr
 
const FieldEntityEntFiniteElementAdjacencyMap_multiIndexadjacenciesPtr
 
boost::function< MoFEMErrorCode()> preProcessHook
 
boost::function< MoFEMErrorCode()> postProcessHook
 
boost::function< MoFEMErrorCode()> operatorHook
 
- Public Attributes inherited from MoFEM::KspMethod
KSPContext ksp_ctx
 Context. More...
 
KSP ksp
 KSP solver. More...
 
Vec ksp_f
 the right hand side vector More...
 
Mat ksp_A
 matrix More...
 
Mat ksp_B
 preconditioner matrix More...
 
- Public Attributes inherited from MoFEM::SnesMethod
SNESContext snes_ctx
 
SNES snes
 
Vec snes_x
 
Vec snes_f
 
Mat snes_A
 
Mat snes_B
 
- Public Attributes inherited from MoFEM::TSMethod
TSContext ts_ctx
 
TS ts
 
Vec ts_u
 
Vec ts_u_t
 
Vec ts_F
 
Mat ts_A
 
Mat ts_B
 
PetscInt ts_step
 
PetscReal ts_a
 
PetscReal ts_t
 

Additional Inherited Members

- Public Types inherited from MoFEM::ForcesAndSourcesCore
typedef boost::function< int(int order_row, int order_col, int order_data)> RuleHookFun
 
- Public Types inherited from MoFEM::KspMethod
enum  KSPContext { CTX_SETFUNCTION, CTX_OPERATORS, CTX_KSPNONE }
 pass information about context of KSP/DM for with finite element is computed More...
 
- Public Types inherited from MoFEM::SnesMethod
enum  SNESContext { CTX_SNESSETFUNCTION, CTX_SNESSETJACOBIAN, CTX_SNESNONE }
 
- Public Types inherited from MoFEM::TSMethod
enum  TSContext {
  CTX_TSSETRHSFUNCTION, CTX_TSSETRHSJACOBIAN, CTX_TSSETIFUNCTION, CTX_TSSETIJACOBIAN,
  CTX_TSTSMONITORSET, CTX_TSNONE
}
 
- Protected Member Functions inherited from MoFEM::UnknownInterface
boost::typeindex::type_index getClassIdx (const MOFEMuuid &uid) const
 Get type name for interface Id. More...
 
MOFEMuuid getUId (const boost::typeindex::type_index &class_idx) const
 Get interface Id for class name. More...
 

Detailed Description

Volume finite element

User is implementing own operator at Gauss point level, by class derived from VolumeElementForcesAndSourcesCore::UserDataOperator. Arbitrary number of operator can be added by pushing objects to OpPtrVector.

Examples:
elasticity.cpp, forces_and_sources_testing_users_base.cpp, hello_world.cpp, HookeElement.cpp, MagneticElement.hpp, mesh_smoothing.cpp, Remodeling.hpp, simple_elasticity.cpp, simple_interface.cpp, SmallStrainPlasticity.hpp, and testing_jacobian_of_hook_element.cpp.

Definition at line 38 of file VolumeElementForcesAndSourcesCore.hpp.

Constructor & Destructor Documentation

◆ VolumeElementForcesAndSourcesCore()

VolumeElementForcesAndSourcesCore::VolumeElementForcesAndSourcesCore ( Interface m_field,
const EntityType  type = MBTET 
)
Examples:
SmallStrainPlasticity.hpp.

Definition at line 79 of file VolumeElementForcesAndSourcesCore.cpp.

81  : ForcesAndSourcesCore(m_field), coords(12), jAc(3, 3), invJac(3, 3),
84  meshPositionsFieldName("MESH_NODE_POSITIONS"),
90  tJac(&jAc(0, 0), &jAc(0, 1), &jAc(0, 2), &jAc(1, 0), &jAc(1, 1),
91  &jAc(1, 2), &jAc(2, 0), &jAc(2, 1), &jAc(2, 2)),
92  tInvJac(&invJac(0, 0), &invJac(0, 1), &invJac(0, 2), &invJac(1, 0),
93  &invJac(1, 1), &invJac(1, 2), &invJac(2, 0), &invJac(2, 1),
94  &invJac(2, 2)) {
96  boost::shared_ptr<BaseFunction>(new TetPolynomialBase());
97 }
ForcesAndSourcesCore(Interface &m_field)
OpGetDataAndGradient< 3, 3 > opHOatGaussPoints
higher order geometry data at Gauss pts
OpSetHoContravariantPiolaTransform opHoContravariantTransform
OpSetContravariantPiolaTransform opContravariantPiolaTransform
auto & getElementPolynomialBase()
Get the Entity Polynomial Base object.

◆ ~VolumeElementForcesAndSourcesCore()

virtual MoFEM::VolumeElementForcesAndSourcesCore::~VolumeElementForcesAndSourcesCore ( )
virtual

Definition at line 64 of file VolumeElementForcesAndSourcesCore.hpp.

64 {}

Member Function Documentation

◆ calculateCoordinatesAtGaussPts()

MoFEMErrorCode VolumeElementForcesAndSourcesCore::calculateCoordinatesAtGaussPts ( )
virtual

Calculate coordinate at integration points.

Returns
Error code

Definition at line 176 of file VolumeElementForcesAndSourcesCore.cpp.

176  {
178  // Get coords at Gauss points
180 
181  double *shape_functions_ptr =
182  &*dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).data().begin();
183  coordsAtGaussPts.resize(nbGaussPts, 3, false);
184  coordsAtGaussPts.clear();
185  FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3> t_coords_at_gauss_ptr(
186  &coordsAtGaussPts(0, 0), &coordsAtGaussPts(0, 1),
187  &coordsAtGaussPts(0, 2));
189  shape_functions_ptr);
190  for (unsigned int gg = 0; gg < nbGaussPts; gg++) {
192  &coords[0], &coords[1], &coords[2]);
193  for (int bb = 0; bb < 4; bb++) {
194  t_coords_at_gauss_ptr(i) += t_coords(i) * t_shape_functions;
195  ++t_coords;
196  ++t_shape_functions;
197  };
198  ++t_coords_at_gauss_ptr;
199  }
201 }
DataForcesAndSourcesCore & dataH1
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]
unsigned int nbGaussPts
Number of integration points.
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403

◆ calculateHoJacobian()

MoFEMErrorCode VolumeElementForcesAndSourcesCore::calculateHoJacobian ( )
virtual

Calculate Jacobian for HO geometry.

MoFEM use hierarchical approximate base to describe geometry of the body. This function transform derivatives of base functions when HO geometry is set and calculate Jacobian, inverse of Jacobian and determinant of transformation.

Definition at line 274 of file VolumeElementForcesAndSourcesCore.cpp.

274  {
276  if (dataPtr->get<FieldName_mi_tag>().find(meshPositionsFieldName) !=
277  dataPtr->get<FieldName_mi_tag>().end()) {
278  const Field *field_struture =
280  BitFieldId id = field_struture->getId();
281  if ((numeredEntFiniteElementPtr->getBitFieldIdData() & id).none()) {
282  SETERRQ(mField.get_comm(), MOFEM_NOT_FOUND,
283  "no MESH_NODE_POSITIONS in element data");
284  }
285 
287  if (dataH1.dataOnEntities[MBVERTEX][0].getFieldData().size() != 12) {
288  SETERRQ(mField.get_comm(), MOFEM_NOT_FOUND,
289  "no MESH_NODE_POSITIONS in element data or field has wrong "
290  "number of coefficients");
291  }
294  hoGaussPtsInvJac.resize(hoGaussPtsJac.size1(), hoGaussPtsJac.size2(),
295  false);
296  // Express Jacobian as tensor
298  &hoGaussPtsJac(0, 0), &hoGaussPtsJac(0, 1), &hoGaussPtsJac(0, 2),
299  &hoGaussPtsJac(0, 3), &hoGaussPtsJac(0, 4), &hoGaussPtsJac(0, 5),
300  &hoGaussPtsJac(0, 6), &hoGaussPtsJac(0, 7), &hoGaussPtsJac(0, 8));
302  &hoGaussPtsInvJac(0, 0), &hoGaussPtsInvJac(0, 1),
303  &hoGaussPtsInvJac(0, 2), &hoGaussPtsInvJac(0, 3),
304  &hoGaussPtsInvJac(0, 4), &hoGaussPtsInvJac(0, 5),
305  &hoGaussPtsInvJac(0, 6), &hoGaussPtsInvJac(0, 7),
306  &hoGaussPtsInvJac(0, 8));
307  hoGaussPtsDetJac.resize(nbGaussPts, false);
309  // Calculate inverse and determinant
310  for (unsigned int gg = 0; gg != nbGaussPts; gg++) {
311  CHKERR determinantTensor3by3(jac, det);
312  // if(det<0) {
313  // SETERRQ(mField.get_comm(),MOFEM_DATA_INCONSISTENCY,"Negative
314  // volume");
315  // }
316  CHKERR invertTensor3by3(jac, det, inv_jac);
317  ++jac;
318  ++inv_jac;
319  ++det;
320  }
321  } else {
322  hoCoordsAtGaussPts.resize(0, 0, false);
323  hoGaussPtsInvJac.resize(0, 0, false);
324  hoGaussPtsDetJac.resize(0, false);
325  }
327 }
MoFEMErrorCode invertTensor3by3(ublas::matrix< T, L, A > &jac_data, ublas::vector< T, A > &det_data, ublas::matrix< T, L, A > &inv_jac_data)
Calculate inverse of tensor rank 2 at integration points.
OpGetDataAndGradient< 3, 3 > opHOatGaussPoints
higher order geometry data at Gauss pts
DataForcesAndSourcesCore & dataH1
MoFEMErrorCode determinantTensor3by3(T1 &t, T2 &det)
Calculate determinant.
MoFEMErrorCode getNodesFieldData(const boost::string_ref field_name, FEDofEntity_multiIndex &dofs, VectorDouble &nodes_data, VectorDofs &nodes_dofs, FieldSpace &space, FieldApproximationBase &base) const
Get field data on nodes.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
std::bitset< BITFIELDID_SIZE > BitFieldId
Definition: Common.hpp:149
boost::shared_ptr< const FEDofEntity_multiIndex > dataPtr
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]
boost::shared_ptr< const NumeredEntFiniteElement > numeredEntFiniteElementPtr
unsigned int nbGaussPts
Number of integration points.
#define CHKERR
Inline error check.
Definition: definitions.h:578
virtual MoFEMErrorCode opRhs(DataForcesAndSourcesCore &data, const bool do_vertices, const bool do_edges, const bool do_quads, const bool do_tris, const bool do_tets, const bool do_prisms, const bool error_if_no_base=true)
MoFEMErrorCode getEntityFieldData(DataForcesAndSourcesCore &data, const std::string &field_name, const EntityType type_lo=MBVERTEX, const EntityType type_hi=MBPOLYHEDRON) const
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403
virtual MPI_Comm & get_comm() const =0
virtual const Field * get_field_structure(const std::string &name)=0
get field structure

◆ calculateVolumeAndJacobian()

MoFEMErrorCode VolumeElementForcesAndSourcesCore::calculateVolumeAndJacobian ( )
virtual

Calculate element volume and Jacobian.

Note that at that point is assumed that geometry is exclusively defined by corner nodes.

Returns
Error code

Definition at line 150 of file VolumeElementForcesAndSourcesCore.cpp.

150  {
153  CHKERR mField.get_moab().get_connectivity(ent, conn, num_nodes, true);
154  CHKERR mField.get_moab().get_coords(conn, num_nodes, &*coords.data().begin());
155  double diff_n[12];
156  CHKERR ShapeDiffMBTET(diff_n);
158  &diff_n[0], &diff_n[1], &diff_n[2]);
160  &coords[0], &coords[1], &coords[2]);
163  jAc.clear();
164  for (int nn = 0; nn != 4; nn++) {
165  tJac(i, j) += t_coords(i) * t_diff_n(j);
166  ++t_coords;
167  ++t_diff_n;
168  }
171  vOlume *= G_TET_W1[0] / 6.;
173 }
MoFEMErrorCode invertTensor3by3(ublas::matrix< T, L, A > &jac_data, ublas::vector< T, A > &det_data, ublas::matrix< T, L, A > &inv_jac_data)
Calculate inverse of tensor rank 2 at integration points.
virtual moab::Interface & get_moab()=0
MoFEMErrorCode determinantTensor3by3(T1 &t, T2 &det)
Calculate determinant.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
boost::shared_ptr< const NumeredEntFiniteElement > numeredEntFiniteElementPtr
PetscErrorCode ShapeDiffMBTET(double *diffN)
calculate derivatives of shape functions
Definition: fem_tools.c:303
static const double G_TET_W1[]
Definition: fem_tools.h:495
#define CHKERR
Inline error check.
Definition: definitions.h:578
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403

◆ getSpaceBaseAndOrderOnElement()

MoFEMErrorCode VolumeElementForcesAndSourcesCore::getSpaceBaseAndOrderOnElement ( )
virtual

Determine approximation space and order of base functions.

Returns
Error code

Definition at line 204 of file VolumeElementForcesAndSourcesCore.cpp.

204  {
206 
209  // H1
210  if ((dataH1.spacesOnEntities[MBEDGE]).test(H1)) {
211  CHKERR getEntitySense<MBEDGE>(dataH1);
212  CHKERR getEntityFieldDataOrder<MBEDGE>(dataH1, H1);
213  }
214  if ((dataH1.spacesOnEntities[MBTRI]).test(H1)) {
215  CHKERR getEntitySense<MBTRI>(dataH1);
216  CHKERR getEntityFieldDataOrder<MBTRI>(dataH1, H1);
217  }
218  if ((dataH1.spacesOnEntities[MBTET]).test(H1)) {
219  CHKERR getEntityFieldDataOrder<MBTET>(dataH1, H1);
220  }
221  // Hcurl
222  if ((dataH1.spacesOnEntities[MBEDGE]).test(HCURL)) {
223  CHKERR getEntitySense<MBEDGE>(dataHcurl);
224  CHKERR getEntityFieldDataOrder<MBEDGE>(dataHcurl, HCURL);
225  dataHcurl.spacesOnEntities[MBEDGE].set(HCURL);
226  }
227  if ((dataH1.spacesOnEntities[MBTRI]).test(HCURL)) {
228  CHKERR getEntitySense<MBTRI>(dataHcurl);
230  CHKERR getEntityFieldDataOrder<MBTRI>(dataHcurl, HCURL);
231  dataHcurl.spacesOnEntities[MBTRI].set(HCURL);
232  }
233  if ((dataH1.spacesOnEntities[MBTET]).test(HCURL)) {
234  CHKERR getEntityFieldDataOrder<MBTET>(dataHcurl, HCURL);
235  dataHcurl.spacesOnEntities[MBTET].set(HCURL);
236  }
237  // Hdiv
238  if ((dataH1.spacesOnEntities[MBTRI]).test(HDIV)) {
239  CHKERR getEntitySense<MBTRI>(dataHdiv);
241  CHKERR getEntityFieldDataOrder<MBTRI>(dataHdiv, HDIV);
242  dataHdiv.spacesOnEntities[MBTRI].set(HDIV);
243  }
244  if ((dataH1.spacesOnEntities[MBTET]).test(HDIV)) {
245  CHKERR getEntityFieldDataOrder<MBTET>(dataHdiv, HDIV);
246  dataHdiv.spacesOnEntities[MBTET].set(HDIV);
247  }
248  // L2
249  if ((dataH1.spacesOnEntities[MBTET]).test(L2)) {
250  CHKERR getEntityFieldDataOrder<MBTET>(dataL2, L2);
251  dataL2.spacesOnEntities[MBTET].set(L2);
252  }
254 }
DataForcesAndSourcesCore & dataL2
std::bitset< LASTSPACE > spacesOnEntities[MBMAXTYPE]
spaces on entity types
field with continuous normal traction
Definition: definitions.h:170
DataForcesAndSourcesCore & dataH1
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
MoFEMErrorCode getFaceTriNodes(DataForcesAndSourcesCore &data) const
Get nodes on triangles.
DataForcesAndSourcesCore & dataHcurl
field with continuous tangents
Definition: definitions.h:169
#define CHKERR
Inline error check.
Definition: definitions.h:578
DataForcesAndSourcesCore & dataHdiv
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403
continuous field
Definition: definitions.h:168
MoFEMErrorCode getSpacesAndBaseOnEntities(DataForcesAndSourcesCore &data) const
Get field approximation space and base on entities.
field with C-1 continuity
Definition: definitions.h:171

◆ operator()()

MoFEMErrorCode VolumeElementForcesAndSourcesCore::operator() ( )
virtual

function is run for every finite element

It is used to calculate element local matrices and assembly. It can be used for post-processing.

Reimplemented from MoFEM::ForcesAndSourcesCore.

Definition at line 351 of file VolumeElementForcesAndSourcesCore.cpp.

351  {
353 
354  if (numeredEntFiniteElementPtr->getEntType() != MBTET)
357 
361  if (nbGaussPts == 0)
366 
367  try {
368  MatrixDouble new_diff_n;
369  for (int b = AINSWORTH_LEGENDRE_BASE; b != LASTBASE; b++) {
371  FieldApproximationBase base = static_cast<FieldApproximationBase>(b);
373  dataH1.dataOnEntities[MBVERTEX][0];
374  if ((data.getDiffN(base).size1() == 4) &&
375  (data.getDiffN(base).size2() == 3)) {
376  const unsigned int nb_base_functions = 4;
377  new_diff_n.resize(nbGaussPts, 3 * nb_base_functions, false);
378  double *new_diff_n_ptr = &*new_diff_n.data().begin();
380  new_diff_n_ptr, &new_diff_n_ptr[1], &new_diff_n_ptr[2]);
381  double *t_diff_n_ptr = &*data.getDiffN(base).data().begin();
382  for (unsigned int gg = 0; gg != nbGaussPts; gg++) {
384  t_diff_n_ptr, &t_diff_n_ptr[1], &t_diff_n_ptr[2]);
385  for (unsigned int bb = 0; bb != nb_base_functions; bb++) {
386  t_new_diff_n(i) = t_diff_n(i);
387  ++t_new_diff_n;
388  ++t_diff_n;
389  }
390  }
391  data.getDiffN(base).resize(new_diff_n.size1(), new_diff_n.size2(),
392  false);
393  data.getDiffN(base).data().swap(new_diff_n.data());
394  }
395  }
396  }
397  CATCH_ERRORS;
398 
401 
402  // Iterate over operators
404 
406 }
MoFEMErrorCode calculateBaseFunctionsOnElement()
Calculate base functions.
virtual MoFEMErrorCode transformHoBaseFunctions()
Transform base functions based on ho-geometry element Jacobian.
MoFEMErrorCode createDataOnElement()
Create a entity data on element object.
DataForcesAndSourcesCore & dataH1
virtual MoFEMErrorCode getSpaceBaseAndOrderOnElement()
Determine approximation space and order of base functions.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:490
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]
MoFEMErrorCode loopOverOperators()
Iterate user data operators.
boost::shared_ptr< const NumeredEntFiniteElement > numeredEntFiniteElementPtr
unsigned int nbGaussPts
Number of integration points.
FieldApproximationBase
approximation base
Definition: definitions.h:140
ublas::matrix< double, ublas::row_major, DoubleAllocator > MatrixDouble
Definition: Common.hpp:212
Ainsworth Cole (Legendre) approx. base .
Definition: definitions.h:142
virtual MoFEMErrorCode setIntegrationPts()
Set integration points.
virtual MoFEMErrorCode transformBaseFunctions()
Transform base functions based on geometric element Jacobian.
DataForcesAndSourcesCore::EntData EntData
#define CHKERR
Inline error check.
Definition: definitions.h:578
virtual MoFEMErrorCode calculateCoordinatesAtGaussPts()
Calculate coordinate at integration points.
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403
#define CATCH_ERRORS
Catch errors.
Definition: definitions.h:429
virtual MoFEMErrorCode calculateHoJacobian()
Calculate Jacobian for HO geometry.
virtual MoFEMErrorCode calculateVolumeAndJacobian()
Calculate element volume and Jacobian.

◆ setIntegartionPts()

virtual DEPRECATED MoFEMErrorCode MoFEM::VolumeElementForcesAndSourcesCore::setIntegartionPts ( )
virtual
Deprecated:
function with spelling mistake, use setIntegrationPts

Definition at line 322 of file VolumeElementForcesAndSourcesCore.hpp.

322  {
323  return setIntegrationPts();
324  }
virtual MoFEMErrorCode setIntegrationPts()
Set integration points.

◆ setIntegrationPts()

MoFEMErrorCode VolumeElementForcesAndSourcesCore::setIntegrationPts ( )
virtual

Set integration points.

Returns
Error code

Definition at line 99 of file VolumeElementForcesAndSourcesCore.cpp.

99  {
101  int order_data = getMaxDataOrder();
102  int order_row = getMaxRowOrder();
103  int order_col = getMaxColOrder();
104  int rule = getRule(order_row, order_col, order_data);
105 
106  // rule << std::endl;
107  if (rule >= 0) {
108  if (rule < QUAD_3D_TABLE_SIZE) {
109  if (QUAD_3D_TABLE[rule]->dim != 3) {
110  SETERRQ(mField.get_comm(), MOFEM_DATA_INCONSISTENCY, "wrong dimension");
111  }
112  if (QUAD_3D_TABLE[rule]->order < rule) {
114  "wrong order %d != %d", QUAD_3D_TABLE[rule]->order, rule);
115  }
117  gaussPts.resize(4, nbGaussPts, false);
118  cblas_dcopy(nbGaussPts, &QUAD_3D_TABLE[rule]->points[1], 4,
119  &gaussPts(0, 0), 1);
120  cblas_dcopy(nbGaussPts, &QUAD_3D_TABLE[rule]->points[2], 4,
121  &gaussPts(1, 0), 1);
122  cblas_dcopy(nbGaussPts, &QUAD_3D_TABLE[rule]->points[3], 4,
123  &gaussPts(2, 0), 1);
124  cblas_dcopy(nbGaussPts, QUAD_3D_TABLE[rule]->weights, 1, &gaussPts(3, 0),
125  1);
126  dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).resize(nbGaussPts, 4,
127  false);
128  double *shape_ptr =
129  &*dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).data().begin();
130  cblas_dcopy(4 * nbGaussPts, QUAD_3D_TABLE[rule]->points, 1, shape_ptr, 1);
131  } else {
133  "rule > quadrature order %d < %d", rule, QUAD_3D_TABLE_SIZE);
134  nbGaussPts = 0;
135  }
136  } else {
137  CHKERR setGaussPts(order_row, order_col, order_data);
138  nbGaussPts = gaussPts.size2();
139  dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).resize(nbGaussPts, 4,
140  false);
141  if (nbGaussPts > 0) {
143  &*dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).data().begin(),
144  &gaussPts(0, 0), &gaussPts(1, 0), &gaussPts(2, 0), nbGaussPts);
145  }
146  }
148 }
int getMaxRowOrder() const
Get max order of approximation for field in rows.
#define QUAD_3D_TABLE_SIZE
Definition: quad.h:186
MatrixDouble gaussPts
Matrix of integration points.
PetscErrorCode ShapeMBTET(double *N, const double *G_X, const double *G_Y, const double *G_Z, int DIM)
calculate shape functions
Definition: fem_tools.c:291
DataForcesAndSourcesCore & dataH1
int npoints
Definition: quad.h:29
void cblas_dcopy(const int N, const double *X, const int incX, double *Y, const int incY)
Definition: cblas_dcopy.c:11
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]
virtual MoFEMErrorCode setGaussPts(int order)
It will be removed in the future use other variant.
unsigned int nbGaussPts
Number of integration points.
#define CHKERR
Inline error check.
Definition: definitions.h:578
int order
Definition: quad.h:28
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403
virtual MPI_Comm & get_comm() const =0
virtual int getRule(int order)
set integration rule for finite element
int getMaxColOrder() const
Get max order of approximation for field in columns.
static QUAD *const QUAD_3D_TABLE[]
Definition: quad.h:187
int getMaxDataOrder() const
Get max order of approximation for data fields.

◆ transformBaseFunctions()

MoFEMErrorCode VolumeElementForcesAndSourcesCore::transformBaseFunctions ( )
virtual

Transform base functions based on geometric element Jacobian.

This function apply transformation to base functions and its derivatives. For example when base functions for H-div are present the Piola-Transformarion is applied to base functions and their derivatives.

Returns
Error code

Definition at line 256 of file VolumeElementForcesAndSourcesCore.cpp.

256  {
258 
260  if (dataH1.spacesOnEntities[MBEDGE].test(HCURL)) {
263  }
264  if (dataH1.spacesOnEntities[MBTRI].test(HDIV)) {
267  }
268  if (dataH1.spacesOnEntities[MBTET].test(L2)) {
270  }
272 }
DataForcesAndSourcesCore & dataL2
std::bitset< LASTSPACE > spacesOnEntities[MBMAXTYPE]
spaces on entity types
field with continuous normal traction
Definition: definitions.h:170
DataForcesAndSourcesCore & dataH1
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
DataForcesAndSourcesCore & dataHcurl
field with continuous tangents
Definition: definitions.h:169
#define CHKERR
Inline error check.
Definition: definitions.h:578
virtual MoFEMErrorCode opRhs(DataForcesAndSourcesCore &data, const bool do_vertices, const bool do_edges, const bool do_quads, const bool do_tris, const bool do_tets, const bool do_prisms, const bool error_if_no_base=true)
DataForcesAndSourcesCore & dataHdiv
OpSetContravariantPiolaTransform opContravariantPiolaTransform
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403
field with C-1 continuity
Definition: definitions.h:171

◆ transformHoBaseFunctions()

MoFEMErrorCode VolumeElementForcesAndSourcesCore::transformHoBaseFunctions ( )
virtual

Transform base functions based on ho-geometry element Jacobian.

This function apply transformation to base functions and its derivatives. For example when base functions for H-div are present the Piola-Transformarion is applied to base functions and their derivatives.

Returns
Error code

Definition at line 329 of file VolumeElementForcesAndSourcesCore.cpp.

329  {
331  if (hoCoordsAtGaussPts.size1() > 0) {
332  // Transform derivatives of base functions and apply Piola transformation
333  // if needed.
334 
336  if (dataH1.spacesOnEntities[MBTET].test(L2)) {
338  }
339  if (dataH1.spacesOnEntities[MBTRI].test(HDIV)) {
342  }
343  if (dataH1.spacesOnEntities[MBEDGE].test(HCURL)) {
346  }
347  }
349 }
DataForcesAndSourcesCore & dataL2
std::bitset< LASTSPACE > spacesOnEntities[MBMAXTYPE]
spaces on entity types
field with continuous normal traction
Definition: definitions.h:170
DataForcesAndSourcesCore & dataH1
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
OpSetHoContravariantPiolaTransform opHoContravariantTransform
DataForcesAndSourcesCore & dataHcurl
field with continuous tangents
Definition: definitions.h:169
#define CHKERR
Inline error check.
Definition: definitions.h:578
virtual MoFEMErrorCode opRhs(DataForcesAndSourcesCore &data, const bool do_vertices, const bool do_edges, const bool do_quads, const bool do_tris, const bool do_tets, const bool do_prisms, const bool error_if_no_base=true)
DataForcesAndSourcesCore & dataHdiv
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403
field with C-1 continuity
Definition: definitions.h:171

Member Data Documentation

◆ conn

const EntityHandle* MoFEM::VolumeElementForcesAndSourcesCore::conn

Definition at line 69 of file VolumeElementForcesAndSourcesCore.hpp.

◆ coords

VectorDouble MoFEM::VolumeElementForcesAndSourcesCore::coords

Definition at line 40 of file VolumeElementForcesAndSourcesCore.hpp.

◆ coordsAtGaussPts

MatrixDouble MoFEM::VolumeElementForcesAndSourcesCore::coordsAtGaussPts

Definition at line 73 of file VolumeElementForcesAndSourcesCore.hpp.

◆ hoCoordsAtGaussPts

MatrixDouble MoFEM::VolumeElementForcesAndSourcesCore::hoCoordsAtGaussPts

Definition at line 50 of file VolumeElementForcesAndSourcesCore.hpp.

◆ hoGaussPtsDetJac

VectorDouble MoFEM::VolumeElementForcesAndSourcesCore::hoGaussPtsDetJac

Definition at line 53 of file VolumeElementForcesAndSourcesCore.hpp.

◆ hoGaussPtsInvJac

MatrixDouble MoFEM::VolumeElementForcesAndSourcesCore::hoGaussPtsInvJac

Definition at line 52 of file VolumeElementForcesAndSourcesCore.hpp.

◆ hoGaussPtsJac

MatrixDouble MoFEM::VolumeElementForcesAndSourcesCore::hoGaussPtsJac

Definition at line 51 of file VolumeElementForcesAndSourcesCore.hpp.

◆ invJac

MatrixDouble3by3 MoFEM::VolumeElementForcesAndSourcesCore::invJac

Definition at line 42 of file VolumeElementForcesAndSourcesCore.hpp.

◆ jAc

MatrixDouble3by3 MoFEM::VolumeElementForcesAndSourcesCore::jAc

Definition at line 41 of file VolumeElementForcesAndSourcesCore.hpp.

◆ meshPositionsFieldName

std::string MoFEM::VolumeElementForcesAndSourcesCore::meshPositionsFieldName

Definition at line 49 of file VolumeElementForcesAndSourcesCore.hpp.

◆ nbGaussPts

unsigned int MoFEM::VolumeElementForcesAndSourcesCore::nbGaussPts

Number of integration points.

Definition at line 310 of file VolumeElementForcesAndSourcesCore.hpp.

◆ num_nodes

int MoFEM::VolumeElementForcesAndSourcesCore::num_nodes

Definition at line 68 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opContravariantPiolaTransform

OpSetContravariantPiolaTransform MoFEM::VolumeElementForcesAndSourcesCore::opContravariantPiolaTransform

Definition at line 45 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opCovariantPiolaTransform

OpSetCovariantPiolaTransform MoFEM::VolumeElementForcesAndSourcesCore::opCovariantPiolaTransform

Definition at line 46 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opHOatGaussPoints

OpGetDataAndGradient<3, 3> MoFEM::VolumeElementForcesAndSourcesCore::opHOatGaussPoints

higher order geometry data at Gauss pts

Definition at line 56 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opHoContravariantTransform

OpSetHoContravariantPiolaTransform MoFEM::VolumeElementForcesAndSourcesCore::opHoContravariantTransform

Definition at line 58 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opHoCovariantTransform

OpSetHoCovariantPiolaTransform MoFEM::VolumeElementForcesAndSourcesCore::opHoCovariantTransform

Definition at line 59 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opSetHoInvJacH1

OpSetHoInvJacH1 MoFEM::VolumeElementForcesAndSourcesCore::opSetHoInvJacH1

Definition at line 57 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opSetHoInvJacHdivAndHcurl

OpSetHoInvJacHdivAndHcurl MoFEM::VolumeElementForcesAndSourcesCore::opSetHoInvJacHdivAndHcurl

Definition at line 60 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opSetInvJacH1

OpSetInvJacH1 MoFEM::VolumeElementForcesAndSourcesCore::opSetInvJacH1

Definition at line 44 of file VolumeElementForcesAndSourcesCore.hpp.

◆ opSetInvJacHdivAndHcurl

OpSetInvJacHdivAndHcurl MoFEM::VolumeElementForcesAndSourcesCore::opSetInvJacHdivAndHcurl

Definition at line 47 of file VolumeElementForcesAndSourcesCore.hpp.

◆ tInvJac

FTensor::Tensor2<double *, 3, 3> MoFEM::VolumeElementForcesAndSourcesCore::tInvJac

Definition at line 71 of file VolumeElementForcesAndSourcesCore.hpp.

◆ tJac

FTensor::Tensor2<double *, 3, 3> MoFEM::VolumeElementForcesAndSourcesCore::tJac

Definition at line 70 of file VolumeElementForcesAndSourcesCore.hpp.

◆ vOlume

double MoFEM::VolumeElementForcesAndSourcesCore::vOlume

Definition at line 66 of file VolumeElementForcesAndSourcesCore.hpp.


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