LifeV
|
ZeroDimensionalFunction - A boundary conditions function for zero-dimensional models. More...
#include <ZeroDimensionalFunction.hpp>
Private Attributes | |
function_Type | M_function |
Type definitions and Enumerators | |
typedef std::function< Real(const Real &) > | function_Type |
Type definition for the 0D boundary function. More... | |
Constructors & Destructor | |
ZeroDimensionalFunction () | |
Empty Constructor. More... | |
ZeroDimensionalFunction (const function_Type &function) | |
Constructor by function. More... | |
ZeroDimensionalFunction (const ZeroDimensionalFunction &bcFunction) | |
Copy constructor. More... | |
virtual | ~ZeroDimensionalFunction () |
Destructor. More... | |
Operators | |
ZeroDimensionalFunction & | operator= (const ZeroDimensionalFunction &bcFunction) |
Operator=. More... | |
Real | operator() (const Real &time) 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... | |
ZeroDimensionalFunction - A boundary conditions function for zero-dimensional models.
This simple class handles the boundary condition functions for zero-dimensional models.
Definition at line 51 of file ZeroDimensionalFunction.hpp.
typedef std::function<Real ( const Real& ) > function_Type |
Type definition for the 0D boundary function.
Definition at line 60 of file ZeroDimensionalFunction.hpp.
|
inlineexplicit |
Empty Constructor.
Definition at line 69 of file ZeroDimensionalFunction.hpp.
|
inlineexplicit |
Constructor by function.
function | the user defined function |
Definition at line 75 of file ZeroDimensionalFunction.hpp.
|
inline |
Copy constructor.
bcFunction | ZeroDimensionalFunction |
Definition at line 81 of file ZeroDimensionalFunction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 84 of file ZeroDimensionalFunction.hpp.
|
inline |
Operator=.
bcFunction | ZeroDimensionalFunction |
Definition at line 97 of file ZeroDimensionalFunction.hpp.
Operator()
Evaluate the function.
time | the current time. |
timeStep | the time step. |
Definition at line 115 of file ZeroDimensionalFunction.hpp.
|
inline |
Set the function.
function | the user defined function |
Definition at line 130 of file ZeroDimensionalFunction.hpp.
|
inline |
Get the function.
Definition at line 145 of file ZeroDimensionalFunction.hpp.
|
private |
Definition at line 154 of file ZeroDimensionalFunction.hpp.