libMesh
|
#include <solution_function.h>
Public Member Functions | |
SolutionGradient (const unsigned int u_var) | |
~SolutionGradient () | |
virtual Gradient | operator() (const Point &, const Real=0) |
virtual void | operator() (const Point &p, const Real, DenseVector< Gradient > &output) |
Evaluation function for time-dependent vector-valued functions. More... | |
virtual Gradient | component (unsigned int component_in, const Point &p, const Real) |
virtual std::unique_ptr< FunctionBase< Gradient > > | clone () const |
SolutionGradient (const unsigned int u_var) | |
~SolutionGradient () | |
virtual Gradient | operator() (const Point &, const Real=0) |
virtual void | operator() (const Point &p, const Real, DenseVector< Gradient > &output) |
Evaluation function for time-dependent vector-valued functions. More... | |
virtual Gradient | component (unsigned int component_in, const Point &p, const Real) |
virtual std::unique_ptr< FunctionBase< Gradient > > | clone () const |
SolutionGradient (const unsigned int u_var) | |
~SolutionGradient () | |
virtual Gradient | operator() (const Point &, const Real=0) |
virtual void | operator() (const Point &p, const Real, DenseVector< Gradient > &output) |
Evaluation function for time-dependent vector-valued functions. More... | |
virtual Gradient | component (unsigned int component_in, const Point &p, const Real) |
virtual std::unique_ptr< FunctionBase< Gradient > > | clone () const |
virtual void | init () |
The actual initialization process. More... | |
virtual void | clear () |
Clears the function. More... | |
void | operator() (const Point &p, DenseVector< Gradient > &output) |
Evaluation function for time-independent vector-valued functions. More... | |
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 Attributes | |
const unsigned int | _u_var |
LaplaceExactGradient | soln |
CurlCurlExactSolution | soln |
Definition at line 75 of file solution_function.h.
|
inline |
Definition at line 79 of file solution_function.h.
|
inline |
Definition at line 81 of file solution_function.h.
|
inline |
Definition at line 76 of file solution_function.h.
|
inline |
Definition at line 79 of file solution_function.h.
|
inline |
Definition at line 76 of file solution_function.h.
|
inline |
Definition at line 78 of file solution_function.h.
|
inlinevirtualinherited |
|
inlinevirtual |
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< Gradient >.
Definition at line 101 of file solution_function.h.
|
inlinevirtual |
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< Gradient >.
Definition at line 103 of file solution_function.h.
|
inlinevirtual |
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< Gradient >.
Definition at line 105 of file solution_function.h.
|
inlinevirtual |
i
at coordinate p
and time time
.Reimplemented from libMesh::FunctionBase< Gradient >.
Definition at line 94 of file solution_function.h.
References libMesh::Real.
|
inlinevirtual |
i
at coordinate p
and time time
.Reimplemented from libMesh::FunctionBase< Gradient >.
Definition at line 95 of file solution_function.h.
References libMesh::Real.
|
inlinevirtual |
i
at coordinate p
and time time
.Reimplemented from libMesh::FunctionBase< Gradient >.
Definition at line 97 of file solution_function.h.
References libMesh::Real.
|
inlinevirtualinherited |
|
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.
p
and time time
, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Gradient >.
Definition at line 80 of file solution_function.h.
p
and time time
, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Gradient >.
Definition at line 81 of file solution_function.h.
p
and time time
, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Gradient >.
Definition at line 83 of file solution_function.h.
|
inlinevirtual |
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.
Implements libMesh::FunctionBase< Gradient >.
Definition at line 84 of file solution_function.h.
References libMesh::Real, and libMesh::DenseVector< T >::zero().
|
inlinevirtual |
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.
Implements libMesh::FunctionBase< Gradient >.
Definition at line 84 of file solution_function.h.
References libMesh::Real, and libMesh::DenseVector< T >::zero().
|
inlinevirtual |
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.
Implements libMesh::FunctionBase< Gradient >.
Definition at line 86 of file solution_function.h.
References libMesh::Real, and libMesh::DenseVector< T >::zero().
|
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.
|
private |
Definition at line 110 of file solution_function.h.
|
private |
Definition at line 107 of file solution_function.h.
|
private |
Definition at line 111 of file solution_function.h.