Tag information which is used in AdaptiveControl.
More...
#include <space.hh>
Tag information which is used in AdaptiveControl.
- Author
- Philipp Frauenfelder, 2001
Definition at line 142 of file space.hh.
◆ tagInfo
Enumeration of the bit values in data_.
This makes the handling of the bits in the data_ easier: to check
-
for 'member of the space':
(data_ & MEMBER) != 0
-
for 'active':
(data_ & PASSIVE) == 0
or to change
-
to 'passive':
data_ |= PASSIVE;
-
to 'active':
data_ &= ~PASSIVE;
Enumerator |
---|
NO_TAG | |
MEMBER | |
PASSIVE | |
VLD_IDX | |
VLD_P | |
Definition at line 156 of file space.hh.
◆ AdaptiveControlTag()
concepts::AdaptiveControlTag::AdaptiveControlTag |
( |
uchar |
t = 0 | ) |
|
|
inline |
◆ activate()
void concepts::AdaptiveControlTag::activate |
( |
| ) |
|
|
inline |
◆ deactivate()
void concepts::AdaptiveControlTag::deactivate |
( |
| ) |
|
|
inline |
◆ idxValid()
bool concepts::AdaptiveControlTag::idxValid |
( |
| ) |
const |
|
inline |
Checks for a valid index.
- Returns
- True if the index is valid
Definition at line 200 of file space.hh.
◆ invalidateIdx()
void concepts::AdaptiveControlTag::invalidateIdx |
( |
| ) |
|
|
inline |
◆ invalidateP()
void concepts::AdaptiveControlTag::invalidateP |
( |
| ) |
|
|
inline |
◆ isActive()
bool concepts::AdaptiveControlTag::isActive |
( |
| ) |
const |
|
inline |
Checks activity.
- Returns
- True if 'active'
Definition at line 187 of file space.hh.
◆ isMember()
bool concepts::AdaptiveControlTag::isMember |
( |
| ) |
const |
|
inline |
Checks member of the space.
- Returns
- True if 'member of the space'
Definition at line 178 of file space.hh.
◆ isPassive()
bool concepts::AdaptiveControlTag::isPassive |
( |
| ) |
const |
|
inline |
◆ operator=()
uchar concepts::AdaptiveControlTag::operator= |
( |
const uchar & |
t | ) |
|
|
inline |
Assignement operator.
Definition at line 173 of file space.hh.
◆ pValid()
bool concepts::AdaptiveControlTag::pValid |
( |
| ) |
const |
|
inline |
Checks for a valid polynomial degree.
- Returns
- True if the polynomial degree is valid
Definition at line 207 of file space.hh.
◆ takeIn()
void concepts::AdaptiveControlTag::takeIn |
( |
| ) |
|
|
inline |
Takes into the space.
Definition at line 180 of file space.hh.
◆ takeOut()
void concepts::AdaptiveControlTag::takeOut |
( |
| ) |
|
|
inline |
Takes out of the space.
Definition at line 182 of file space.hh.
◆ validateIdx()
void concepts::AdaptiveControlTag::validateIdx |
( |
| ) |
|
|
inline |
◆ validateP()
void concepts::AdaptiveControlTag::validateP |
( |
| ) |
|
|
inline |
◆ data_
uchar concepts::AdaptiveControlTag::data_ |
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)
Definition at line 167 of file space.hh.
The documentation for this struct was generated from the following file: