v0.14.0
Loading...
Searching...
No Matches
Classes | Macros
Problems structures and multi-indices
Collaboration diagram for Problems structures and multi-indices:

Classes

struct  MoFEM::Problem
 keeps basic data about problem More...
 
struct  MoFEM::ProblemChangeRefLevelBitAdd
 add ref level to problem More...
 
struct  MoFEM::ProblemChangeRefLevelBitSet
 set ref level to problem More...
 
struct  MoFEM::ProblemChangeRefLevelBitDofMaskSet
 set prof dof bit ref mask More...
 
struct  MoFEM::ProblemFiniteElementChangeBitAdd
 add finite element to problem More...
 
struct  MoFEM::ProblemChangeRefLevelBitDofMaskAdd
 set prof dof bit ref mask More...
 
struct  MoFEM::ProblemFiniteElementChangeBitUnSet
 remove finite element from problem More...
 
struct  MoFEM::ProblemZeroNbRowsChange
 zero nb. of DOFs in row More...
 
struct  MoFEM::ProblemZeroNbColsChange
 zero nb. of DOFs in col More...
 
struct  MoFEM::ProblemClearNumeredFiniteElementsChange
 clear problem finite elements More...
 

Macros

#define _IT_NUMEREDDOF_ROW_FOR_LOOP_(PROBLEMPTR, IT)
 use with loops to iterate row DOFs More...
 
#define _IT_NUMEREDDOF_COL_FOR_LOOP_(PROBLEMPTR, IT)
 
#define _IT_NUMEREDDOF_ROW_BY_LOCIDX_FOR_LOOP_(PROBLEMPTR, IT)
 use with loops to iterate row DOFs More...
 
#define _IT_NUMEREDDOF_ROW_BY_ENT_FOR_LOOP_(PROBLEMPTR, ENT, IT)
 use with loops to iterate row DOFs More...
 
#define _IT_NUMEREDDOF_COL_BY_ENT_FOR_LOOP_(PROBLEMPTR, ENT, IT)
 use with loops to iterate col DOFs More...
 
#define _IT_NUMEREDDOF_ROW_BY_BITNUMBER_FOR_LOOP_(PROBLEMPTR, FIELD_BIT_NUMBER, IT)
 
#define _IT_NUMEREDDOF_COL_BY_BITNUMBER_FOR_LOOP_(PROBLEMPTR, FIELD_BIT_NUMBER, IT)
 use with loops to iterate col DOFs More...
 

Detailed Description

Macro Definition Documentation

◆ _IT_NUMEREDDOF_COL_BY_BITNUMBER_FOR_LOOP_

#define _IT_NUMEREDDOF_COL_BY_BITNUMBER_FOR_LOOP_ (   PROBLEMPTR,
  FIELD_BIT_NUMBER,
  IT 
)
Value:
auto IT = PROBLEMPTR->numeredColDofsPtr->lower_bound( \
FieldEntity::getLoBitNumberUId(FIELD_BIT_NUMBER)); \
IT != PROBLEMPTR->numeredColDofsPtr->upper_bound( \
FieldEntity::getHiBitNumberUId(FIELD_BIT_NUMBER)); \
IT++
constexpr IntegrationType IT
Definition: plastic.cpp:47

use with loops to iterate col DOFs

for(_IT_NUMEREDDOF_COL_BY_BITNUMBER_FOR_LOOP_(PROBLEMPTR,m_field.get_field_bit_number(FIELD_BIT_NUMBER),IT))
{
...
}
#define _IT_NUMEREDDOF_COL_BY_BITNUMBER_FOR_LOOP_(PROBLEMPTR, FIELD_BIT_NUMBER, IT)
use with loops to iterate col DOFs

Definition at line 358 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDDOF_COL_BY_ENT_FOR_LOOP_

#define _IT_NUMEREDDOF_COL_BY_ENT_FOR_LOOP_ (   PROBLEMPTR,
  ENT,
  IT 
)
Value:
auto IT = PROBLEMPTR->getNumeredColDofsByEntBegin(ENT); \
IT != PROBLEMPTR->getNumeredColDofsByEntEnd(ENT); \
IT++

use with loops to iterate col DOFs

...
}
#define _IT_NUMEREDDOF_COL_BY_ENT_FOR_LOOP_(PROBLEMPTR, ENT, IT)
use with loops to iterate col DOFs

Definition at line 297 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDDOF_COL_FOR_LOOP_

#define _IT_NUMEREDDOF_COL_FOR_LOOP_ (   PROBLEMPTR,
  IT 
)
Value:
NumeredDofEntity_multiIndex::iterator IT = \
PROBLEMPTR->getNumeredColDofsBegin(); \
IT != PROBLEMPTR->getNumeredColDofsEnd(); \
IT++

use with loops to iterate col DOFs

for(_IT_NUMEREDDOF_COL_FOR_LOOP_(PROBLEMPTR,IT)) {
...
}
#define _IT_NUMEREDDOF_COL_FOR_LOOP_(PROBLEMPTR, IT)

Definition at line 181 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDDOF_ROW_BY_BITNUMBER_FOR_LOOP_

#define _IT_NUMEREDDOF_ROW_BY_BITNUMBER_FOR_LOOP_ (   PROBLEMPTR,
  FIELD_BIT_NUMBER,
  IT 
)
Value:
auto IT = PROBLEMPTR->numeredRowDofsPtr->lower_bound( \
FieldEntity::getLoBitNumberUId(FIELD_BIT_NUMBER)); \
IT != PROBLEMPTR->numeredRowDofsPtr->upper_bound( \
FieldEntity::getHiBitNumberUId(FIELD_BIT_NUMBER)); \
IT++

use with loops to iterate row DOFs

for(_IT_NUMEREDDOF_BY_NAME_ROW_FOR_LOOP_(PROBLEMPTR,m_field.get_field_bit_number(FIELD_BIT_NUMBER),IT))
{
...
}

Definition at line 338 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDDOF_ROW_BY_ENT_FOR_LOOP_

#define _IT_NUMEREDDOF_ROW_BY_ENT_FOR_LOOP_ (   PROBLEMPTR,
  ENT,
  IT 
)
Value:
auto IT = PROBLEMPTR->getNumeredRowDofsByEntBegin(ENT); \
IT != PROBLEMPTR->getNumeredRowDofsByEntEnd(ENT); \
IT++

use with loops to iterate row DOFs

for(_IT_NUMEREDDOF_BY_ENT_ROW_FOR_LOOP_(PROBLEMPTR,ENT,IT)) {
...
}

Definition at line 281 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDDOF_ROW_BY_LOCIDX_FOR_LOOP_

#define _IT_NUMEREDDOF_ROW_BY_LOCIDX_FOR_LOOP_ (   PROBLEMPTR,
  IT 
)
Value:
NumeredDofEntityByLocalIdx::iterator IT = \
PROBLEMPTR->getNumeredRowDofsByLocIdxBegin(0); \
IT != PROBLEMPTR->getNumeredRowDofsByLocIdxEnd( \
PROBLEMPTR->getNbLocalDofsRow() - 1); \
IT++

use with loops to iterate row DOFs

...
}
#define _IT_NUMEREDDOF_ROW_BY_LOCIDX_FOR_LOOP_(PROBLEMPTR, IT)
use with loops to iterate row DOFs

Definition at line 222 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDDOF_ROW_FOR_LOOP_

#define _IT_NUMEREDDOF_ROW_FOR_LOOP_ (   PROBLEMPTR,
  IT 
)
Value:
NumeredDofEntity_multiIndex::iterator IT = \
PROBLEMPTR->getNumeredRowDofsBegin(); \
IT != PROBLEMPTR->getNumeredRowDofsEnd(); \
IT++

use with loops to iterate row DOFs

for(_IT_NUMEREDDOF_ROW_FOR_LOOP_(PROBLEMPTR,IT)) {
...
}
#define _IT_NUMEREDDOF_ROW_FOR_LOOP_(PROBLEMPTR, IT)
use with loops to iterate row DOFs
Examples
simple_elasticity.cpp.

Definition at line 164 of file ProblemsMultiIndices.hpp.