v0.16.3
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
UserDataOperatorsFromTags.hpp File Reference

Operators evaluating MOAB tag data at integration points. More...

Go to the source code of this file.

Namespaces

namespace  MoFEM
 implementation of Data Operators for Forces and Sources
 

Enumerations

enum class  MoFEM::TagSpace { MoFEM::TagSpace::ENTITY , MoFEM::TagSpace::VERTEX }
 Where tag values live and how they are evaluated. More...
 
enum class  MoFEM::TagNotation { MoFEM::TagNotation::FTENSOR , MoFEM::TagNotation::VOIGT }
 Component order of a tensor stored on a tag. More...
 

Functions

ForcesAndSourcesCore::UserDataOperator * MoFEM::createOpCalculateScalarFieldValuesFromTags (const std::string tag_name, boost::shared_ptr< VectorDouble > data_ptr, const TagSpace space, const bool allow_longer_tag=false)
 Create operator evaluating a scalar tag at integration points.
 
template<int DIM>
ForcesAndSourcesCore::UserDataOperator * MoFEM::createOpCalculateVectorFieldValuesFromTags (const std::string tag_name, boost::shared_ptr< MatrixDouble > data_ptr, const TagSpace space, const bool allow_longer_tag=false)
 Create operator evaluating a vector tag at integration points.
 
template<int DIM>
ForcesAndSourcesCore::UserDataOperator * MoFEM::createOpCalculateTensor2SymmetricFieldValuesFromTags (const std::string tag_name, boost::shared_ptr< MatrixDouble > data_ptr, const TagSpace space, const TagNotation notation=TagNotation::FTENSOR, const bool allow_longer_tag=false)
 Create operator evaluating a symmetric tensor tag at integration points.
 
template<int DIM0, int DIM1>
ForcesAndSourcesCore::UserDataOperator * MoFEM::createOpCalculateTensor2FieldValuesFromTags (const std::string tag_name, boost::shared_ptr< MatrixDouble > data_ptr, const TagSpace space, const TagNotation notation=TagNotation::FTENSOR, const bool allow_longer_tag=false)
 Create operator evaluating a second-order tensor tag at integration points.
 

Detailed Description

Operators evaluating MOAB tag data at integration points.

The factories in this file create operators that read a fixed-length double tag, either on the finite-element entity or on its corner vertices, and store the values at integration points. The output has the layout of the field value operators in UserDataOperators.hpp, so any operator consuming OpCalculateScalarFieldValues, OpCalculateVectorFieldValues, OpCalculateTensor2FieldValues or OpCalculateTensor2SymmetricFieldValues output can consume these.

The operators need no field on the element and do no communication. On distributed meshes the caller makes tag values on shared and ghost entities consistent before the element loop.

Definition in file UserDataOperatorsFromTags.hpp.