LifeV
|
OneDFSIFunction - Base class for 1D BC Functions. More...
#include <OneDFSIFunction.hpp>
Private Attributes | |
function_Type | M_function |
Type definitions and Enumerators | |
typedef std::function< Real(const Real &, const Real &) > | function_Type |
Type definition for the 1D boundary function. More... | |
Constructors & Destructor | |
OneDFSIFunction () | |
Empty Constructor. More... | |
OneDFSIFunction (const function_Type &function) | |
Constructor by function. More... | |
OneDFSIFunction (const OneDFSIFunction &bcFunction) | |
Copy constructor. More... | |
virtual | ~OneDFSIFunction () |
Destructor. More... | |
Operators | |
OneDFSIFunction & | operator= (const OneDFSIFunction &bcFunction) |
Operator=. More... | |
Real | operator() (const Real &time, const Real &timeStep=0.) const |
Operator() More... | |
Set Methods | |
void | setFunction (const function_Type &function) |
Set the function. More... | |
Get Methods | |
const function_Type & | function () const |
Get the function. More... | |
OneDFSIFunction - Base class for 1D BC Functions.
The 1D boundary condition function is evaluated as a function of the current time and of the time step.
Definition at line 59 of file OneDFSIFunction.hpp.
typedef std::function<Real ( const Real&, const Real& ) > function_Type |
Type definition for the 1D boundary function.
Definition at line 68 of file OneDFSIFunction.hpp.
|
inlineexplicit |
Empty Constructor.
Definition at line 77 of file OneDFSIFunction.hpp.
|
inlineexplicit |
Constructor by function.
function | the user defined function |
Definition at line 83 of file OneDFSIFunction.hpp.
|
inline |
Copy constructor.
bcFunction | OneDFSIFunction |
Definition at line 89 of file OneDFSIFunction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 92 of file OneDFSIFunction.hpp.
|
inline |
Operator=.
bcFunction | OneDFSIFunction |
Definition at line 105 of file OneDFSIFunction.hpp.
Operator()
Evaluate the function.
time | the current time. |
timeStep | the time step. |
Definition at line 123 of file OneDFSIFunction.hpp.
|
inline |
Set the function.
function | the user defined function |
Definition at line 138 of file OneDFSIFunction.hpp.
|
inline |
Get the function.
Definition at line 153 of file OneDFSIFunction.hpp.
|
private |
Definition at line 162 of file OneDFSIFunction.hpp.