Classes | Public Member Functions | Private Attributes | List of all members
MoFEM::DerivedEntitiesFieldData Struct Reference

this class derive data form other data structure More...

#include <src/finite_elements/EntitiesFieldData.hpp>

Inheritance diagram for MoFEM::DerivedEntitiesFieldData:
Collaboration diagram for MoFEM::DerivedEntitiesFieldData:


struct  DerivedEntData
 Derived ata on single entity (This is passed as argument to DataOperator::doWork) More...

Public Member Functions

 DerivedEntitiesFieldData (const boost::shared_ptr< EntitiesFieldData > &data_ptr)
MoFEMErrorCode setElementType (const EntityType type)
- Public Member Functions inherited from MoFEM::EntitiesFieldData
 EntitiesFieldData (const EntityType type)
virtual ~EntitiesFieldData ()=default
virtual MoFEMErrorCode setElementType (const EntityType type)
MoFEMErrorCode resetFieldDependentData ()
virtual MoFEMErrorCode baseSwap (const std::string &field_name, const FieldApproximationBase base)
 Swap approximation base. More...

Private Attributes

const boost::shared_ptr< EntitiesFieldDatadataPtr

Additional Inherited Members

- Public Attributes inherited from MoFEM::EntitiesFieldData
std::bitset< LASTSPACEsPace
 spaces on element More...
std::bitset< LASTBASEbAse
 bases on element More...
MatrixInt facesNodes
 nodes on finite element faces More...
MatrixInt facesNodesOrder
 order of face nodes on element More...
std::array< std::bitset< LASTSPACE >, MBMAXTYPE > spacesOnEntities
 spaces on entity types More...
std::array< std::bitset< LASTBASE >, MBMAXTYPE > basesOnEntities
 bases on entity types More...
std::array< std::bitset< LASTBASE >, LASTSPACEbasesOnSpaces
 base on spaces More...
std::array< boost::ptr_vector< EntData >, MBMAXTYPE > dataOnEntities
- Protected Member Functions inherited from MoFEM::EntitiesFieldData
 EntitiesFieldData ()

Detailed Description

this class derive data form other data structure

It behaves like normal data structure it is used to share base functions with other data structures. Dofs values, approx. order and indices are not shared.

Shape functions, senses are shared with other data structure.

Definition at line 109 of file EntitiesFieldData.hpp.

Constructor & Destructor Documentation

◆ DerivedEntitiesFieldData()

MoFEM::DerivedEntitiesFieldData::DerivedEntitiesFieldData ( const boost::shared_ptr< EntitiesFieldData > &  data_ptr)

Definition at line 103 of file EntitiesFieldData.cpp.

105 : EntitiesFieldData(), dataPtr(data_ptr) {
static void constructor_derived_data(DerivedEntitiesFieldData *derived_data, const boost::shared_ptr< EntitiesFieldData > &data_ptr)
const boost::shared_ptr< EntitiesFieldData > dataPtr

Member Function Documentation

◆ setElementType()

MoFEMErrorCode MoFEM::DerivedEntitiesFieldData::setElementType ( const EntityType  type)

Reimplemented from MoFEM::EntitiesFieldData.

Definition at line 109 of file EntitiesFieldData.cpp.

109 {
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416

Member Data Documentation

◆ dataPtr

const boost::shared_ptr<EntitiesFieldData> MoFEM::DerivedEntitiesFieldData::dataPtr

Definition at line 118 of file EntitiesFieldData.hpp.

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