v0.8.13
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 1499 of file DataStructures.hpp.

Constructor & Destructor Documentation

◆ DerivedDataForcesAndSourcesCore()

MoFEM::DerivedDataForcesAndSourcesCore::DerivedDataForcesAndSourcesCore ( DataForcesAndSourcesCore data)

Definition at line 198 of file DataStructures.cpp.

201 
202  boost::ptr_vector<EntData>::iterator iit;
203 
204  boost::ptr_vector<EntData>::iterator it;
205  for (it = data.dataOnEntities[MBVERTEX].begin();
206  it != data.dataOnEntities[MBVERTEX].end(); it++) {
207  dataOnEntities[MBVERTEX].push_back(new DerivedEntData(*it));
208  }
209  for (it = data.dataOnEntities[MBEDGE].begin();
210  it != data.dataOnEntities[MBEDGE].end(); it++) {
211  dataOnEntities[MBEDGE].push_back(new DerivedEntData(*it));
212  }
213  for (it = data.dataOnEntities[MBTRI].begin();
214  it != data.dataOnEntities[MBTRI].end(); it++) {
215  dataOnEntities[MBTRI].push_back(new DerivedEntData(*it));
216  }
217  for (it = data.dataOnEntities[MBQUAD].begin();
218  it != data.dataOnEntities[MBQUAD].end(); it++) {
219  dataOnEntities[MBQUAD].push_back(new DerivedEntData(*it));
220  }
221  for (it = data.dataOnEntities[MBTET].begin();
222  it != data.dataOnEntities[MBTET].end(); it++) {
223  dataOnEntities[MBTET].push_back(new DerivedEntData(*it));
224  }
225  for (it = data.dataOnEntities[MBPRISM].begin();
226  it != data.dataOnEntities[MBPRISM].end(); it++) {
227  dataOnEntities[MBPRISM].push_back(new DerivedEntData(*it));
228  }
229 }
boost::ptr_vector< EntData > dataOnEntities[MBMAXTYPE]

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