LifeV
ZeroDimensionalBCHandler Class Reference

ZeroDimensionalBCHandler - A boundary conditions handler for zero-dimensional models. More...

#include <ZeroDimensionalBCHandler.hpp>

+ Collaboration diagram for ZeroDimensionalBCHandler:

Private Attributes

bcContainer_Type M_bc
 

Type definitions

typedef ZeroDimensionalBC bc_Type
 
typedef bc_Type::bcType_Type bcType_Type
 
typedef bc_Type::bcFunction_Type bcFunction_Type
 
typedef markerID_Type bcFlag_Type
 
typedef std::map< bcFlag_Type, bc_TypebcContainer_Type
 

Constructors & Destructor

 ZeroDimensionalBCHandler ()
 Constructor. More...
 
 ZeroDimensionalBCHandler (const ZeroDimensionalBCHandler &handler)
 
virtual ~ZeroDimensionalBCHandler ()
 Destructor. More...
 

Set Methods

void setBC (const bcFlag_Type &flag, const bcType_Type &bcType, const bcFunction_Type &bcFunction)
 Set the type. More...
 

Get Methods

const bc_Typebc (const bcFlag_Type &flag) const
 Get the boundary condition. More...
 

Detailed Description

ZeroDimensionalBCHandler - A boundary conditions handler for zero-dimensional models.

Author
Cristiano Malossi

This simple class handles the boundary conditions for zero-dimensional models.

Definition at line 51 of file ZeroDimensionalBCHandler.hpp.

Member Typedef Documentation

◆ bc_Type

Definition at line 58 of file ZeroDimensionalBCHandler.hpp.

◆ bcType_Type

Definition at line 59 of file ZeroDimensionalBCHandler.hpp.

◆ bcFunction_Type

◆ bcFlag_Type

Definition at line 62 of file ZeroDimensionalBCHandler.hpp.

◆ bcContainer_Type

typedef std::map< bcFlag_Type, bc_Type > bcContainer_Type

Definition at line 63 of file ZeroDimensionalBCHandler.hpp.

Constructor & Destructor Documentation

◆ ZeroDimensionalBCHandler() [1/2]

ZeroDimensionalBCHandler ( )
inlineexplicit

Constructor.

Definition at line 72 of file ZeroDimensionalBCHandler.hpp.

◆ ZeroDimensionalBCHandler() [2/2]

ZeroDimensionalBCHandler ( const ZeroDimensionalBCHandler handler)
inlineexplicit

Definition at line 74 of file ZeroDimensionalBCHandler.hpp.

◆ ~ZeroDimensionalBCHandler()

virtual ~ZeroDimensionalBCHandler ( )
inlinevirtual

Destructor.

Definition at line 77 of file ZeroDimensionalBCHandler.hpp.

Member Function Documentation

◆ setBC()

void setBC ( const bcFlag_Type flag,
const bcType_Type bcType,
const bcFunction_Type bcFunction 
)
inline

Set the type.

Parameters
flagthe bc flag
bcTypethe bc type
bcFunctionthe bc function

Definition at line 91 of file ZeroDimensionalBCHandler.hpp.

◆ bc()

const bc_Type& bc ( const bcFlag_Type flag) const
inline

Get the boundary condition.

Parameters
sidethe boundary condition side
Returns
boundary condition

Definition at line 107 of file ZeroDimensionalBCHandler.hpp.

Field Documentation

◆ M_bc

bcContainer_Type M_bc
private

Definition at line 116 of file ZeroDimensionalBCHandler.hpp.


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