v0.11.1
Macros
Problems structures and multi-indices
Collaboration diagram for Problems structures and multi-indices:

Macros

#define _IT_NUMEREDFE_BY_NAME_FOR_LOOP_(PROBLEMPTR, NAME, IT)
 
#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++

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 513 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDDOF_COL_BY_ENT_FOR_LOOP_

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

use with loops to iterate col DOFs

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

Definition at line 447 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 326 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 493 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDDOF_ROW_BY_ENT_FOR_LOOP_

#define _IT_NUMEREDDOF_ROW_BY_ENT_FOR_LOOP_ (   PROBLEMPTR,
  ENT,
  IT 
)
Value:
NumeredDofEntityByEnt::iterator 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 430 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 367 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 309 of file ProblemsMultiIndices.hpp.

◆ _IT_NUMEREDFE_BY_NAME_FOR_LOOP_

#define _IT_NUMEREDFE_BY_NAME_FOR_LOOP_ (   PROBLEMPTR,
  NAME,
  IT 
)
Value:
NumeredEntFiniteElementbyName::iterator IT = \
PROBLEMPTR->getNumeredFEsBegin(NAME); \
IT != PROBLEMPTR->getNumeredFEsEnd(NAME); \
IT++

use with loops to iterate problem fes

for(IT_NUMEREDFE_BY_NAME_FOR_LOOP(PROBLEMPTR,NAME,IT)) { ... }

Definition at line 280 of file ProblemsMultiIndices.hpp.