v0.15.0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Attributes | List of all members
MoFEM::DerivedEntitiesFieldData Struct Reference

this class derives data from 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 data on single entity (This is passed as argument to DataOperator::doWork) More...
 

Public Member Functions

 DerivedEntitiesFieldData (const boost::shared_ptr< EntitiesFieldData > &data_ptr)
 Construct DerivedEntitiesFieldData from existing EntitiesFieldData.
 
MoFEMErrorCode setElementType (const EntityType type)
 Set element type for derived data.
 
- Public Member Functions inherited from MoFEM::EntitiesFieldData
 EntitiesFieldData (const EntityType type)
 Construct EntitiesFieldData for given entity type.
 
virtual ~EntitiesFieldData ()=default
 
MoFEMErrorCode resetFieldDependentData ()
 Reset data associated with particular field name.
 
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 derives data from 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 122 of file EntitiesFieldData.hpp.

Constructor & Destructor Documentation

◆ DerivedEntitiesFieldData()

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

Construct DerivedEntitiesFieldData from existing EntitiesFieldData.

Parameters
data_ptrShared pointer to source EntitiesFieldData

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

Set element type for derived data.

Parameters
typeEntity type to set
Returns
MoFEMErrorCode Error code (0 on success)

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 143 of file EntitiesFieldData.hpp.


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