LifeV
|
BCInterfaceFunction - Base class for BCInterface
boundary functions.
More...
#include <BCInterfaceFunction.hpp>
Type definitions | |
typedef BcHandlerType | bcHandler_Type |
typedef PhysicalSolverType | physicalSolver_Type |
typedef bcHandler_Type::bcFunction_Type | bcBase_Type |
typedef BCInterfaceData | data_Type |
typedef std::shared_ptr< data_Type > | dataPtr_Type |
typedef std::function< Real(const Real &) > | boundaryFunctionTime_Type |
typedef std::function< Real(const Real &, const Real &) > | boundaryFunctionTimeTimeStep_Type |
typedef std::function< Real(const Real &, const Real &, const Real &, const Real &, const ID &) > | boundaryFunctionTimeSpaceID_Type |
Constructors & Destructor | |
BCInterfaceFunction () | |
Empty Constructor. More... | |
virtual | ~BCInterfaceFunction () |
Destructor. More... | |
Methods | |
virtual void | assignFunction (bcBase_Type &base)=0 |
Assign the function to the base of the BCHandler . More... | |
virtual Real | functionTime (const Real &t)=0 |
Function of time. More... | |
virtual Real | functionTimeTimeStep (const Real &t, const Real &timeStep)=0 |
Function of time and time step. More... | |
virtual Real | functionTimeSpace (const Real &t, const Real &x, const Real &y, const Real &z, const ID &)=0 |
Function of time and space. More... | |
virtual Real | functionTimeSpaceID (const Real &t, const Real &x, const Real &y, const Real &z, const ID &id)=0 |
Function of time and space with ID. More... | |
Set Methods | |
virtual void | setData (const dataPtr_Type &data)=0 |
Set data for boundary conditions. More... | |
Unimplemented Methods | |
BCInterfaceFunction (const BCInterfaceFunction &function) | |
BCInterfaceFunction & | operator= (const BCInterfaceFunction &function) |
BCInterfaceFunction - Base class for BCInterface
boundary functions.
This class provides the interface between the BCInterface
and the boundary functions.
Definition at line 54 of file BCInterfaceFunction.hpp.
typedef BcHandlerType bcHandler_Type |
Definition at line 61 of file BCInterfaceFunction.hpp.
typedef PhysicalSolverType physicalSolver_Type |
Definition at line 62 of file BCInterfaceFunction.hpp.
typedef bcHandler_Type::bcFunction_Type bcBase_Type |
Definition at line 64 of file BCInterfaceFunction.hpp.
typedef BCInterfaceData data_Type |
Definition at line 66 of file BCInterfaceFunction.hpp.
typedef std::shared_ptr< data_Type > dataPtr_Type |
Definition at line 67 of file BCInterfaceFunction.hpp.
typedef std::function<Real ( const Real& ) > boundaryFunctionTime_Type |
Definition at line 69 of file BCInterfaceFunction.hpp.
typedef std::function<Real ( const Real&, const Real& ) > boundaryFunctionTimeTimeStep_Type |
Definition at line 70 of file BCInterfaceFunction.hpp.
typedef std::function<Real ( const Real&, const Real&, const Real&, const Real&, const ID& ) > boundaryFunctionTimeSpaceID_Type |
Definition at line 71 of file BCInterfaceFunction.hpp.
|
inlineexplicit |
Empty Constructor.
Definition at line 80 of file BCInterfaceFunction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 83 of file BCInterfaceFunction.hpp.
|
private |
|
pure virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implemented in BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, and BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >.
Function of time.
t | time |
Implemented in BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, and BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >.
Function of time and time step.
t | time |
timeStep | time step |
Implemented in BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, and BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >.
|
pure virtual |
Function of time and space.
t | time |
x | x coordinate |
y | y coordinate |
z | z coordinate |
id | id of the boundary condition (not used) |
Implemented in BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, and BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >.
|
pure virtual |
Function of time and space with ID.
t | time |
x | x coordinate |
y | y coordinate |
z | z coordinate |
id | id of the boundary condition |
Implemented in BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, and BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >.
|
pure virtual |
Set data for boundary conditions.
data | boundary condition data loaded from GetPot file |
Implemented in BCInterfaceFunctionParser< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionUserDefined< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParserSolver< BcHandlerType, PhysicalSolverType >, BCInterfaceFunctionParserFile< BcHandlerType, PhysicalSolverType >, and BCInterfaceFunctionParserFileSolver< BcHandlerType, PhysicalSolverType >.
|
private |