v0.8.4
Classes | Public Member Functions | 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 (DataForcesAndSourcesCore &data)
 
- Public Member Functions inherited from MoFEM::DataForcesAndSourcesCore
MoFEMErrorCode resetFieldDependentData ()
 
 DataForcesAndSourcesCore (EntityType type)
 
virtual ~DataForcesAndSourcesCore ()
 

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

Constructor & Destructor Documentation

◆ DerivedDataForcesAndSourcesCore()

MoFEM::DerivedDataForcesAndSourcesCore::DerivedDataForcesAndSourcesCore ( DataForcesAndSourcesCore data)

Definition at line 187 of file DataStructures.cpp.

190 
191  boost::ptr_vector<EntData>::iterator iit;
192 
193  boost::ptr_vector<EntData>::iterator it;
194  for (it = data.dataOnEntities[MBVERTEX].begin();
195  it != data.dataOnEntities[MBVERTEX].end(); it++) {
196  dataOnEntities[MBVERTEX].push_back(new DerivedEntData(*it));
197  }
198  for (it = data.dataOnEntities[MBEDGE].begin();
199  it != data.dataOnEntities[MBEDGE].end(); it++) {
200  dataOnEntities[MBEDGE].push_back(new DerivedEntData(*it));
201  }
202  for (it = data.dataOnEntities[MBTRI].begin();
203  it != data.dataOnEntities[MBTRI].end(); it++) {
204  dataOnEntities[MBTRI].push_back(new DerivedEntData(*it));
205  }
206  for (it = data.dataOnEntities[MBQUAD].begin();
207  it != data.dataOnEntities[MBQUAD].end(); it++) {
208  dataOnEntities[MBQUAD].push_back(new DerivedEntData(*it));
209  }
210  for (it = data.dataOnEntities[MBTET].begin();
211  it != data.dataOnEntities[MBTET].end(); it++) {
212  dataOnEntities[MBTET].push_back(new DerivedEntData(*it));
213  }
214  for (it = data.dataOnEntities[MBPRISM].begin();
215  it != data.dataOnEntities[MBPRISM].end(); it++) {
216  dataOnEntities[MBPRISM].push_back(new DerivedEntData(*it));
217  }
218 }
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]

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