v0.8.15
Classes | Public Member Functions | Private Attributes | List of all members
MoFEM::DerivedDataForcesAndSourcesCore Struct Reference

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

#include <src/finite_elements/DataStructures.hpp>

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

Classes

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

Public Member Functions

 DerivedDataForcesAndSourcesCore (const boost::shared_ptr< DataForcesAndSourcesCore > &data_ptr)
 
MoFEMErrorCode setElementType (const EntityType type)
 
- Public Member Functions inherited from MoFEM::DataForcesAndSourcesCore
MoFEMErrorCode resetFieldDependentData ()
 
 DataForcesAndSourcesCore (const EntityType type)
 
virtual ~DataForcesAndSourcesCore ()
 

Private Attributes

const boost::shared_ptr< DataForcesAndSourcesCoredataPtr
 

Additional Inherited Members

- Public Attributes inherited from MoFEM::DataForcesAndSourcesCore
std::bitset< LASTSPACEsPace
 spaces on element More...
 
std::bitset< LASTBASEbAse
 bases on element More...
 
ublas::matrix< intfacesNodes
 nodes on finite element faces More...
 
std::bitset< LASTSPACEspacesOnEntities [MBMAXTYPE]
 spaces on entity types More...
 
std::bitset< LASTBASEbasesOnEntities [MBMAXTYPE]
 bases on entity types More...
 
std::bitset< LASTBASEbasesOnSpaces [LASTSPACE]
 base on spaces More...
 
boost::ptr_vector< EntDatadataOnEntities [MBMAXTYPE]
 
- Protected Member Functions inherited from MoFEM::DataForcesAndSourcesCore
 DataForcesAndSourcesCore ()
 

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 1312 of file DataStructures.hpp.

Constructor & Destructor Documentation

◆ DerivedDataForcesAndSourcesCore()

MoFEM::DerivedDataForcesAndSourcesCore::DerivedDataForcesAndSourcesCore ( const boost::shared_ptr< DataForcesAndSourcesCore > &  data_ptr)

Definition at line 220 of file DataStructures.cpp.

222  : DataForcesAndSourcesCore(), dataPtr(data_ptr) {
224 }
static void constructor_derived_data(DerivedDataForcesAndSourcesCore *derived_data, const boost::shared_ptr< DataForcesAndSourcesCore > &data_ptr)
const boost::shared_ptr< DataForcesAndSourcesCore > dataPtr

Member Function Documentation

◆ setElementType()

MoFEMErrorCode MoFEM::DerivedDataForcesAndSourcesCore::setElementType ( const EntityType  type)
virtual

Reimplemented from MoFEM::DataForcesAndSourcesCore.

Definition at line 227 of file DataStructures.cpp.

227  {
229  for (EntityType tt = MBVERTEX; tt != MBMAXTYPE; ++tt)
230  dataOnEntities[tt].clear();
233 }
static void constructor_derived_data(DerivedDataForcesAndSourcesCore *derived_data, const boost::shared_ptr< DataForcesAndSourcesCore > &data_ptr)
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:459
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]
const boost::shared_ptr< DataForcesAndSourcesCore > dataPtr
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:403

Member Data Documentation

◆ dataPtr

const boost::shared_ptr<DataForcesAndSourcesCore> MoFEM::DerivedDataForcesAndSourcesCore::dataPtr
private

Definition at line 1355 of file DataStructures.hpp.


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