LifeV
|
BCInterfaceFunctionUserDefined - User defined functions for BCInterface. More...
#include <BCInterfaceFunctionUserDefined.hpp>
Public Member Functions | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
template<> | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
Public Member Functions inherited from BCInterfaceFunction< BcHandlerType, PhysicalSolverType > | |
BCInterfaceFunction () | |
Empty Constructor. More... | |
virtual | ~BCInterfaceFunction () |
Destructor. More... | |
Private Types | |
enum | userDefinedFunctions { Sin } |
Private Attributes | |
userDefinedFunctions | M_functionType |
parametersContainer_Type | M_parameters |
Type definitions | |
typedef BcHandlerType | bcHandler_Type |
typedef PhysicalSolverType | physicalSolver_Type |
typedef BCInterfaceFunction< bcHandler_Type, physicalSolver_Type > | function_Type |
typedef function_Type::boundaryFunctionTime_Type | boundaryFunctionTime_Type |
typedef function_Type::boundaryFunctionTimeTimeStep_Type | boundaryFunctionTimeTimeStep_Type |
typedef function_Type::boundaryFunctionTimeSpaceID_Type | boundaryFunctionTimeSpaceID_Type |
typedef BCInterfaceData::parametersContainer_Type | parametersContainer_Type |
typedef function_Type::bcBase_Type | bcBase_Type |
typedef function_Type::data_Type | data_Type |
typedef function_Type::dataPtr_Type | dataPtr_Type |
Constructors & Destructor | |
BCInterfaceFunctionUserDefined () | |
virtual | ~BCInterfaceFunctionUserDefined () |
Methods | |
void | assignFunction (bcBase_Type &base) |
Assign the function to the base of the BCHandler . More... | |
Real | functionTime (const Real &t) |
Function of time. More... | |
Real | functionTimeTimeStep (const Real &t, const Real &timeStep) |
Function of time and time step. More... | |
Real | functionTimeSpace (const Real &t, const Real &x, const Real &y, const Real &z, const ID &) |
Function of time and space. More... | |
Real | functionTimeSpaceID (const Real &t, const Real &x, const Real &y, const Real &z, const ID &id) |
Function of time and space with ID. More... | |
Set Methods | |
void | setData (const dataPtr_Type &data) |
Set data for boundary conditions. More... | |
Unimplemented Methods | |
BCInterfaceFunctionUserDefined (const BCInterfaceFunctionUserDefined &function) | |
BCInterfaceFunctionUserDefined & | operator= (const BCInterfaceFunctionUserDefined &function) |
Private Methods | |
boundaryFunctionTime_Type | functionSelectorTime () |
Get the selected function of time. More... | |
boundaryFunctionTimeTimeStep_Type | functionSelectorTimeTimeStep () |
Get the selected function of time and time step. More... | |
boundaryFunctionTimeSpaceID_Type | functionSelectorTimeSpaceID () |
Get the selected function of time and space with ID. More... | |
Real | functionSin (const Real &t, const Real &, const Real &, const Real &, const ID &) |
Sinusoidal function. More... | |
Additional Inherited Members | |
Public Types inherited from BCInterfaceFunction< BcHandlerType, PhysicalSolverType > | |
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 |
BCInterfaceFunctionUserDefined - User defined functions for BCInterface.
The BCInterfaceFunctionUserDefined class provides a set of user defined functions to be used by the BCInterface
DETAILS:
The constructor of the class takes a string contains the ID of the boundary condition to impose. The list of available conditions is given through the userDefinedFunctions
enum. These are:
Definition at line 63 of file BCInterfaceFunctionUserDefined.hpp.
typedef BcHandlerType bcHandler_Type |
Definition at line 70 of file BCInterfaceFunctionUserDefined.hpp.
typedef PhysicalSolverType physicalSolver_Type |
Definition at line 71 of file BCInterfaceFunctionUserDefined.hpp.
Definition at line 73 of file BCInterfaceFunctionUserDefined.hpp.
Definition at line 74 of file BCInterfaceFunctionUserDefined.hpp.
Definition at line 75 of file BCInterfaceFunctionUserDefined.hpp.
Definition at line 76 of file BCInterfaceFunctionUserDefined.hpp.
Definition at line 77 of file BCInterfaceFunctionUserDefined.hpp.
Definition at line 79 of file BCInterfaceFunctionUserDefined.hpp.
typedef function_Type::data_Type data_Type |
Definition at line 81 of file BCInterfaceFunctionUserDefined.hpp.
Definition at line 82 of file BCInterfaceFunctionUserDefined.hpp.
|
private |
Enumerator | |
---|---|
Sin |
Definition at line 217 of file BCInterfaceFunctionUserDefined.hpp.
|
explicit |
Definition at line 242 of file BCInterfaceFunctionUserDefined.hpp.
|
inlinevirtual |
Definition at line 92 of file BCInterfaceFunctionUserDefined.hpp.
|
private |
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Function of time.
t | time |
timeStep | time step |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 112 of file BCInterfaceFunctionUserDefined.hpp.
Function of time and time step.
t | time |
timeStep | time step |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 123 of file BCInterfaceFunctionUserDefined.hpp.
|
inlinevirtual |
Function of time and space.
t | time |
x | x coordinate |
y | y coordinate |
z | z coordinate |
id | id of the boundary condition (not used) |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 137 of file BCInterfaceFunctionUserDefined.hpp.
|
inlinevirtual |
Function of time and space with ID.
t | time |
x | x coordinate |
y | y coordinate |
z | z coordinate |
id | id of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 151 of file BCInterfaceFunctionUserDefined.hpp.
|
virtual |
Set data for boundary conditions.
data | boundary condition data loaded from GetPot file |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 259 of file BCInterfaceFunctionUserDefined.hpp.
|
private |
|
private |
Get the selected function of time.
Definition at line 274 of file BCInterfaceFunctionUserDefined.hpp.
|
private |
Get the selected function of time and time step.
Definition at line 292 of file BCInterfaceFunctionUserDefined.hpp.
|
private |
Get the selected function of time and space with ID.
Definition at line 310 of file BCInterfaceFunctionUserDefined.hpp.
|
private |
Sinusoidal function.
t | time |
x | x coordinate |
y | y coordinate |
z | z coordinate |
id | id of the boundary condition (not used) |
Definition at line 328 of file BCInterfaceFunctionUserDefined.hpp.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 48 of file BCInterfaceFunctionUserDefined0D.cpp.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 48 of file BCInterfaceFunctionUserDefined1D.cpp.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 49 of file BCInterfaceFunctionUserDefinedEmpty3D.cpp.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 48 of file BCInterfaceFunctionUserDefinedFluid3D.cpp.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 55 of file BCInterfaceFunctionUserDefinedFluid3D.cpp.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 48 of file BCInterfaceFunctionUserDefinedFSI3D.cpp.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
Definition at line 48 of file BCInterfaceFunctionUserDefinedSolid3D.cpp.
|
virtual |
Assign the function to the base of the BCHandler
.
base | base of the boundary condition |
Implements BCInterfaceFunction< BcHandlerType, PhysicalSolverType >.
|
private |
Definition at line 222 of file BCInterfaceFunctionUserDefined.hpp.
|
private |
Definition at line 224 of file BCInterfaceFunctionUserDefined.hpp.