v0.15.0
Loading...
Searching...
No Matches
MoFEM::DerivedEntitiesFieldData Struct Reference

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

#include "src/finite_elements/EntitiesFieldData.hpp"

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

Classes

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
 
MoFEMErrorCode resetFieldDependentData ()
 
virtual MoFEMErrorCode baseSwap (const std::string &field_name, const FieldApproximationBase base)
 Swap approximation base.
 

Private Attributes

const boost::shared_ptr< EntitiesFieldDatadataPtr
 

Additional Inherited Members

- Public Attributes inherited from MoFEM::EntitiesFieldData
std::bitset< LASTBASEbAse
 bases on element
 
MatrixInt facesNodes
 nodes on finite element faces
 
MatrixInt facesNodesOrder
 order of face nodes on element
 
std::array< std::bitset< LASTSPACE >, MBMAXTYPE > spacesOnEntities
 spaces on entity types
 
std::array< std::bitset< LASTBASE >, MBMAXTYPE > basesOnEntities
 bases on entity types
 
std::array< std::bitset< LASTBASE >, LASTSPACEbasesOnSpaces
 base on spaces
 
std::array< std::bitset< LASTBASE >, LASTSPACEbrokenBasesOnSpaces
 base on spaces
 
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 110 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) {
107}
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)
virtual

Reimplemented from MoFEM::EntitiesFieldData.

Definition at line 109 of file EntitiesFieldData.cpp.

109 {
113}
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()

Member Data Documentation

◆ dataPtr

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

Definition at line 119 of file EntitiesFieldData.hpp.


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