Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
concepts::gfem::GfemControl< dim > Struct Template Reference

#include <gfemControl.h>

Inheritance diagram for concepts::gfem::GfemControl< dim >:
Inheritance graph
[legend]
Collaboration diagram for concepts::gfem::GfemControl< dim >:
Collaboration graph
[legend]

List of all members.

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 UnitcellMaskgetUC () const
UnitcellMaskgetUC ()
 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

GfemControloperator= (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
UnitcellMaskuc
 a Unitcell instance specifying the micro oscilations

Detailed Description

template<uint dim>
struct concepts::gfem::GfemControl< dim >

Definition at line 16 of file gfemControl.h.


Member Enumeration Documentation

template<uint dim>
enum concepts::AdaptiveControlTag::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 101 of file space.hh.


Constructor & Destructor Documentation

template<uint dim>
concepts::gfem::GfemControl< dim >::GfemControl ( tagInfo  tag = NO_TAG) [inline]

Definition at line 21 of file gfemControl.h.

template<uint dim>
concepts::gfem::GfemControl< dim >::~GfemControl ( ) [inline]

Definition at line 39 of file gfemControl.h.

template<uint dim>
concepts::gfem::GfemControl< dim >::GfemControl ( const GfemControl< dim > &  other) [inline]

Definition at line 47 of file gfemControl.h.

Here is the call graph for this function:


Member Function Documentation

void concepts::AdaptiveControlTag::activate ( ) [inline, inherited]

Definition at line 139 of file space.hh.

void concepts::AdaptiveControlTag::deactivate ( ) [inline, inherited]

Definition at line 140 of file space.hh.

template<uint dim>
int& concepts::gfem::GfemControl< dim >::getFirstOverlapDof ( ) const [inline]

Definition at line 136 of file gfemControl.h.

template<uint dim>
int concepts::gfem::GfemControl< dim >::getGdof ( int  num) const [inline]

Definition at line 110 of file gfemControl.h.

template<uint dim>
int concepts::gfem::GfemControl< dim >::getNumDofs ( ) const [inline]

Definition at line 115 of file gfemControl.h.

template<uint dim>
const int* concepts::gfem::GfemControl< dim >::getPs ( ) const [inline]
Returns:
an point to an array of dim elements.

Definition at line 88 of file gfemControl.h.

template<uint dim>
UnitcellMask* concepts::gfem::GfemControl< dim >::getUC ( ) [inline]

Definition at line 145 of file gfemControl.h.

template<uint dim>
const UnitcellMask* concepts::gfem::GfemControl< dim >::getUC ( ) const [inline]
Returns:
a valid pointer if hasMicroStructure() == true

Definition at line 141 of file gfemControl.h.

template<uint dim>
bool concepts::gfem::GfemControl< dim >::hasDof ( ) const [inline]

Definition at line 106 of file gfemControl.h.

template<uint dim>
bool concepts::gfem::GfemControl< dim >::hasMicroStructure ( ) const [inline]

Query if micro oscilations should be used.

Definition at line 76 of file gfemControl.h.

template<uint dim>
bool concepts::gfem::GfemControl< dim >::hasScaleRes ( ) const [inline]

Query if scale resolution should be used.

Note:
: only useful when hasMicroStructure() == true

Definition at line 83 of file gfemControl.h.

bool concepts::AdaptiveControlTag::idxValid ( ) const [inline, inherited]

Checks for a valid index.

Returns:
True if the index is valid

Definition at line 145 of file space.hh.

void concepts::AdaptiveControlTag::invalidateIdx ( ) [inline, inherited]

Definition at line 147 of file space.hh.

void concepts::AdaptiveControlTag::invalidateP ( ) [inline, inherited]

Definition at line 154 of file space.hh.

bool concepts::AdaptiveControlTag::isActive ( ) const [inline, inherited]

Checks activity.

Returns:
True if 'active'

Definition at line 132 of file space.hh.

bool concepts::AdaptiveControlTag::isMember ( ) const [inline, inherited]

Checks member of the space.

Returns:
True if 'member of the space'

Definition at line 123 of file space.hh.

template<uint dim>
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().

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

Definition at line 138 of file space.hh.

template<uint dim>
void concepts::gfem::GfemControl< dim >::minPs ( const int *  ps) [inline]
  • ps an point to an array of dim elements.

Definition at line 100 of file gfemControl.h.

Here is the call graph for this function:

template<uint dim>
GfemControl& concepts::gfem::GfemControl< dim >::operator= ( const GfemControl< dim > &  other) [private]
bool concepts::AdaptiveControlTag::pValid ( ) const [inline, inherited]

Checks for a valid polynomial degree.

Returns:
True if the polynomial degree is valid

Definition at line 152 of file space.hh.

template<uint dim>
void concepts::gfem::GfemControl< dim >::setGdof ( int  dof,
int  numDofs = 1 
) [inline]

Definition at line 127 of file gfemControl.h.

Here is the call graph for this function:

template<uint dim>
void concepts::gfem::GfemControl< dim >::setMicroStruct ( const Unitcell uc,
bool  scaleRes 
) [inline]

Definition at line 68 of file gfemControl.h.

template<uint dim>
void concepts::gfem::GfemControl< dim >::setOverlap ( bool  overlap) [inline]

Definition at line 123 of file gfemControl.h.

template<uint dim>
void concepts::gfem::GfemControl< dim >::setPs ( const int *  ps) [inline]
  • ps an point to an array of dim elements.

Definition at line 93 of file gfemControl.h.

void concepts::AdaptiveControlTag::takeIn ( ) [inline, inherited]

Takes into the space.

Definition at line 125 of file space.hh.

void concepts::AdaptiveControlTag::takeOut ( ) [inline, inherited]

Takes out of the space.

Definition at line 127 of file space.hh.

void concepts::AdaptiveControlTag::validateIdx ( ) [inline, inherited]

Definition at line 146 of file space.hh.

void concepts::AdaptiveControlTag::validateP ( ) [inline, inherited]

Definition at line 153 of file space.hh.


Member Data Documentation

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 112 of file space.hh.

template<uint dim>
int concepts::gfem::GfemControl< dim >::firstGDof [private]

Definition at line 151 of file gfemControl.h.

template<uint dim>
int concepts::gfem::GfemControl< dim >::firstOverlapDof [private]

Definition at line 152 of file gfemControl.h.

template<uint dim>
const bool concepts::gfem::GfemControl< dim >::NO_SCALE_RES = false [static]

Definition at line 18 of file gfemControl.h.

template<uint dim>
int concepts::gfem::GfemControl< dim >::numDofs [private]

Definition at line 153 of file gfemControl.h.

template<uint dim>
bool concepts::gfem::GfemControl< dim >::overlapping [private]

Definition at line 160 of file gfemControl.h.

template<uint dim>
int concepts::gfem::GfemControl< dim >::Ps[dim] [private]

Definition at line 156 of file gfemControl.h.

template<uint dim>
bool concepts::gfem::GfemControl< dim >::scaleResolution [private]

if scale resolution is used for inner cells

Definition at line 159 of file gfemControl.h.

template<uint dim>
UnitcellMask* concepts::gfem::GfemControl< dim >::uc [private]

a Unitcell instance specifying the micro oscilations

Definition at line 158 of file gfemControl.h.

template<uint dim>
const int concepts::gfem::GfemControl< dim >::UNSET_DOF = -1 [static]

Definition at line 149 of file gfemControl.h.

template<uint dim>
const bool concepts::gfem::GfemControl< dim >::USE_SCALE_RES = true [static]

Definition at line 19 of file gfemControl.h.


The documentation for this struct was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)