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

Public Member Functions | Protected Member Functions | Private Attributes
concepts::CellConditions Class Reference

#include <cellConditions.hh>

Inheritance diagram for concepts::CellConditions:
Inheritance graph
[legend]
Collaboration diagram for concepts::CellConditions:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void add (const Attribute &attrib, const CellCondition &i)
 Adds a boundary condition with this attribute to the list of boundary conditions.
 CellConditions (const enum CellCondition::inactivTypes type)
 Constructor setting the default activity type.
 CellConditions (const CellConditions &cnd)
 Copy constructor.
 CellConditions (const bool emptyElements=true)
 Default constructor.
bool emptyElements () const
virtual CellCondition operator() (Attribute attrib) const
 Application operator.
virtual ~CellConditions ()
 Destructor.

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

bool emptyElements_
 Flag,.
std::map< uint, CellConditioninactiveCells_
 Dynamic array of inactive regions with type.
enum CellCondition::inactivTypes type_

Detailed Description

Definition at line 123 of file cellConditions.hh.


Constructor & Destructor Documentation

concepts::CellConditions::CellConditions ( const bool  emptyElements = true)

Default constructor.

Sets up the dynamic array.

Parameters:
emptyElementsflag, which signals, if empty elements should be build for inactive cells
concepts::CellConditions::CellConditions ( const enum CellCondition::inactivTypes  type)

Constructor setting the default activity type.

concepts::CellConditions::CellConditions ( const CellConditions cnd)

Copy constructor.

virtual concepts::CellConditions::~CellConditions ( ) [virtual]

Destructor.

Takes care of deleting all the formulae which are associated with the Boundary objects.

See also:
Boundary

Member Function Documentation

void concepts::CellConditions::add ( const Attribute attrib,
const CellCondition i 
)

Adds a boundary condition with this attribute to the list of boundary conditions.

Be carefull: boundary condition objects with the same attribute overwrite each other, the latest is valid.

Parameters:
attribAttribute of the cell
iCell condition object associated to attrib
bool concepts::CellConditions::emptyElements ( ) const [inline]

Definition at line 166 of file cellConditions.hh.

virtual std::ostream& concepts::CellConditions::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::Semantics< CellCondition >.

virtual CellCondition concepts::CellConditions::operator() ( Attribute  attrib) const [virtual]

Application operator.

Parameters:
attribAttribute of a topolgical object (ie. vertex or edge)
Returns:
A reference to the boundary condition object associated to the given attribute.

Implements concepts::Semantics< CellCondition >.


Member Data Documentation

Flag,.

Definition at line 175 of file cellConditions.hh.

std::map<uint, CellCondition> concepts::CellConditions::inactiveCells_ [mutable, private]

Dynamic array of inactive regions with type.

The index is the number given by the attribute of the topological element.

Definition at line 173 of file cellConditions.hh.

Definition at line 177 of file cellConditions.hh.


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

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