v0.8.23
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 getEntitySense (const EntityType type, boost::ptr_vector< DataForcesAndSourcesCore::EntData > &data) const
 get sense (orientation) of entity More...
 
MoFEMErrorCode getEntityDataOrder (const EntityType type, const FieldSpace space, boost::ptr_vector< DataForcesAndSourcesCore::EntData > &data) const
 Get the entity data order. More...
 
template<EntityType type>
MoFEMErrorCode getEntitySense (DataForcesAndSourcesCore &data) const
 Get the entity sense (orientation) More...
 
template<EntityType type>
MoFEMErrorCode getEntityDataOrder (DataForcesAndSourcesCore &data, const FieldSpace space) const
 Get the entity data order for given space. More...
 
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_row, int order_col, int order_data)
 another variant of getRule 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...
 
virtual int getRule (int order)
 
virtual MoFEMErrorCode setGaussPts (int order)
 
- 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)
 Copy data from other base method to this base method. More...
 
- 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...
 
RuleHookFun setRuleHook
 Set function to calculate integration 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
 Name of finite element. More...
 
boost::shared_ptr< const NumeredEntFiniteElementnumeredEntFiniteElementPtr
 
boost::shared_ptr< const FENumeredDofEntity_multiIndexrowPtr
 Pointer to finite element rows dofs view. More...
 
boost::shared_ptr< const FENumeredDofEntity_multiIndexcolPtr
 Pointer to finite element columns dofs view. More...
 
boost::shared_ptr< const FEDofEntity_multiIndexdataPtr
 Pointer to finite element data dofs. More...
 
boost::shared_ptr< const FieldEntity_vector_viewrowFieldEntsPtr
 Pointer to finite element field entities row view. More...
 
boost::shared_ptr< const FieldEntity_vector_viewcolFieldEntsPtr
 Pointer to finite element field entities column view. More...
 
boost::shared_ptr< const FieldEntity_multiIndex_spaceType_viewdataFieldEntsPtr
 Pointer to finite element field entities data view. More...
 
- Public Attributes inherited from MoFEM::BasicMethod
int nInTheLoop
 number currently of processed method More...
 
int loopSize
 local number oe methods to process More...
 
int rAnk
 processor rank More...
 
int sIze
 number of processors in communicator More...
 
const RefEntity_multiIndexrefinedEntitiesPtr
 container of mofem dof entities More...
 
const RefElement_multiIndexrefinedFiniteElementsPtr
 container of mofem finite element entities More...
 
const ProblemproblemPtr
 raw pointer to problem More...
 
const Field_multiIndexfieldsPtr
 raw pointer to fields container More...
 
const FieldEntity_multiIndexentitiesPtr
 raw pointer to container of field entities More...
 
const DofEntity_multiIndexdofsPtr
 raw pointer container of dofs More...
 
const FiniteElement_multiIndexfiniteElementsPtr
 raw pointer to container finite elements More...
 
const EntFiniteElement_multiIndexfiniteElementsEntitiesPtr
 
const FieldEntityEntFiniteElementAdjacencyMap_multiIndexadjacenciesPtr
 
boost::function< MoFEMErrorCode()> preProcessHook
 Hook function for pre-processing. More...
 
boost::function< MoFEMErrorCode()> postProcessHook
 Hook function for post-processing. More...
 
boost::function< MoFEMErrorCode()> operatorHook
 Hook function for operator. More...
 
boost::movelib::unique_ptr< boolvecAssembleSwitch
 
boost::movelib::unique_ptr< boolmatAssembleSwitch
 
- 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, elasticity_mixed_formulation.cpp, EshelbianPlasticity.cpp, field_evaluator.cpp, forces_and_sources_testing_users_base.cpp, hcurl_curl_operator.cpp, hello_world.cpp, HookeElement.cpp, lorentz_force.cpp, MagneticElement.hpp, mesh_smoothing.cpp, Remodeling.hpp, simple_elasticity.cpp, simple_interface.cpp, SmallStrainPlasticity.hpp, testing_jacobian_of_hook_element.cpp, and testing_jacobian_of_hook_scaled_with_density_element.cpp.

Definition at line 38 of file VolumeElementForcesAndSourcesCore.hpp.

Constructor & Destructor Documentation

◆ VolumeElementForcesAndSourcesCore()

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

Definition at line 34 of file VolumeElementForcesAndSourcesCore.cpp.

36  : ForcesAndSourcesCore(m_field), coords(12), jAc(3, 3), invJac(3, 3),
39  meshPositionsFieldName("MESH_NODE_POSITIONS"),
45  tJac(&jAc(0, 0), &jAc(0, 1), &jAc(0, 2), &jAc(1, 0), &jAc(1, 1),
46  &jAc(1, 2), &jAc(2, 0), &jAc(2, 1), &jAc(2, 2)),
47  tInvJac(&invJac(0, 0), &invJac(0, 1), &invJac(0, 2), &invJac(1, 0),
48  &invJac(1, 1), &invJac(1, 2), &invJac(2, 0), &invJac(2, 1),
49  &invJac(2, 2)) {
51  boost::shared_ptr<BaseFunction>(new TetPolynomialBase());
52 }
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 MoFEM::VolumeElementForcesAndSourcesCore::calculateCoordinatesAtGaussPts ( )
virtual

Calculate coordinate at integration points.

Returns
Error code

Definition at line 129 of file VolumeElementForcesAndSourcesCore.cpp.

129  {
131  // Get coords at Gauss points
133 
134  double *shape_functions_ptr =
135  &*dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).data().begin();
136  coordsAtGaussPts.resize(nbGaussPts, 3, false);
137  coordsAtGaussPts.clear();
138  FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3> t_coords_at_gauss_ptr(
139  &coordsAtGaussPts(0, 0), &coordsAtGaussPts(0, 1),
140  &coordsAtGaussPts(0, 2));
142  shape_functions_ptr);
143  for (unsigned int gg = 0; gg < nbGaussPts; gg++) {
145  &coords[0], &coords[1], &coords[2]);
146  for (int bb = 0; bb < 4; bb++) {
147  t_coords_at_gauss_ptr(i) += t_coords(i) * t_shape_functions;
148  ++t_coords;
149  ++t_shape_functions;
150  };
151  ++t_coords_at_gauss_ptr;
152  }
154 }
DataForcesAndSourcesCore & dataH1
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
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:407

◆ calculateHoJacobian()

MoFEMErrorCode MoFEM::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 227 of file VolumeElementForcesAndSourcesCore.cpp.

227  {
229  if (dataPtr->get<FieldName_mi_tag>().find(meshPositionsFieldName) !=
230  dataPtr->get<FieldName_mi_tag>().end()) {
231  const Field *field_struture =
233  BitFieldId id = field_struture->getId();
234  if ((numeredEntFiniteElementPtr->getBitFieldIdData() & id).none()) {
235  SETERRQ(mField.get_comm(), MOFEM_NOT_FOUND,
236  "no MESH_NODE_POSITIONS in element data");
237  }
238 
240  if (dataH1.dataOnEntities[MBVERTEX][0].getFieldData().size() != 12) {
241  SETERRQ(mField.get_comm(), MOFEM_NOT_FOUND,
242  "no MESH_NODE_POSITIONS in element data or field has wrong "
243  "number of coefficients");
244  }
247  hoGaussPtsInvJac.resize(hoGaussPtsJac.size1(), hoGaussPtsJac.size2(),
248  false);
249  // Express Jacobian as tensor
251  &hoGaussPtsJac(0, 0), &hoGaussPtsJac(0, 1), &hoGaussPtsJac(0, 2),
252  &hoGaussPtsJac(0, 3), &hoGaussPtsJac(0, 4), &hoGaussPtsJac(0, 5),
253  &hoGaussPtsJac(0, 6), &hoGaussPtsJac(0, 7), &hoGaussPtsJac(0, 8));
255  &hoGaussPtsInvJac(0, 0), &hoGaussPtsInvJac(0, 1),
256  &hoGaussPtsInvJac(0, 2), &hoGaussPtsInvJac(0, 3),
257  &hoGaussPtsInvJac(0, 4), &hoGaussPtsInvJac(0, 5),
258  &hoGaussPtsInvJac(0, 6), &hoGaussPtsInvJac(0, 7),
259  &hoGaussPtsInvJac(0, 8));
260  hoGaussPtsDetJac.resize(nbGaussPts, false);
262  // Calculate inverse and determinant
263  for (unsigned int gg = 0; gg != nbGaussPts; gg++) {
264  CHKERR determinantTensor3by3(jac, det);
265  // if(det<0) {
266  // SETERRQ(mField.get_comm(),MOFEM_DATA_INCONSISTENCY,"Negative
267  // volume");
268  // }
269  CHKERR invertTensor3by3(jac, det, inv_jac);
270  ++jac;
271  ++inv_jac;
272  ++det;
273  }
274  } else {
275  hoCoordsAtGaussPts.resize(0, 0, false);
276  hoGaussPtsInvJac.resize(0, 0, false);
277  hoGaussPtsDetJac.resize(0, false);
278  }
280 }
MoFEMErrorCode determinantTensor3by3(T1 &t, T2 &det)
Calculate determinant 3 by 3.
Definition: Templates.hpp:417
OpGetDataAndGradient< 3, 3 > opHOatGaussPoints
higher order geometry data at Gauss pts
DataForcesAndSourcesCore & dataH1
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:477
boost::shared_ptr< const FEDofEntity_multiIndex > dataPtr
Pointer to finite element data dofs.
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]
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.
Definition: Templates.hpp:398
boost::shared_ptr< const NumeredEntFiniteElement > numeredEntFiniteElementPtr
unsigned int nbGaussPts
Number of integration points.
std::bitset< BITFIELDID_SIZE > BitFieldId
Field Id.
Definition: Types.hpp:53
#define CHKERR
Inline error check.
Definition: definitions.h:596
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:407
virtual MPI_Comm & get_comm() const =0
virtual const Field * get_field_structure(const std::string &name)=0
get field structure

◆ calculateVolumeAndJacobian()

MoFEMErrorCode MoFEM::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 104 of file VolumeElementForcesAndSourcesCore.cpp.

104  {
107  CHKERR mField.get_moab().get_connectivity(ent, conn, num_nodes, true);
108  CHKERR mField.get_moab().get_coords(conn, num_nodes, &*coords.data().begin());
113  &coords[0], &coords[1], &coords[2]);
116  jAc.clear();
117  for (auto n : {0, 1, 2, 3}) {
118  tJac(i, j) += t_coords(i) * t_diff_n(j);
119  ++t_coords;
120  ++t_diff_n;
121  }
124  vOlume *= G_TET_W1[0] / 6.;
126 }
MoFEMErrorCode determinantTensor3by3(T1 &t, T2 &det)
Calculate determinant 3 by 3.
Definition: Templates.hpp:417
virtual moab::Interface & get_moab()=0
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
static constexpr std::array< double, 12 > diffShapeFunMBTET
Definition: Tools.hpp:116
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.
Definition: Templates.hpp:398
boost::shared_ptr< const NumeredEntFiniteElement > numeredEntFiniteElementPtr
static const double G_TET_W1[]
Definition: fem_tools.h:495
#define CHKERR
Inline error check.
Definition: definitions.h:596
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407

◆ getSpaceBaseAndOrderOnElement()

MoFEMErrorCode MoFEM::VolumeElementForcesAndSourcesCore::getSpaceBaseAndOrderOnElement ( )
virtual

Determine approximation space and order of base functions.

Returns
Error code

Definition at line 157 of file VolumeElementForcesAndSourcesCore.cpp.

157  {
159 
162  // H1
163  if ((dataH1.spacesOnEntities[MBEDGE]).test(H1)) {
164  CHKERR getEntitySense<MBEDGE>(dataH1);
165  CHKERR getEntityDataOrder<MBEDGE>(dataH1, H1);
166  }
167  if ((dataH1.spacesOnEntities[MBTRI]).test(H1)) {
168  CHKERR getEntitySense<MBTRI>(dataH1);
169  CHKERR getEntityDataOrder<MBTRI>(dataH1, H1);
170  }
171  if ((dataH1.spacesOnEntities[MBTET]).test(H1)) {
172  CHKERR getEntityDataOrder<MBTET>(dataH1, H1);
173  }
174  // Hcurl
175  if ((dataH1.spacesOnEntities[MBEDGE]).test(HCURL)) {
176  CHKERR getEntitySense<MBEDGE>(dataHcurl);
177  CHKERR getEntityDataOrder<MBEDGE>(dataHcurl, HCURL);
178  dataHcurl.spacesOnEntities[MBEDGE].set(HCURL);
179  }
180  if ((dataH1.spacesOnEntities[MBTRI]).test(HCURL)) {
181  CHKERR getEntitySense<MBTRI>(dataHcurl);
183  CHKERR getEntityDataOrder<MBTRI>(dataHcurl, HCURL);
184  dataHcurl.spacesOnEntities[MBTRI].set(HCURL);
185  }
186  if ((dataH1.spacesOnEntities[MBTET]).test(HCURL)) {
187  CHKERR getEntityDataOrder<MBTET>(dataHcurl, HCURL);
188  dataHcurl.spacesOnEntities[MBTET].set(HCURL);
189  }
190  // Hdiv
191  if ((dataH1.spacesOnEntities[MBTRI]).test(HDIV)) {
192  CHKERR getEntitySense<MBTRI>(dataHdiv);
194  CHKERR getEntityDataOrder<MBTRI>(dataHdiv, HDIV);
195  dataHdiv.spacesOnEntities[MBTRI].set(HDIV);
196  }
197  if ((dataH1.spacesOnEntities[MBTET]).test(HDIV)) {
198  CHKERR getEntityDataOrder<MBTET>(dataHdiv, HDIV);
199  dataHdiv.spacesOnEntities[MBTET].set(HDIV);
200  }
201  // L2
202  if ((dataH1.spacesOnEntities[MBTET]).test(L2)) {
203  CHKERR getEntityDataOrder<MBTET>(dataL2, L2);
204  dataL2.spacesOnEntities[MBTET].set(L2);
205  }
207 }
DataForcesAndSourcesCore & dataL2
std::bitset< LASTSPACE > spacesOnEntities[MBMAXTYPE]
spaces on entity types
field with continuous normal traction
Definition: definitions.h:173
DataForcesAndSourcesCore & dataH1
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
MoFEMErrorCode getFaceTriNodes(DataForcesAndSourcesCore &data) const
Get nodes on triangles.
DataForcesAndSourcesCore & dataHcurl
field with continuous tangents
Definition: definitions.h:172
#define CHKERR
Inline error check.
Definition: definitions.h:596
DataForcesAndSourcesCore & dataHdiv
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407
continuous field
Definition: definitions.h:171
MoFEMErrorCode getSpacesAndBaseOnEntities(DataForcesAndSourcesCore &data) const
Get field approximation space and base on entities.
field with C-1 continuity
Definition: definitions.h:174

◆ operator()()

MoFEMErrorCode MoFEM::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 304 of file VolumeElementForcesAndSourcesCore.cpp.

304  {
306 
307  if (numeredEntFiniteElementPtr->getEntType() != MBTET)
310 
314  if (nbGaussPts == 0)
319 
320  try {
321  MatrixDouble new_diff_n;
322  for (int b = AINSWORTH_LEGENDRE_BASE; b != LASTBASE; b++) {
324  FieldApproximationBase base = static_cast<FieldApproximationBase>(b);
326  dataH1.dataOnEntities[MBVERTEX][0];
327  if ((data.getDiffN(base).size1() == 4) &&
328  (data.getDiffN(base).size2() == 3)) {
329  const unsigned int nb_base_functions = 4;
330  new_diff_n.resize(nbGaussPts, 3 * nb_base_functions, false);
331  double *new_diff_n_ptr = &*new_diff_n.data().begin();
333  new_diff_n_ptr, &new_diff_n_ptr[1], &new_diff_n_ptr[2]);
334  double *t_diff_n_ptr = &*data.getDiffN(base).data().begin();
335  for (unsigned int gg = 0; gg != nbGaussPts; gg++) {
337  t_diff_n_ptr, &t_diff_n_ptr[1], &t_diff_n_ptr[2]);
338  for (unsigned int bb = 0; bb != nb_base_functions; bb++) {
339  t_new_diff_n(i) = t_diff_n(i);
340  ++t_new_diff_n;
341  ++t_diff_n;
342  }
343  }
344  data.getDiffN(base).resize(new_diff_n.size1(), new_diff_n.size2(),
345  false);
346  data.getDiffN(base).data().swap(new_diff_n.data());
347  }
348  }
349  }
350  CATCH_ERRORS;
351 
354 
355  // Iterate over operators
357 
359 }
MoFEMErrorCode calculateBaseFunctionsOnElement()
Calculate base functions.
virtual MoFEMErrorCode getSpaceBaseAndOrderOnElement()
Determine approximation space and order of base functions.
MoFEMErrorCode createDataOnElement()
Create a entity data on element object.
DataForcesAndSourcesCore & dataH1
ublas::matrix< double, ublas::row_major, DoubleAllocator > MatrixDouble
Definition: Types.hpp:77
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:508
virtual MoFEMErrorCode calculateCoordinatesAtGaussPts()
Calculate coordinate at integration points.
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.
virtual MoFEMErrorCode calculateHoJacobian()
Calculate Jacobian for HO geometry.
FieldApproximationBase
approximation base
Definition: definitions.h:143
virtual MoFEMErrorCode calculateVolumeAndJacobian()
Calculate element volume and Jacobian.
virtual MoFEMErrorCode transformBaseFunctions()
Transform base functions based on geometric element Jacobian.
DataForcesAndSourcesCore::EntData EntData
Ainsworth Cole (Legendre) approx. base .
Definition: definitions.h:145
virtual MoFEMErrorCode setIntegrationPts()
Set integration points.
#define CHKERR
Inline error check.
Definition: definitions.h:596
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407
#define CATCH_ERRORS
Catch errors.
Definition: definitions.h:433
virtual MoFEMErrorCode transformHoBaseFunctions()
Transform base functions based on ho-geometry element Jacobian.

◆ setIntegartionPts()

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

Definition at line 313 of file VolumeElementForcesAndSourcesCore.hpp.

313  {
314  return setIntegrationPts();
315  }
virtual MoFEMErrorCode setIntegrationPts()
Set integration points.

◆ setIntegrationPts()

MoFEMErrorCode MoFEM::VolumeElementForcesAndSourcesCore::setIntegrationPts ( )
virtual

Set integration points.

Returns
Error code

Definition at line 54 of file VolumeElementForcesAndSourcesCore.cpp.

54  {
56  int order_data = getMaxDataOrder();
57  int order_row = getMaxRowOrder();
58  int order_col = getMaxColOrder();
59  int rule = getRule(order_row, order_col, order_data);
60 
61  if (rule >= 0) {
62  if (rule < QUAD_3D_TABLE_SIZE) {
63  if (QUAD_3D_TABLE[rule]->dim != 3) {
64  SETERRQ(mField.get_comm(), MOFEM_DATA_INCONSISTENCY, "wrong dimension");
65  }
66  if (QUAD_3D_TABLE[rule]->order < rule) {
68  "wrong order %d != %d", QUAD_3D_TABLE[rule]->order, rule);
69  }
71  gaussPts.resize(4, nbGaussPts, false);
72  cblas_dcopy(nbGaussPts, &QUAD_3D_TABLE[rule]->points[1], 4,
73  &gaussPts(0, 0), 1);
74  cblas_dcopy(nbGaussPts, &QUAD_3D_TABLE[rule]->points[2], 4,
75  &gaussPts(1, 0), 1);
76  cblas_dcopy(nbGaussPts, &QUAD_3D_TABLE[rule]->points[3], 4,
77  &gaussPts(2, 0), 1);
78  cblas_dcopy(nbGaussPts, QUAD_3D_TABLE[rule]->weights, 1, &gaussPts(3, 0),
79  1);
80  dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).resize(nbGaussPts, 4,
81  false);
82  double *shape_ptr =
83  &*dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).data().begin();
84  cblas_dcopy(4 * nbGaussPts, QUAD_3D_TABLE[rule]->points, 1, shape_ptr, 1);
85  } else {
87  "rule > quadrature order %d < %d", rule, QUAD_3D_TABLE_SIZE);
88  nbGaussPts = 0;
89  }
90  } else {
91  CHKERR setGaussPts(order_row, order_col, order_data);
92  nbGaussPts = gaussPts.size2();
93  dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).resize(nbGaussPts, 4,
94  false);
95  if (nbGaussPts > 0) {
97  &*dataH1.dataOnEntities[MBVERTEX][0].getN(NOBASE).data().begin(),
98  &gaussPts(0, 0), &gaussPts(1, 0), &gaussPts(2, 0), nbGaussPts);
99  }
100  }
102 }
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.
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:477
virtual MoFEMErrorCode setGaussPts(int order_row, int order_col, int order_data)
set user specific integration rule
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]
unsigned int nbGaussPts
Number of integration points.
#define CHKERR
Inline error check.
Definition: definitions.h:596
static MoFEMErrorCode shapeFunMBTET(double *shape, const double *ksi, const double *eta, const double *zeta, const double nb)
Calculate shape functions on tetrahedron.
Definition: Tools.hpp:176
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:407
virtual MPI_Comm & get_comm() const =0
virtual int getRule(int order_row, int order_col, int order_data)
another variant of getRule
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.
const int order
approximation order

◆ transformBaseFunctions()

MoFEMErrorCode MoFEM::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 209 of file VolumeElementForcesAndSourcesCore.cpp.

209  {
211 
213  if (dataH1.spacesOnEntities[MBEDGE].test(HCURL)) {
216  }
217  if (dataH1.spacesOnEntities[MBTRI].test(HDIV)) {
220  }
221  if (dataH1.spacesOnEntities[MBTET].test(L2)) {
223  }
225 }
DataForcesAndSourcesCore & dataL2
std::bitset< LASTSPACE > spacesOnEntities[MBMAXTYPE]
spaces on entity types
field with continuous normal traction
Definition: definitions.h:173
DataForcesAndSourcesCore & dataH1
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
DataForcesAndSourcesCore & dataHcurl
field with continuous tangents
Definition: definitions.h:172
#define CHKERR
Inline error check.
Definition: definitions.h:596
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:407
field with C-1 continuity
Definition: definitions.h:174

◆ transformHoBaseFunctions()

MoFEMErrorCode MoFEM::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 282 of file VolumeElementForcesAndSourcesCore.cpp.

282  {
284  if (hoCoordsAtGaussPts.size1() > 0) {
285  // Transform derivatives of base functions and apply Piola transformation
286  // if needed.
287 
289  if (dataH1.spacesOnEntities[MBTET].test(L2)) {
291  }
292  if (dataH1.spacesOnEntities[MBTRI].test(HDIV)) {
295  }
296  if (dataH1.spacesOnEntities[MBEDGE].test(HCURL)) {
299  }
300  }
302 }
DataForcesAndSourcesCore & dataL2
std::bitset< LASTSPACE > spacesOnEntities[MBMAXTYPE]
spaces on entity types
field with continuous normal traction
Definition: definitions.h:173
DataForcesAndSourcesCore & dataH1
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
OpSetHoContravariantPiolaTransform opHoContravariantTransform
DataForcesAndSourcesCore & dataHcurl
field with continuous tangents
Definition: definitions.h:172
#define CHKERR
Inline error check.
Definition: definitions.h:596
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:407
field with C-1 continuity
Definition: definitions.h:174

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 301 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: