Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::CellConditions Class Reference
Inheritance diagram for concepts::CellConditions:
concepts::Semantics< CellCondition > concepts::OutputOperator

Public Member Functions

 CellConditions (const bool emptyElements=true)
 
 CellConditions (const enum CellCondition::inactivTypes type)
 
 CellConditions (const CellConditions &cnd)
 Copy constructor.
 
virtual ~CellConditions ()
 
virtual CellCondition operator() (Attribute attrib) const
 
void add (const Attribute &attrib, const CellCondition &i)
 
bool emptyElements () const
 

Protected Member Functions

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

Detailed Description

Definition at line 125 of file cellConditions.hh.

Constructor & Destructor Documentation

◆ CellConditions() [1/2]

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

◆ CellConditions() [2/2]

concepts::CellConditions::CellConditions ( const enum CellCondition::inactivTypes  type)

Constructor setting the default activity type.

◆ ~CellConditions()

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

◆ add()

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

◆ emptyElements()

bool concepts::CellConditions::emptyElements ( ) const
inline

Definition at line 168 of file cellConditions.hh.

◆ info()

virtual std::ostream & concepts::CellConditions::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Semantics< CellCondition >.

◆ operator()()

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 >.


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