Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::AdaptiveControlTag Struct Reference

#include <space.hh>

Public Types

enum  tagInfo {
  NO_TAG = 0 , MEMBER = 1 , PASSIVE = 2 , VLD_IDX = 4 ,
  VLD_P = 8
}
 

Public Member Functions

 AdaptiveControlTag (uchar t=0)
 Constructor.
 
uchar operator= (const uchar &t)
 Assignement operator.
 
bool isMember () const
 
void takeIn ()
 Takes into the space.
 
void takeOut ()
 Takes out of the space.
 
bool isActive () const
 
bool isPassive () const
 
void activate ()
 
void deactivate ()
 
bool idxValid () const
 
void validateIdx ()
 
void invalidateIdx ()
 
bool pValid () const
 
void validateP ()
 
void invalidateP ()
 

Public Attributes

uchar data_
 

Detailed Description

Tag information which is used in AdaptiveControl.

Author
Philipp Frauenfelder, 2001

Definition at line 142 of file space.hh.

Member Enumeration Documentation

◆ 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;

Definition at line 156 of file space.hh.

Constructor & Destructor Documentation

◆ AdaptiveControlTag()

concepts::AdaptiveControlTag::AdaptiveControlTag ( uchar  t = 0)
inline

Constructor.

Definition at line 170 of file space.hh.

Member Function Documentation

◆ activate()

void concepts::AdaptiveControlTag::activate ( )
inline

Definition at line 194 of file space.hh.

◆ deactivate()

void concepts::AdaptiveControlTag::deactivate ( )
inline

Definition at line 195 of file space.hh.

◆ 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

Definition at line 202 of file space.hh.

◆ invalidateP()

void concepts::AdaptiveControlTag::invalidateP ( )
inline

Definition at line 209 of file space.hh.

◆ 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

Checks activity. Note: isPassive() == !isActive().

Returns
True if 'passive'
Deprecated:
: user !isActive()

Definition at line 193 of file space.hh.

◆ 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

Definition at line 201 of file space.hh.

◆ validateP()

void concepts::AdaptiveControlTag::validateP ( )
inline

Definition at line 208 of file space.hh.

Member Data Documentation

◆ 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: