v0.8.20
Classes | Public Types | Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
MoFEM::Problem Struct Reference

keeps basic data about problemThis is low level structure with information about problem, what elements compose problem and what DOFs are on rows and columns. More...

#include <src/multi_indices/ProblemsMultiIndices.hpp>

Collaboration diagram for MoFEM::Problem:
[legend]

Classes

struct  SubProblemData
 Subproblem problem data. More...
 

Public Types

typedef multi_index_container< boost::weak_ptr< std::vector< NumeredDofEntity > >, indexed_by< sequenced<> > > SequenceDofContainer
 

Public Member Functions

const boost::shared_ptr< NumeredDofEntity_multiIndex > & getNumeredDofsRows () const
 get access to numeredDofsRows storing DOFs on rows More...
 
const boost::shared_ptr< NumeredDofEntity_multiIndex > & getNumeredDofsCols () const
 get access to numeredDofsCols storing DOFs on cols More...
 
const NumeredEntFiniteElement_multiIndexgetNumeredFiniteElements () const
 get access to reference for multi-index storing finite elements More...
 
boost::shared_ptr< SubProblemData > & getSubData () const
 Get main problem of sub-problem is. More...
 
boost::shared_ptr< ComposedProblemsData > & getComposedProblemsData () const
 Het composed problems data structure. More...
 
MoFEMErrorCode getDofByNameEntAndEntDofIdx (const string name, const EntityHandle ent, const int ent_dof_idx, const RowColData row_or_col, boost::shared_ptr< NumeredDofEntity > &dof_ptr) const
 get DOFs from problem More...
 
NumeredEntFiniteElementbyName::iterator getNumeredFEsBegin (std::string fe_name) const
 
NumeredEntFiniteElementbyName::iterator getNumeredFEsEnd (std::string fe_name) const
 
NumeredDofEntity_multiIndex::iterator getNumeredDofsRowsBegin () const
 
NumeredDofEntity_multiIndex::iterator getNumeredDofsRowsEnd () const
 
NumeredDofEntity_multiIndex::iterator getNumeredDofsColsBegin () const
 
NumeredDofEntity_multiIndex::iterator getNumeredDofsColsEnd () const
 
NumeredDofEntityByLocalIdx::iterator getNumeredDofsRowsByLocIdxBegin (const DofIdx locidx) const
 
NumeredDofEntityByLocalIdx::iterator getNumeredDofsRowsByLocIdxEnd (const DofIdx locidx) const
 
NumeredDofEntityByLocalIdx::iterator getNumeredDofsColsByLocIdxBegin (const DofIdx locidx) const
 
NumeredDofEntityByLocalIdx::iterator getNumeredDofsColsByLocIdxEnd (const DofIdx locidx) const
 
NumeredDofEntityByEnt::iterator getNumeredDofsRowsByEntBegin (const EntityHandle ent) const
 
NumeredDofEntityByEnt::iterator getNumeredDofsRowsByEntEnd (const EntityHandle ent) const
 
NumeredDofEntityByEnt::iterator getNumeredDofsColsByEntBegin (const EntityHandle ent) const
 
NumeredDofEntityByEnt::iterator getNumeredDofsColsByEntEnd (const EntityHandle ent) const
 
NumeredDofEntityByFieldName::iterator getNumeredDofsRowsBegin (const std::string &name) const
 
NumeredDofEntityByFieldName::iterator getNumeredDofsRowsEnd (const std::string &name) const
 
NumeredDofEntityByFieldName::iterator getNumeredDofsColsBegin (const std::string &name) const
 
NumeredDofEntityByFieldName::iterator getNumeredDofsColsEnd (const std::string &name) const
 
NumeredDofEntityByNameEntAndPart::iterator getNumeredDofsRowsBegin (const std::string &name, const EntityHandle ent, const int part) const
 
NumeredDofEntityByNameEntAndPart::iterator getNumeredDofsRowsEnd (const std::string &name, const EntityHandle ent, const int part) const
 
NumeredDofEntityByNameEntAndPart::iterator getNumeredDofsColsBegin (const std::string &name, const EntityHandle ent, const int part) const
 
NumeredDofEntityByNameEntAndPart::iterator getNumeredDofsColsEnd (const std::string &name, const EntityHandle ent, const int part) const
 
NumeredDofEntity_multiIndex::iterator getNumeredDofsRowsBegin (const int part) const
 
NumeredDofEntity_multiIndex::iterator getNumeredDofsRowsEnd (const int part) const
 
NumeredDofEntity_multiIndex::iterator getNumeredDofsColsBegin (const int part) const
 
NumeredDofEntity_multiIndex::iterator getNumeredDofsColsEnd (const int part) const
 
 Problem (Interface &moab, const EntityHandle meshset)
 
virtual ~Problem ()
 
BitProblemId getId () const
 
std::string getName () const
 
DofIdx getNbDofsRow () const
 
DofIdx getNbDofsCol () const
 
DofIdx getNbLocalDofsRow () const
 
DofIdx getNbLocalDofsCol () const
 
DofIdx getNbGhostDofsRow () const
 
DofIdx getNbGhostDofsCol () const
 
BitRefLevel getBitRefLevel () const
 
BitRefLevel getMaskBitRefLevel () const
 
MoFEMErrorCode getRowDofsByPetscGlobalDofIdx (DofIdx idx, const NumeredDofEntity **dof_ptr) const
 
MoFEMErrorCode getColDofsByPetscGlobalDofIdx (DofIdx idx, const NumeredDofEntity **dof_ptr) const
 
BitFEId getBitFEId () const
 
MoFEMErrorCode getNumberOfElementsByNameAndPart (MPI_Comm comm, const std::string name, PetscLayout *layout) const
 Get number of finite elements by name on processors. More...
 
MoFEMErrorCode getNumberOfElementsByPart (MPI_Comm comm, PetscLayout *layout) const
 Get number of finite elements on processors. More...
 
boost::shared_ptr< SequenceDofContainer > & getRowDofsSequence () const
 Get reference to sequence data numbered dof container. More...
 
boost::shared_ptr< SequenceDofContainer > & getColDofsSequence () const
 Get reference to sequence data numbered dof container. More...
 

Public Attributes

EntityHandle meshset
 
BitProblemIdtagId
 Unique problem ID. More...
 
const char * tagName
 Problem name. More...
 
int tagNameSize
 Size of problem name. More...
 
BitFEIdtagBitFEId
 IDs of finite elements in problem. More...
 
BitRefLeveltagBitRefLevel
 BitRef level of finite elements in problem. More...
 
BitRefLeveltagMaskBitRefLevel
 BItRefMask of elements in problem. More...
 
DofIdx nbDofsRow
 Global number of DOFs in row. More...
 
DofIdx nbDofsCol
 Global number of DOFs in col. More...
 
DofIdx nbLocDofsRow
 Local number of DOFs in row. More...
 
DofIdx nbLocDofsCol
 Local number of DOFs in colIs. More...
 
DofIdx nbGhostDofsRow
 Number of ghost DOFs in row. More...
 
DofIdx nbGhostDofsCol
 Number of ghost DOFs in col. More...
 
boost::shared_ptr< NumeredDofEntity_multiIndexnumeredDofsRows
 store DOFs on rows for this problem More...
 
boost::shared_ptr< NumeredDofEntity_multiIndexnumeredDofsCols
 store DOFs on columns for this problem More...
 
NumeredEntFiniteElement_multiIndex numeredFiniteElements
 store finite elements More...
 
boost::shared_ptr< SubProblemDatasubProblemData
 
boost::shared_ptr< ComposedProblemsDatacomposedProblemsData
 

Private Attributes

boost::shared_ptr< SequenceDofContainersequenceRowDofContainer
 
boost::shared_ptr< SequenceDofContainersequenceColDofContainer
 

Friends

std::ostream & operator<< (std::ostream &os, const Problem &e)
 

Detailed Description

keeps basic data about problem

This is low level structure with information about problem, what elements compose problem and what DOFs are on rows and columns.

Todo:
fix names following name convention
Examples:
cell_forces.cpp, loop_entities.cpp, MagneticElement.hpp, and Remodeling.cpp.

Definition at line 79 of file ProblemsMultiIndices.hpp.

Member Typedef Documentation

◆ SequenceDofContainer

typedef multi_index_container<boost::weak_ptr<std::vector<NumeredDofEntity> >, indexed_by<sequenced<> > > MoFEM::Problem::SequenceDofContainer

Definition at line 750 of file ProblemsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ Problem()

MoFEM::Problem::Problem ( Interface moab,
const EntityHandle  meshset 
)

Definition at line 22 of file ProblemsMultiIndices.cpp.

23  : meshset(meshset),
24  numeredDofsRows(boost::shared_ptr<NumeredDofEntity_multiIndex>(
26  numeredDofsCols(boost::shared_ptr<NumeredDofEntity_multiIndex>(
28  sequenceRowDofContainer(boost::make_shared<SequenceDofContainer>()),
29  sequenceColDofContainer(boost::make_shared<SequenceDofContainer>()) {
30  ErrorCode rval;
31  Tag th_ProblemId;
32  rval = moab.tag_get_handle("_ProblemId", th_ProblemId);
34  rval = moab.tag_get_by_ptr(th_ProblemId, &meshset, 1, (const void **)&tagId);
36  Tag th_ProblemName;
37  rval = moab.tag_get_handle("_ProblemName", th_ProblemName);
39  rval = moab.tag_get_by_ptr(th_ProblemName, &meshset, 1,
40  (const void **)&tagName, &tagNameSize);
42  Tag th_ProblemFEId;
43  rval = moab.tag_get_handle("_ProblemFEId", th_ProblemFEId);
45  rval = moab.tag_get_by_ptr(th_ProblemFEId, &meshset, 1,
46  (const void **)&tagBitFEId);
48  Tag th_RefBitLevel;
49  rval = moab.tag_get_handle("_RefBitLevel", th_RefBitLevel);
51  rval = moab.tag_get_by_ptr(th_RefBitLevel, &meshset, 1,
52  (const void **)&tagBitRefLevel);
54  Tag th_RefBitLevel_Mask;
55  rval = moab.tag_get_handle("_RefBitLevelMask", th_RefBitLevel_Mask);
57  rval = moab.tag_get_by_ptr(th_RefBitLevel_Mask, &meshset, 1,
58  (const void **)&tagMaskBitRefLevel);
60 }
int tagNameSize
Size of problem name.
BitProblemId * tagId
Unique problem ID.
const char * tagName
Problem name.
#define MOAB_THROW(a)
Check error code of MoAB function and throw MoFEM exception.
Definition: definitions.h:600
BitFEId * tagBitFEId
IDs of finite elements in problem.
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval
Definition: Exceptions.hpp:84
BitRefLevel * tagMaskBitRefLevel
BItRefMask of elements in problem.
BitRefLevel * tagBitRefLevel
BitRef level of finite elements in problem.
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem
boost::shared_ptr< SequenceDofContainer > sequenceColDofContainer
boost::shared_ptr< SequenceDofContainer > sequenceRowDofContainer
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem
multi_index_container< boost::shared_ptr< NumeredDofEntity >, indexed_by< ordered_unique< tag< Unique_mi_tag >, const_mem_fun< NumeredDofEntity::interface_type_DofEntity, const UId &, &NumeredDofEntity::getGlobalUniqueId > >, ordered_non_unique< tag< Unique_Ent_mi_tag >, const_mem_fun< NumeredDofEntity::interface_type_DofEntity, const UId &, &NumeredDofEntity::getEntGlobalUniqueId > >, ordered_non_unique< tag< Part_mi_tag >, member< NumeredDofEntity, unsigned int, &NumeredDofEntity::pArt > >, ordered_non_unique< tag< Idx_mi_tag >, member< NumeredDofEntity, DofIdx, &NumeredDofEntity::dofIdx > >, ordered_non_unique< tag< FieldName_mi_tag >, const_mem_fun< NumeredDofEntity::interface_type_Field, boost::string_ref, &NumeredDofEntity::getNameRef > >, ordered_non_unique< tag< PetscGlobalIdx_mi_tag >, member< NumeredDofEntity, DofIdx, &NumeredDofEntity::petscGloablDofIdx > >, ordered_non_unique< tag< PetscLocalIdx_mi_tag >, member< NumeredDofEntity, DofIdx, &NumeredDofEntity::petscLocalDofIdx > >, ordered_non_unique< tag< Ent_mi_tag >, const_mem_fun< NumeredDofEntity::interface_type_DofEntity, EntityHandle, &NumeredDofEntity::getEnt > >, ordered_non_unique< tag< Composite_Name_And_Ent_And_EntDofIdx_mi_tag >, composite_key< NumeredDofEntity, const_mem_fun< NumeredDofEntity::interface_type_Field, boost::string_ref, &NumeredDofEntity::getNameRef >, const_mem_fun< NumeredDofEntity::interface_type_DofEntity, EntityHandle, &NumeredDofEntity::getEnt >, const_mem_fun< NumeredDofEntity::interface_type_DofEntity, DofIdx, &NumeredDofEntity::getEntDofIdx > > >, ordered_non_unique< tag< Composite_Name_And_Part_mi_tag >, composite_key< NumeredDofEntity, const_mem_fun< NumeredDofEntity::interface_type_Field, boost::string_ref, &NumeredDofEntity::getNameRef >, member< NumeredDofEntity, unsigned int, &NumeredDofEntity::pArt > > >, ordered_non_unique< tag< Composite_Name_Ent_And_Part_mi_tag >, composite_key< NumeredDofEntity, const_mem_fun< NumeredDofEntity::interface_type_Field, boost::string_ref, &NumeredDofEntity::getNameRef >, const_mem_fun< NumeredDofEntity::interface_type_DofEntity, EntityHandle, &NumeredDofEntity::getEnt >, member< NumeredDofEntity, unsigned int, &NumeredDofEntity::pArt > > > > > NumeredDofEntity_multiIndex
MultiIndex container keeps NumeredDofEntity.

◆ ~Problem()

MoFEM::Problem::~Problem ( )
virtual

Definition at line 62 of file ProblemsMultiIndices.cpp.

62 {}

Member Function Documentation

◆ getBitFEId()

BitFEId MoFEM::Problem::getBitFEId ( ) const

Definition at line 70 of file ProblemsMultiIndices.cpp.

70 { return *tagBitFEId; }
BitFEId * tagBitFEId
IDs of finite elements in problem.

◆ getBitRefLevel()

BitRefLevel MoFEM::Problem::getBitRefLevel ( ) const

Definition at line 682 of file ProblemsMultiIndices.hpp.

682 { return *tagBitRefLevel; }
BitRefLevel * tagBitRefLevel
BitRef level of finite elements in problem.

◆ getColDofsByPetscGlobalDofIdx()

MoFEMErrorCode MoFEM::Problem::getColDofsByPetscGlobalDofIdx ( DofIdx  idx,
const NumeredDofEntity **  dof_ptr 
) const

Definition at line 86 of file ProblemsMultiIndices.cpp.

87  {
89  NumeredDofEntity_multiIndex::index<PetscGlobalIdx_mi_tag>::type::iterator dit;
90  dit = numeredDofsCols->get<PetscGlobalIdx_mi_tag>().find(idx);
91  if (dit == numeredDofsCols->get<PetscGlobalIdx_mi_tag>().end()) {
92  SETERRQ1(PETSC_COMM_SELF, MOFEM_NOT_FOUND, "row dof <%d> not found", idx);
93  }
94  *dof_ptr = &*(*dit);
96 }
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:499
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:506
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getColDofsSequence()

boost::shared_ptr<SequenceDofContainer>& MoFEM::Problem::getColDofsSequence ( ) const

Get reference to sequence data numbered dof container.

In sequence data container data are physically stored. The purpose of this is to allocate NumeredDofEntity data in bulk, having only one allocation instead each time entity is inserted. That makes code efficient.

The vector in sequence is destroyed if last entity inside that vector is destroyed. All MoFEM::NumeredDofEntity have aliased shared_ptr which points to the vector.

Returns
MoFEM::Problem::SequenceDofContainer

Definition at line 784 of file ProblemsMultiIndices.hpp.

784  {
786  }
boost::shared_ptr< SequenceDofContainer > sequenceColDofContainer

◆ getComposedProblemsData()

boost::shared_ptr<ComposedProblemsData>& MoFEM::Problem::getComposedProblemsData ( ) const

Het composed problems data structure.

Definition at line 223 of file ProblemsMultiIndices.hpp.

223  {
224  return composedProblemsData;
225  }
boost::shared_ptr< ComposedProblemsData > composedProblemsData

◆ getDofByNameEntAndEntDofIdx()

MoFEMErrorCode MoFEM::Problem::getDofByNameEntAndEntDofIdx ( const string  name,
const EntityHandle  ent,
const int  ent_dof_idx,
const RowColData  row_or_col,
boost::shared_ptr< NumeredDofEntity > &  dof_ptr 
) const

get DOFs from problem

Note that ent_dof_idx is not coefficient number, is local number of DOFs on the entity. The coefficient number and local index of DOFs or entity are the same on vertices and H1 approximation.

Parameters
namefield name
ententity handle
ent_dof_idxindex of DOFs on entity
row_or_colROW or COL
dof_ptrshared pointer to DOFs if found
Returns
error code
Examples:
cell_forces.cpp.

Definition at line 141 of file ProblemsMultiIndices.cpp.

144  {
146  decltype(numeredDofsRows) numered_dofs;
147  switch (row_or_col) {
148  case ROW:
149  if (!numeredDofsRows) {
150  SETERRQ(PETSC_COMM_SELF, MOFEM_INVALID_DATA,
151  "Row numbered index in problem not allocated");
152  }
153  numered_dofs = numeredDofsRows;
154  break;
155  case COL:
156  if (!numeredDofsCols) {
157  SETERRQ(PETSC_COMM_SELF, MOFEM_INVALID_DATA,
158  "Col numbered index in problem not allocated");
159  }
160  numered_dofs = numeredDofsCols;
161  break;
162  default:
163  SETERRQ(PETSC_COMM_SELF, MOFEM_INVALID_DATA,
164  "Only ROW and COL is possible for 3rd argument");
165  }
166  auto it =
167  numered_dofs->get<Composite_Name_And_Ent_And_EntDofIdx_mi_tag>().find(
168  boost::make_tuple(name, ent, ent_dof_idx));
169  if (it !=
170  numered_dofs->get<Composite_Name_And_Ent_And_EntDofIdx_mi_tag>().end()) {
171  dof_ptr = *it;
172  } else {
173  dof_ptr = boost::shared_ptr<NumeredDofEntity>();
174  }
176 }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:475
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:405
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getId()

BitProblemId MoFEM::Problem::getId ( ) const

Definition at line 669 of file ProblemsMultiIndices.hpp.

669 { return *((BitProblemId *)tagId); }
BitProblemId * tagId
Unique problem ID.
std::bitset< BITPROBLEMID_SIZE > BitProblemId
Problem Id.
Definition: Types.hpp:55

◆ getMaskBitRefLevel()

BitRefLevel MoFEM::Problem::getMaskBitRefLevel ( ) const

Definition at line 683 of file ProblemsMultiIndices.hpp.

683 { return *tagMaskBitRefLevel; }
BitRefLevel * tagMaskBitRefLevel
BItRefMask of elements in problem.

◆ getName()

std::string MoFEM::Problem::getName ( ) const
Examples:
Remodeling.cpp.

Definition at line 671 of file ProblemsMultiIndices.hpp.

671  {
672  return std::string((char *)tagName, tagNameSize);
673  }
int tagNameSize
Size of problem name.
const char * tagName
Problem name.

◆ getNbDofsCol()

DofIdx MoFEM::Problem::getNbDofsCol ( ) const

Definition at line 676 of file ProblemsMultiIndices.hpp.

676 { return nbDofsCol; }
DofIdx nbDofsCol
Global number of DOFs in col.

◆ getNbDofsRow()

DofIdx MoFEM::Problem::getNbDofsRow ( ) const

Definition at line 675 of file ProblemsMultiIndices.hpp.

675 { return nbDofsRow; }
DofIdx nbDofsRow
Global number of DOFs in row.

◆ getNbGhostDofsCol()

DofIdx MoFEM::Problem::getNbGhostDofsCol ( ) const

Definition at line 680 of file ProblemsMultiIndices.hpp.

680 { return nbGhostDofsCol; }
DofIdx nbGhostDofsCol
Number of ghost DOFs in col.

◆ getNbGhostDofsRow()

DofIdx MoFEM::Problem::getNbGhostDofsRow ( ) const

Definition at line 679 of file ProblemsMultiIndices.hpp.

679 { return nbGhostDofsRow; }
DofIdx nbGhostDofsRow
Number of ghost DOFs in row.

◆ getNbLocalDofsCol()

DofIdx MoFEM::Problem::getNbLocalDofsCol ( ) const

Definition at line 678 of file ProblemsMultiIndices.hpp.

678 { return nbLocDofsCol; }
DofIdx nbLocDofsCol
Local number of DOFs in colIs.

◆ getNbLocalDofsRow()

DofIdx MoFEM::Problem::getNbLocalDofsRow ( ) const

Definition at line 677 of file ProblemsMultiIndices.hpp.

677 { return nbLocDofsRow; }
DofIdx nbLocDofsRow
Local number of DOFs in row.

◆ getNumberOfElementsByNameAndPart()

MoFEMErrorCode MoFEM::Problem::getNumberOfElementsByNameAndPart ( MPI_Comm  comm,
const std::string  name,
PetscLayout *  layout 
) const

Get number of finite elements by name on processors.

Size retuned IS is equal to size of processors.

What PetscLayout see, http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/IS/index.html

Example of usage for layout

PetscInt rstart, rend;
ierr = PetscLayoutGetRange(layout, &rstart, &rend); CHKERRG(ierr);
int global_size;
ierr = PetscLayoutGetSize(layout,&global_size); CHKERRG(ierr);
Parameters
commCommunicator
nameFinite element name
layoutGet number of elements on each processor
Returns
error code

Definition at line 99 of file ProblemsMultiIndices.cpp.

100  {
102  int size, rank;
103  MPI_Comm_size(comm, &size);
104  MPI_Comm_rank(comm, &rank);
105  ierr = PetscLayoutCreate(comm, layout);
106  CHKERRG(ierr);
107  ierr = PetscLayoutSetBlockSize(*layout, 1);
108  CHKERRG(ierr);
109  const NumeredEntFiniteElementbyNameAndPart &fe_by_name_and_part =
110  numeredFiniteElements.get<Composite_Name_And_Part_mi_tag>();
111  int nb_elems;
112  nb_elems = fe_by_name_and_part.count(boost::make_tuple(name, rank));
113  ierr = PetscLayoutSetLocalSize(*layout, nb_elems);
114  CHKERRG(ierr);
115  ierr = PetscLayoutSetUp(*layout);
116  CHKERRG(ierr);
118 }
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:499
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
Definition: definitions.h:542
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:506
NumeredEntFiniteElement_multiIndex::index< Composite_Name_And_Part_mi_tag >::type NumeredEntFiniteElementbyNameAndPart
Entity finite element multi-index by finite element name and partition.
NumeredEntFiniteElement_multiIndex numeredFiniteElements
store finite elements

◆ getNumberOfElementsByPart()

MoFEMErrorCode MoFEM::Problem::getNumberOfElementsByPart ( MPI_Comm  comm,
PetscLayout *  layout 
) const

Get number of finite elements on processors.

Size retuned IS is equal to size of processors.

What PetscLayout see, http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/IS/index.html

Example of usage for layout

PetscInt rstart, rend;
ierr = PetscLayoutGetRange(layout, &rstart, &rend); CHKERRG(ierr);
int global_size;
ierr = PetscLayoutGetSize(layout,&global_size); CHKERRG(ierr);
Parameters
commCommunicator
layoutGet number of elements on each processor
Returns
error code

Definition at line 120 of file ProblemsMultiIndices.cpp.

121  {
123  int size, rank;
124  MPI_Comm_size(comm, &size);
125  MPI_Comm_rank(comm, &rank);
126  ierr = PetscLayoutCreate(comm, layout);
127  CHKERRG(ierr);
128  ierr = PetscLayoutSetBlockSize(*layout, 1);
129  CHKERRG(ierr);
130  typedef NumeredEntFiniteElement_multiIndex::index<Part_mi_tag>::type FeByPart;
131  const FeByPart &fe_by_part = numeredFiniteElements.get<Part_mi_tag>();
132  int nb_elems;
133  nb_elems = fe_by_part.count(rank);
134  ierr = PetscLayoutSetLocalSize(*layout, nb_elems);
135  CHKERRG(ierr);
136  ierr = PetscLayoutSetUp(*layout);
137  CHKERRG(ierr);
139 }
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:499
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
Definition: definitions.h:542
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:506
NumeredEntFiniteElement_multiIndex numeredFiniteElements
store finite elements

◆ getNumeredDofsCols()

const boost::shared_ptr<NumeredDofEntity_multiIndex>& MoFEM::Problem::getNumeredDofsCols ( ) const

get access to numeredDofsCols storing DOFs on cols

Definition at line 116 of file ProblemsMultiIndices.hpp.

116  {
117  return numeredDofsCols;
118  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsBegin() [1/4]

NumeredDofEntity_multiIndex::iterator MoFEM::Problem::getNumeredDofsColsBegin ( ) const

get begin iterator for numeredDofsCols (insted you can use #_IT_NUMEREDDOFMOFEMENTITY_COL_FOR_LOOP_ for loops)

Definition at line 321 of file ProblemsMultiIndices.hpp.

321  {
322  return numeredDofsCols->begin();
323  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsBegin() [2/4]

NumeredDofEntityByFieldName::iterator MoFEM::Problem::getNumeredDofsColsBegin ( const std::string &  name) const

get begin iterator for numeredDofsCols (insted you can use _IT_NUMEREDDOF_COL_BY_NAME_FOR_LOOP_ for loops)

Definition at line 507 of file ProblemsMultiIndices.hpp.

507  {
508  return numeredDofsCols->get<FieldName_mi_tag>().lower_bound(name);
509  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsBegin() [3/4]

NumeredDofEntityByNameEntAndPart::iterator MoFEM::Problem::getNumeredDofsColsBegin ( const std::string &  name,
const EntityHandle  ent,
const int  part 
) const

get begin iterator for numeredDofsCols (insted you can use _IT_NUMEREDDOF_COL_BY_NAME_ENT_PART_FOR_LOOP_ for loops)

Definition at line 577 of file ProblemsMultiIndices.hpp.

578  {
579  return numeredDofsCols->get<Composite_Name_Ent_And_Part_mi_tag>()
580  .lower_bound(boost::make_tuple(name, ent, part));
581  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsBegin() [4/4]

NumeredDofEntity_multiIndex::iterator MoFEM::Problem::getNumeredDofsColsBegin ( const int  part) const

get begin iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_COL_BY_PART_FOR_LOOP_ for loops)

Definition at line 652 of file ProblemsMultiIndices.hpp.

652  {
653  return numeredDofsRows->get<Unique_mi_tag>().lower_bound(
655  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem
static UId getGlobalUniqueIdCalculate_Low_Proc(const int owner_proc)

◆ getNumeredDofsColsByEntBegin()

NumeredDofEntityByEnt::iterator MoFEM::Problem::getNumeredDofsColsByEntBegin ( const EntityHandle  ent) const

get begin iterator for numeredDofsCols (insted you can use _IT_NUMEREDDOF_COL_BY_ENT_FOR_LOOP_ for loops)

Definition at line 445 of file ProblemsMultiIndices.hpp.

445  {
446  return numeredDofsCols->get<Ent_mi_tag>().lower_bound(ent);
447  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsByEntEnd()

NumeredDofEntityByEnt::iterator MoFEM::Problem::getNumeredDofsColsByEntEnd ( const EntityHandle  ent) const

get end iterator for numeredDofsCols (insted you can use _IT_NUMEREDDOF_COL_BY_ENT_FOR_LOOP_ for loops)

Definition at line 452 of file ProblemsMultiIndices.hpp.

452  {
453  return numeredDofsCols->get<Ent_mi_tag>().upper_bound(ent);
454  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsByLocIdxBegin()

NumeredDofEntityByLocalIdx::iterator MoFEM::Problem::getNumeredDofsColsByLocIdxBegin ( const DofIdx  locidx) const

get begin iterator for numeredDofsCols (insted you can use _IT_NUMEREDDOF_COL_FOR_LOOP_ for loops)

Definition at line 383 of file ProblemsMultiIndices.hpp.

383  {
384  return numeredDofsCols->get<PetscLocalIdx_mi_tag>().lower_bound(locidx);
385  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsByLocIdxEnd()

NumeredDofEntityByLocalIdx::iterator MoFEM::Problem::getNumeredDofsColsByLocIdxEnd ( const DofIdx  locidx) const

get end iterator for numeredDofsCols (insted you can use _IT_NUMEREDDOF_COL_FOR_LOOP_ for loops)

Definition at line 390 of file ProblemsMultiIndices.hpp.

390  {
391  return numeredDofsCols->get<PetscLocalIdx_mi_tag>().upper_bound(locidx);
392  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsEnd() [1/4]

NumeredDofEntity_multiIndex::iterator MoFEM::Problem::getNumeredDofsColsEnd ( ) const

get end iterator for numeredDofsCols (insted you can use #_IT_NUMEREDDOFMOFEMENTITY_COL_FOR_LOOP_ for loops)

Definition at line 327 of file ProblemsMultiIndices.hpp.

327  {
328  return numeredDofsCols->end();
329  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsEnd() [2/4]

NumeredDofEntityByFieldName::iterator MoFEM::Problem::getNumeredDofsColsEnd ( const std::string &  name) const

get end iterator for numeredDofsCols (insted you can use _IT_NUMEREDDOF_COL_BY_NAME_FOR_LOOP_ for loops)

Definition at line 514 of file ProblemsMultiIndices.hpp.

514  {
515  return numeredDofsCols->get<FieldName_mi_tag>().upper_bound(name);
516  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsEnd() [3/4]

NumeredDofEntityByNameEntAndPart::iterator MoFEM::Problem::getNumeredDofsColsEnd ( const std::string &  name,
const EntityHandle  ent,
const int  part 
) const

get end iterator for numeredDofsCols (insted you can use _IT_NUMEREDDOF_COL_BY_NAME_ENT_PART_FOR_LOOP_ for loops)

Definition at line 586 of file ProblemsMultiIndices.hpp.

587  {
588  return numeredDofsCols->get<Composite_Name_Ent_And_Part_mi_tag>()
589  .upper_bound(boost::make_tuple(name, ent, part));
590  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsCols
store DOFs on columns for this problem

◆ getNumeredDofsColsEnd() [4/4]

NumeredDofEntity_multiIndex::iterator MoFEM::Problem::getNumeredDofsColsEnd ( const int  part) const

get end iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_COL_BY_PART_FOR_LOOP_ for loops)

Definition at line 660 of file ProblemsMultiIndices.hpp.

660  {
661  return numeredDofsRows->get<Unique_mi_tag>().upper_bound(
663  }
static UId getGlobalUniqueIdCalculate_Hi_Proc(const int owner_proc)
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRows()

const boost::shared_ptr<NumeredDofEntity_multiIndex>& MoFEM::Problem::getNumeredDofsRows ( ) const

get access to numeredDofsRows storing DOFs on rows

Definition at line 108 of file ProblemsMultiIndices.hpp.

108  {
109  return numeredDofsRows;
110  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsBegin() [1/4]

NumeredDofEntity_multiIndex::iterator MoFEM::Problem::getNumeredDofsRowsBegin ( ) const

get begin iterator for numeredDofsRows (insted you can use #_IT_NUMEREDDOFMOFEMENTITY_ROW_FOR_LOOP_ for loops)

Definition at line 309 of file ProblemsMultiIndices.hpp.

309  {
310  return numeredDofsRows->begin();
311  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsBegin() [2/4]

NumeredDofEntityByFieldName::iterator MoFEM::Problem::getNumeredDofsRowsBegin ( const std::string &  name) const

get begin iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_BY_NAME_FOR_LOOP_ for loops)

Definition at line 493 of file ProblemsMultiIndices.hpp.

493  {
494  return numeredDofsRows->get<FieldName_mi_tag>().lower_bound(name);
495  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsBegin() [3/4]

NumeredDofEntityByNameEntAndPart::iterator MoFEM::Problem::getNumeredDofsRowsBegin ( const std::string &  name,
const EntityHandle  ent,
const int  part 
) const

get begin iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_BY_NAME_ENT_PART_FOR_LOOP_ for loops)

Definition at line 559 of file ProblemsMultiIndices.hpp.

560  {
561  return numeredDofsRows->get<Composite_Name_Ent_And_Part_mi_tag>()
562  .lower_bound(boost::make_tuple(name, ent, part));
563  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsBegin() [4/4]

NumeredDofEntity_multiIndex::iterator MoFEM::Problem::getNumeredDofsRowsBegin ( const int  part) const

get begin iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_BY_OWNPROC_FOR_LOOP_ for loops)

Definition at line 615 of file ProblemsMultiIndices.hpp.

615  {
616  return numeredDofsRows->get<Unique_mi_tag>().lower_bound(
618  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem
static UId getGlobalUniqueIdCalculate_Low_Proc(const int owner_proc)

◆ getNumeredDofsRowsByEntBegin()

NumeredDofEntityByEnt::iterator MoFEM::Problem::getNumeredDofsRowsByEntBegin ( const EntityHandle  ent) const

get begin iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_BY_ENT_FOR_LOOP_ for loops)

Definition at line 431 of file ProblemsMultiIndices.hpp.

431  {
432  return numeredDofsRows->get<Ent_mi_tag>().lower_bound(ent);
433  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsByEntEnd()

NumeredDofEntityByEnt::iterator MoFEM::Problem::getNumeredDofsRowsByEntEnd ( const EntityHandle  ent) const

get end iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_BY_ENT_FOR_LOOP_ for loops)

Definition at line 438 of file ProblemsMultiIndices.hpp.

438  {
439  return numeredDofsRows->get<Ent_mi_tag>().upper_bound(ent);
440  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsByLocIdxBegin()

NumeredDofEntityByLocalIdx::iterator MoFEM::Problem::getNumeredDofsRowsByLocIdxBegin ( const DofIdx  locidx) const

get begin iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_FOR_LOOP_ for loops)

Definition at line 369 of file ProblemsMultiIndices.hpp.

369  {
370  return numeredDofsRows->get<PetscLocalIdx_mi_tag>().lower_bound(locidx);
371  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsByLocIdxEnd()

NumeredDofEntityByLocalIdx::iterator MoFEM::Problem::getNumeredDofsRowsByLocIdxEnd ( const DofIdx  locidx) const

get end iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_FOR_LOOP_ for loops)

Definition at line 376 of file ProblemsMultiIndices.hpp.

376  {
377  return numeredDofsRows->get<PetscLocalIdx_mi_tag>().upper_bound(locidx);
378  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsEnd() [1/4]

NumeredDofEntity_multiIndex::iterator MoFEM::Problem::getNumeredDofsRowsEnd ( ) const

get end iterator for numeredDofsRows (insted you can use #_IT_NUMEREDDOFMOFEMENTITY_ROW_FOR_LOOP_ for loops)

Definition at line 315 of file ProblemsMultiIndices.hpp.

315  {
316  return numeredDofsRows->end();
317  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsEnd() [2/4]

NumeredDofEntityByFieldName::iterator MoFEM::Problem::getNumeredDofsRowsEnd ( const std::string &  name) const

get end iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_BY_NAME_FOR_LOOP_ for loops)

Definition at line 500 of file ProblemsMultiIndices.hpp.

500  {
501  return numeredDofsRows->get<FieldName_mi_tag>().upper_bound(name);
502  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsEnd() [3/4]

NumeredDofEntityByNameEntAndPart::iterator MoFEM::Problem::getNumeredDofsRowsEnd ( const std::string &  name,
const EntityHandle  ent,
const int  part 
) const

get end iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_BY_NAME_ENT_PART_FOR_LOOP_ for loops)

Definition at line 568 of file ProblemsMultiIndices.hpp.

569  {
570  return numeredDofsRows->get<Composite_Name_Ent_And_Part_mi_tag>()
571  .upper_bound(boost::make_tuple(name, ent, part));
572  }
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredDofsRowsEnd() [4/4]

NumeredDofEntity_multiIndex::iterator MoFEM::Problem::getNumeredDofsRowsEnd ( const int  part) const

get end iterator for numeredDofsRows (insted you can use _IT_NUMEREDDOF_ROW_BY_OWNPROC_FOR_LOOP_ for loops)

Definition at line 623 of file ProblemsMultiIndices.hpp.

623  {
624  return numeredDofsRows->get<Unique_mi_tag>().upper_bound(
626  }
static UId getGlobalUniqueIdCalculate_Hi_Proc(const int owner_proc)
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getNumeredFEsBegin()

NumeredEntFiniteElementbyName::iterator MoFEM::Problem::getNumeredFEsBegin ( std::string  fe_name) const

Definition at line 262 of file ProblemsMultiIndices.hpp.

262  {
263  return numeredFiniteElements.get<FiniteElement_name_mi_tag>().lower_bound(
264  fe_name);
265  }
NumeredEntFiniteElement_multiIndex numeredFiniteElements
store finite elements

◆ getNumeredFEsEnd()

NumeredEntFiniteElementbyName::iterator MoFEM::Problem::getNumeredFEsEnd ( std::string  fe_name) const

Definition at line 268 of file ProblemsMultiIndices.hpp.

268  {
269  return numeredFiniteElements.get<FiniteElement_name_mi_tag>().upper_bound(
270  fe_name);
271  }
NumeredEntFiniteElement_multiIndex numeredFiniteElements
store finite elements

◆ getNumeredFiniteElements()

const NumeredEntFiniteElement_multiIndex& MoFEM::Problem::getNumeredFiniteElements ( ) const

get access to reference for multi-index storing finite elements

Definition at line 123 of file ProblemsMultiIndices.hpp.

123  {
124  return numeredFiniteElements;
125  }
NumeredEntFiniteElement_multiIndex numeredFiniteElements
store finite elements

◆ getRowDofsByPetscGlobalDofIdx()

MoFEMErrorCode MoFEM::Problem::getRowDofsByPetscGlobalDofIdx ( DofIdx  idx,
const NumeredDofEntity **  dof_ptr 
) const

Definition at line 73 of file ProblemsMultiIndices.cpp.

74  {
76  NumeredDofEntity_multiIndex::index<PetscGlobalIdx_mi_tag>::type::iterator dit;
77  dit = numeredDofsRows->get<PetscGlobalIdx_mi_tag>().find(idx);
78  if (dit == numeredDofsRows->get<PetscGlobalIdx_mi_tag>().end()) {
79  SETERRQ1(PETSC_COMM_SELF, MOFEM_NOT_FOUND, "row dof <%d> not found", idx);
80  }
81  *dof_ptr = &*(*dit);
83 }
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:499
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:506
boost::shared_ptr< NumeredDofEntity_multiIndex > numeredDofsRows
store DOFs on rows for this problem

◆ getRowDofsSequence()

boost::shared_ptr<SequenceDofContainer>& MoFEM::Problem::getRowDofsSequence ( ) const

Get reference to sequence data numbered dof container.

In sequence data container data are physically stored. The purpose of this is to allocate NumeredDofEntity data in bulk, having only one allocation instead each time entity is inserted. That makes code efficient.

The vector in sequence is destroyed if last entity inside that vector is destroyed. All MoFEM::NumeredDofEntity have aliased shared_ptr which points to the vector.

Returns
MoFEM::Problem::SequenceDofContainer

Definition at line 766 of file ProblemsMultiIndices.hpp.

766  {
768  }
boost::shared_ptr< SequenceDofContainer > sequenceRowDofContainer

◆ getSubData()

boost::shared_ptr<SubProblemData>& MoFEM::Problem::getSubData ( ) const

Get main problem of sub-problem is.

Returns
sub problem data structure
Examples:
cell_forces.cpp.

Definition at line 210 of file ProblemsMultiIndices.hpp.

210  {
211  return subProblemData;
212  }
boost::shared_ptr< SubProblemData > subProblemData

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Problem e 
)
friend

Definition at line 64 of file ProblemsMultiIndices.cpp.

64  {
65  os << "problem id " << e.getId() << " FiniteElement id " << e.getBitFEId()
66  << " name " << e.getName();
67  return os;
68 }

Member Data Documentation

◆ composedProblemsData

boost::shared_ptr<ComposedProblemsData> MoFEM::Problem::composedProblemsData
mutable

Pointer to data structure from which this problem is composed

Definition at line 217 of file ProblemsMultiIndices.hpp.

◆ meshset

EntityHandle MoFEM::Problem::meshset

Problem meshset (on tag of this meshset all data related to problem are stored)

Definition at line 81 of file ProblemsMultiIndices.hpp.

◆ nbDofsCol

DofIdx MoFEM::Problem::nbDofsCol
mutable

Global number of DOFs in col.

Definition at line 91 of file ProblemsMultiIndices.hpp.

◆ nbDofsRow

DofIdx MoFEM::Problem::nbDofsRow
mutable

Global number of DOFs in row.

Definition at line 90 of file ProblemsMultiIndices.hpp.

◆ nbGhostDofsCol

DofIdx MoFEM::Problem::nbGhostDofsCol
mutable

Number of ghost DOFs in col.

Definition at line 95 of file ProblemsMultiIndices.hpp.

◆ nbGhostDofsRow

DofIdx MoFEM::Problem::nbGhostDofsRow
mutable

Number of ghost DOFs in row.

Definition at line 94 of file ProblemsMultiIndices.hpp.

◆ nbLocDofsCol

DofIdx MoFEM::Problem::nbLocDofsCol
mutable

Local number of DOFs in colIs.

Definition at line 93 of file ProblemsMultiIndices.hpp.

◆ nbLocDofsRow

DofIdx MoFEM::Problem::nbLocDofsRow
mutable

Local number of DOFs in row.

Definition at line 92 of file ProblemsMultiIndices.hpp.

◆ numeredDofsCols

boost::shared_ptr<NumeredDofEntity_multiIndex> MoFEM::Problem::numeredDofsCols
mutable

store DOFs on columns for this problem

Definition at line 100 of file ProblemsMultiIndices.hpp.

◆ numeredDofsRows

boost::shared_ptr<NumeredDofEntity_multiIndex> MoFEM::Problem::numeredDofsRows
mutable

store DOFs on rows for this problem

Definition at line 98 of file ProblemsMultiIndices.hpp.

◆ numeredFiniteElements

NumeredEntFiniteElement_multiIndex MoFEM::Problem::numeredFiniteElements
mutable

store finite elements

Definition at line 102 of file ProblemsMultiIndices.hpp.

◆ sequenceColDofContainer

boost::shared_ptr<SequenceDofContainer> MoFEM::Problem::sequenceColDofContainer
mutableprivate

Definition at line 791 of file ProblemsMultiIndices.hpp.

◆ sequenceRowDofContainer

boost::shared_ptr<SequenceDofContainer> MoFEM::Problem::sequenceRowDofContainer
mutableprivate

Definition at line 790 of file ProblemsMultiIndices.hpp.

◆ subProblemData

boost::shared_ptr<SubProblemData> MoFEM::Problem::subProblemData
mutable

Pointer to data structure. This pointer has allocated data only for sub problems.

Definition at line 204 of file ProblemsMultiIndices.hpp.

◆ tagBitFEId

BitFEId* MoFEM::Problem::tagBitFEId

IDs of finite elements in problem.

Definition at line 86 of file ProblemsMultiIndices.hpp.

◆ tagBitRefLevel

BitRefLevel* MoFEM::Problem::tagBitRefLevel

BitRef level of finite elements in problem.

Definition at line 87 of file ProblemsMultiIndices.hpp.

◆ tagId

BitProblemId* MoFEM::Problem::tagId

Unique problem ID.

Definition at line 83 of file ProblemsMultiIndices.hpp.

◆ tagMaskBitRefLevel

BitRefLevel* MoFEM::Problem::tagMaskBitRefLevel

BItRefMask of elements in problem.

Definition at line 88 of file ProblemsMultiIndices.hpp.

◆ tagName

const char* MoFEM::Problem::tagName

Problem name.

Definition at line 84 of file ProblemsMultiIndices.hpp.

◆ tagNameSize

int MoFEM::Problem::tagNameSize

Size of problem name.

Definition at line 85 of file ProblemsMultiIndices.hpp.


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