#include <gfemControl.h>


Public Types | |
| enum | tagInfo |
| Enumeration of the bit values in data_. More... | |
Public Member Functions | |
| void | activate () |
| void | deactivate () |
| int & | getFirstOverlapDof () const |
| int | getGdof (int num) const |
| int | getNumDofs () const |
| const int * | getPs () const |
| const UnitcellMask * | getUC () const |
| UnitcellMask * | getUC () |
| GfemControl (tagInfo tag=NO_TAG) | |
| GfemControl (const GfemControl &other) | |
| bool | hasDof () const |
| bool | hasMicroStructure () const |
| Query if micro oscilations should be used. | |
| bool | hasScaleRes () const |
| Query if scale resolution should be used. | |
| bool | idxValid () const |
| Checks for a valid index. | |
| void | invalidateIdx () |
| void | invalidateP () |
| bool | isActive () const |
| Checks activity. | |
| bool | isMember () const |
| Checks member of the space. | |
| bool | isOverlap () const |
| bool | isPassive () const |
| Checks activity. | |
| void | minPs (const int *ps) |
| bool | pValid () const |
| Checks for a valid polynomial degree. | |
| void | setGdof (int dof, int numDofs=1) |
| void | setMicroStruct (const Unitcell &uc, bool scaleRes) |
| void | setOverlap (bool overlap) |
| void | setPs (const int *ps) |
| void | takeIn () |
| Takes into the space. | |
| void | takeOut () |
| Takes out of the space. | |
| void | validateIdx () |
| void | validateP () |
| ~GfemControl () | |
Public Attributes | |
| uchar | data_ |
| Control information. | |
Static Public Attributes | |
| static const bool | NO_SCALE_RES = false |
| static const int | UNSET_DOF = -1 |
| static const bool | USE_SCALE_RES = true |
Private Member Functions | |
| GfemControl & | operator= (const GfemControl &other) |
Private Attributes | |
| int | firstGDof |
| int | firstOverlapDof |
| int | numDofs |
| bool | overlapping |
| int | Ps [dim] |
| bool | scaleResolution |
| if scale resolution is used for inner cells | |
| UnitcellMask * | uc |
| a Unitcell instance specifying the micro oscilations | |
Definition at line 16 of file gfemControl.h.
| enum concepts::AdaptiveControlTag::tagInfo |
Enumeration of the bit values in data_.
This makes the handling of the bits in the data_ easier: to check
(data_ & MEMBER) != 0
(data_ & PASSIVE) == 0
or to change
data_ |= PASSIVE;
data_ &= ~PASSIVE;
| concepts::gfem::GfemControl< dim >::GfemControl | ( | tagInfo | tag = NO_TAG | ) | [inline] |
Definition at line 21 of file gfemControl.h.
| concepts::gfem::GfemControl< dim >::~GfemControl | ( | ) | [inline] |
Definition at line 39 of file gfemControl.h.
| concepts::gfem::GfemControl< dim >::GfemControl | ( | const GfemControl< dim > & | other | ) | [inline] |
| void concepts::AdaptiveControlTag::activate | ( | ) | [inline, inherited] |
| void concepts::AdaptiveControlTag::deactivate | ( | ) | [inline, inherited] |
| int& concepts::gfem::GfemControl< dim >::getFirstOverlapDof | ( | ) | const [inline] |
Definition at line 136 of file gfemControl.h.
| int concepts::gfem::GfemControl< dim >::getGdof | ( | int | num | ) | const [inline] |
Definition at line 110 of file gfemControl.h.
| int concepts::gfem::GfemControl< dim >::getNumDofs | ( | ) | const [inline] |
Definition at line 115 of file gfemControl.h.
| const int* concepts::gfem::GfemControl< dim >::getPs | ( | ) | const [inline] |
Definition at line 88 of file gfemControl.h.
| UnitcellMask* concepts::gfem::GfemControl< dim >::getUC | ( | ) | [inline] |
Definition at line 145 of file gfemControl.h.
| const UnitcellMask* concepts::gfem::GfemControl< dim >::getUC | ( | ) | const [inline] |
Definition at line 141 of file gfemControl.h.
| bool concepts::gfem::GfemControl< dim >::hasDof | ( | ) | const [inline] |
Definition at line 106 of file gfemControl.h.
| bool concepts::gfem::GfemControl< dim >::hasMicroStructure | ( | ) | const [inline] |
Query if micro oscilations should be used.
Definition at line 76 of file gfemControl.h.
| bool concepts::gfem::GfemControl< dim >::hasScaleRes | ( | ) | const [inline] |
Query if scale resolution should be used.
Definition at line 83 of file gfemControl.h.
| bool concepts::AdaptiveControlTag::idxValid | ( | ) | const [inline, inherited] |
| void concepts::AdaptiveControlTag::invalidateIdx | ( | ) | [inline, inherited] |
| void concepts::AdaptiveControlTag::invalidateP | ( | ) | [inline, inherited] |
| bool concepts::AdaptiveControlTag::isActive | ( | ) | const [inline, inherited] |
| bool concepts::AdaptiveControlTag::isMember | ( | ) | const [inline, inherited] |
| bool concepts::gfem::GfemControl< dim >::isOverlap | ( | ) | const [inline] |
Definition at line 119 of file gfemControl.h.
| bool concepts::AdaptiveControlTag::isPassive | ( | ) | const [inline, inherited] |
Checks activity.
Note: isPassive() == !isActive().
| void concepts::gfem::GfemControl< dim >::minPs | ( | const int * | ps | ) | [inline] |
Definition at line 100 of file gfemControl.h.

| GfemControl& concepts::gfem::GfemControl< dim >::operator= | ( | const GfemControl< dim > & | other | ) | [private] |
| bool concepts::AdaptiveControlTag::pValid | ( | ) | const [inline, inherited] |
| void concepts::gfem::GfemControl< dim >::setGdof | ( | int | dof, |
| int | numDofs = 1 |
||
| ) | [inline] |
| void concepts::gfem::GfemControl< dim >::setMicroStruct | ( | const Unitcell & | uc, |
| bool | scaleRes | ||
| ) | [inline] |
Definition at line 68 of file gfemControl.h.
| void concepts::gfem::GfemControl< dim >::setOverlap | ( | bool | overlap | ) | [inline] |
Definition at line 123 of file gfemControl.h.
| void concepts::gfem::GfemControl< dim >::setPs | ( | const int * | ps | ) | [inline] |
Definition at line 93 of file gfemControl.h.
| void concepts::AdaptiveControlTag::takeIn | ( | ) | [inline, inherited] |
| void concepts::AdaptiveControlTag::takeOut | ( | ) | [inline, inherited] |
| void concepts::AdaptiveControlTag::validateIdx | ( | ) | [inline, inherited] |
| void concepts::AdaptiveControlTag::validateP | ( | ) | [inline, inherited] |
uchar concepts::AdaptiveControlTag::data_ [inherited] |
Control information.
The information stored in the tag has to be viewed as a bit field containing the following information:
bit 0: member of the space (1), not member(0)
bit 1: passive(1), active(0) (eg. for enforcing boundary conditions)
bit 2: valid index, ie. this index is already used for assembling, useful for enforcing continuity of the solution
bit 3: valid p (for high order methods)
int concepts::gfem::GfemControl< dim >::firstGDof [private] |
Definition at line 151 of file gfemControl.h.
int concepts::gfem::GfemControl< dim >::firstOverlapDof [private] |
Definition at line 152 of file gfemControl.h.
const bool concepts::gfem::GfemControl< dim >::NO_SCALE_RES = false [static] |
Definition at line 18 of file gfemControl.h.
int concepts::gfem::GfemControl< dim >::numDofs [private] |
Definition at line 153 of file gfemControl.h.
bool concepts::gfem::GfemControl< dim >::overlapping [private] |
Definition at line 160 of file gfemControl.h.
int concepts::gfem::GfemControl< dim >::Ps[dim] [private] |
Definition at line 156 of file gfemControl.h.
bool concepts::gfem::GfemControl< dim >::scaleResolution [private] |
if scale resolution is used for inner cells
Definition at line 159 of file gfemControl.h.
UnitcellMask* concepts::gfem::GfemControl< dim >::uc [private] |
a Unitcell instance specifying the micro oscilations
Definition at line 158 of file gfemControl.h.
const int concepts::gfem::GfemControl< dim >::UNSET_DOF = -1 [static] |
Definition at line 149 of file gfemControl.h.
const bool concepts::gfem::GfemControl< dim >::USE_SCALE_RES = true [static] |
Definition at line 19 of file gfemControl.h.