|
libMesh
|
Public Member Functions | |
| void | operator() (const Point &p, DenseVector< Number > &output) |
| Evaluation function for time-independent vector-valued functions. More... | |
| virtual void | operator() (const Point &p, const Real time, DenseVector< Number > &output)=0 |
| Evaluation function for time-dependent vector-valued functions. More... | |
| virtual Number | component (unsigned int i, const Point &p, Real time=0.) |
| bool | initialized () const |
| void | set_is_time_dependent (bool is_time_dependent) |
| Function to set whether this is a time-dependent function or not. More... | |
| bool | is_time_dependent () const |
Protected Attributes | |
| const FunctionBase * | _master |
Const pointer to our master, initialized to nullptr. More... | |
| bool | _initialized |
When init() was called so that everything is ready for calls to operator() (...), then this bool is true. More... | |
| bool | _is_time_dependent |
| Cache whether or not this function is actually time-dependent. More... | |
Private Member Functions | |
| virtual Number | operator() (const Point &, const Real) |
| virtual void | operator() (const Point &, const Real, DenseVector< Number > &output) |
| virtual void | init () |
| The actual initialization process. More... | |
| virtual void | clear () |
| Clears the function. More... | |
| virtual std::unique_ptr< FunctionBase< Number > > | clone () const |
Definition at line 30 of file factoryfunction.C.
|
inlineprivatevirtual |
Clears the function.
Reimplemented from libMesh::FunctionBase< Number >.
Definition at line 47 of file factoryfunction.C.
|
inlineprivatevirtual |
The new copy should be as "deep" as necessary to allow independent destruction and simultaneous evaluations of the copies in different threads.
Implements libMesh::FunctionBase< Number >.
Definition at line 48 of file factoryfunction.C.
|
inlinevirtualinherited |
i at coordinate p and time time.Reimplemented in TripleFunction, SolutionFunction, SolutionFunction, and SolutionFunction.
Definition at line 227 of file function_base.h.
|
inlineprivatevirtual |
The actual initialization process.
Reimplemented from libMesh::FunctionBase< Number >.
Definition at line 46 of file factoryfunction.C.
|
inlineinherited |
true when this object is properly initialized and ready for use, false otherwise. Definition at line 205 of file function_base.h.
|
inlineinherited |
true when the function this object represents is actually time-dependent, false otherwise. Definition at line 219 of file function_base.h.
|
inlineprivatevirtual |
p and time time, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Number >.
Definition at line 32 of file factoryfunction.C.
|
inlineprivatevirtual |
Definition at line 38 of file factoryfunction.C.
References libMesh::DenseVector< T >::size().
|
pure virtualinherited |
Evaluation function for time-dependent vector-valued functions.
Sets output values in the passed-in output DenseVector.
Pure virtual, so you have to override it.
Implemented in libMesh::MeshFunction, libMesh::MeshlessInterpolationFunction, and libMesh::MeshlessInterpolationFunction.
|
inlineinherited |
Evaluation function for time-independent vector-valued functions.
Sets output values in the passed-in output DenseVector.
Definition at line 240 of file function_base.h.
|
inlineinherited |
Function to set whether this is a time-dependent function or not.
This is intended to be only used by subclasses who cannot natively determine time-dependence. In such a case, this function should be used immediately following construction.
Definition at line 212 of file function_base.h.
|
protectedinherited |
When init() was called so that everything is ready for calls to operator() (...), then this bool is true.
Definition at line 179 of file function_base.h.
|
protectedinherited |
Cache whether or not this function is actually time-dependent.
Definition at line 184 of file function_base.h.
|
protectedinherited |
Const pointer to our master, initialized to nullptr.
There may be cases where multiple functions are required, but to save memory, one master handles some centralized data.
Definition at line 173 of file function_base.h.
1.8.16