|
libMesh
|
#include <solution_function.h>
Public Member Functions | |
| SolutionFunction ()=default | |
| ~SolutionFunction ()=default | |
| virtual Number | operator() (const Point &, const Real=0) |
| virtual void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| virtual Number | component (unsigned int component_in, const Point &p, const Real) |
| virtual std::unique_ptr< FunctionBase< Number > > | clone () const |
| SolutionFunction (const unsigned int u_var) | |
| ~SolutionFunction ()=default | |
| virtual Number | operator() (const Point &, const Real=0) |
| virtual void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| virtual Number | component (unsigned int component_in, const Point &p, const Real) |
| virtual std::unique_ptr< FunctionBase< Number > > | clone () const |
| SolutionFunction (const unsigned int u_var) | |
| ~SolutionFunction ()=default | |
| virtual Number | operator() (const Point &, const Real=0) |
| virtual void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| virtual Number | component (unsigned int component_in, const Point &p, const Real) |
| virtual std::unique_ptr< FunctionBase< Number > > | clone () const |
| SolutionFunction (const unsigned int u_var) | |
| ~SolutionFunction ()=default | |
| virtual Number | operator() (const Point &, const Real=0) |
| virtual void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| virtual Number | component (unsigned int component_in, const Point &p, const Real) |
| virtual std::unique_ptr< FunctionBase< Number > > | clone () const |
| SolutionFunction ()=default | |
| ~SolutionFunction ()=default | |
| virtual Number | operator() (const Point &, const Real=0) |
| virtual void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| virtual Number | component (unsigned int component_in, const Point &p, const Real) |
| virtual std::unique_ptr< FunctionBase< Number > > | clone () const |
| SolutionFunction ()=default | |
| ~SolutionFunction ()=default | |
| virtual Number | operator() (const Point &, const Real=0) override |
| virtual void | operator() (const Point &p, const Real, DenseVector< Number > &output) override |
| Evaluation function for time-dependent vector-valued functions. | |
| virtual std::unique_ptr< FunctionBase< Number > > | clone () const override |
| virtual Number | component (unsigned int i, const Point &p, Real time=0.) override |
| SolutionFunction ()=default | |
| ~SolutionFunction ()=default | |
| virtual Number | operator() (const Point &, const Real=0) override |
| virtual void | operator() (const Point &p, const Real, DenseVector< Number > &output) override |
| Evaluation function for time-dependent vector-valued functions. | |
| virtual std::unique_ptr< FunctionBase< Number > > | clone () const override |
| virtual Number | component (unsigned int i, const Point &p, Real time=0.) override |
| void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| void | operator() (const Point &p, const Real, DenseVector< Number > &output) |
| Evaluation function for time-dependent vector-valued functions. | |
| virtual void | init () |
| The actual initialization process. | |
| virtual void | clear () |
| Clears the function. | |
| void | operator() (const Point &p, DenseVector< Number > &output) |
| Evaluation function for time-independent vector-valued functions. | |
| bool | initialized () const |
| void | set_is_time_dependent (bool is_time_dependent) |
| Function to set whether this is a time-dependent function or not. | |
| bool | is_time_dependent () const |
Protected Attributes | |
| const FunctionBase * | _master |
Const pointer to our master, initialized to nullptr. | |
| bool | _initialized |
When init() was called so that everything is ready for calls to operator() (...), then this bool is true. | |
| bool | _is_time_dependent |
| Cache whether or not this function is actually time-dependent. | |
Private Attributes | |
| GradDivExactSolution | soln |
| const unsigned int | _u_var |
| LaplaceExactSolution | soln |
| CurlCurlExactSolution | soln |
| DivGradExactSolution | soln |
| MixedExactSolution | soln |
Definition at line 32 of file solution_function.h.
|
default |
|
default |
|
inline |
Definition at line 36 of file solution_function.h.
|
default |
|
inline |
Definition at line 36 of file solution_function.h.
|
default |
|
inline |
Definition at line 36 of file solution_function.h.
|
default |
|
default |
|
default |
|
default |
|
default |
|
default |
|
default |
|
inlinevirtualinherited |
Clears the function.
Reimplemented in ExampleOneFunction, ExampleOneFunction, libMesh::MeshfreeInterpolationFunction, and libMesh::MeshFunction.
Definition at line 92 of file function_base.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< Number >.
Definition at line 62 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< Number >.
Definition at line 66 of file solution_function.h.
References SolutionFunction< dim >::_u_var.
|
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< Number >.
Definition at line 64 of file solution_function.h.
References SolutionFunction< dim >::_u_var.
|
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< Number >.
Definition at line 65 of file solution_function.h.
References SolutionFunction< dim >::_u_var.
|
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< Number >.
Definition at line 52 of file solution_function.h.
|
inlineoverridevirtual |
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 43 of file solution_function.h.
|
inlineoverridevirtual |
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 43 of file solution_function.h.
|
inlinevirtual |
i at coordinate p and time time.i+1 which will result in unexpected behaviour if operator() makes any access beyond that limit. Reimplemented from libMesh::FunctionBase< Number >.
Definition at line 53 of file solution_function.h.
|
inlinevirtual |
i at coordinate p and time time.i+1 which will result in unexpected behaviour if operator() makes any access beyond that limit. Reimplemented from libMesh::FunctionBase< Number >.
Definition at line 58 of file solution_function.h.
References libMesh::Real, and SolutionFunction< dim >::soln.
|
inlinevirtual |
i at coordinate p and time time.i+1 which will result in unexpected behaviour if operator() makes any access beyond that limit. Reimplemented from libMesh::FunctionBase< Number >.
Definition at line 57 of file solution_function.h.
References SolutionFunction< dim >::soln.
|
inlinevirtual |
i at coordinate p and time time.i+1 which will result in unexpected behaviour if operator() makes any access beyond that limit. Reimplemented from libMesh::FunctionBase< Number >.
Definition at line 57 of file solution_function.h.
References libMesh::Real, and SolutionFunction< dim >::soln.
|
virtual |
i at coordinate p and time time.i+1 which will result in unexpected behaviour if operator() makes any access beyond that limit. Reimplemented from libMesh::FunctionBase< Number >.
|
inlineoverridevirtual |
i at coordinate p and time time.i+1 which will result in unexpected behaviour if operator() makes any access beyond that limit. Reimplemented from libMesh::FunctionBase< Number >.
Definition at line 48 of file solution_function.h.
References dim.
|
inlineoverridevirtual |
i at coordinate p and time time.i+1 which will result in unexpected behaviour if operator() makes any access beyond that limit. Reimplemented from libMesh::FunctionBase< Number >.
Definition at line 48 of file solution_function.h.
References dim.
|
inlinevirtualinherited |
The actual initialization process.
Reimplemented in ExampleOneFunction, ExampleOneFunction, libMesh::MeshfreeInterpolationFunction, and libMesh::MeshFunction.
Definition at line 87 of file function_base.h.
|
inlineinherited |
true when this object is properly initialized and ready for use, false otherwise. Definition at line 154 of file function_base.h.
|
inlineinherited |
true when the function this object represents is actually time-dependent, false otherwise. Definition at line 168 of file function_base.h.
|
inlinevirtual |
p and time time, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Number >.
Definition at line 39 of file solution_function.h.
|
inlinevirtual |
p and time time, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Number >.
Definition at line 41 of file solution_function.h.
|
inlinevirtual |
p and time time, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Number >.
Definition at line 41 of file solution_function.h.
|
inlinevirtual |
p and time time, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Number >.
Definition at line 41 of file solution_function.h.
|
inlinevirtual |
p and time time, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Number >.
Definition at line 40 of file solution_function.h.
|
inlineoverridevirtual |
p and time time, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Number >.
Definition at line 39 of file solution_function.h.
|
inlineoverridevirtual |
p and time time, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FunctionBase< Number >.
Definition at line 39 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< Number >.
Definition at line 43 of file solution_function.h.
References SolutionFunction< dim >::soln, 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< Number >.
Definition at line 45 of file solution_function.h.
References SolutionFunction< dim >::_u_var, libMesh::Real, SolutionFunction< dim >::soln, 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< Number >.
Definition at line 45 of file solution_function.h.
References SolutionFunction< dim >::_u_var, SolutionFunction< dim >::soln, 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< Number >.
Definition at line 44 of file solution_function.h.
References SolutionFunction< dim >::_u_var, libMesh::Real, SolutionFunction< dim >::soln, and libMesh::DenseVector< T >::zero().
|
virtual |
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< Number >.
|
virtual |
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< Number >.
Definition at line 61 of file solution_function.h.
References libMesh::Real, and libMesh::DenseVector< T >::zero().
|
virtual |
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< Number >.
Definition at line 73 of file solution_function.h.
References libMesh::Real, and libMesh::DenseVector< T >::zero().
|
virtual |
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< Number >.
Definition at line 62 of file solution_function.h.
References libMesh::libmesh_assert(), libMesh::Real, libMesh::DenseVector< T >::size(), and libMesh::DenseVector< T >::zero().
|
virtual |
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< Number >.
Definition at line 80 of file solution_function.h.
References libMesh::libmesh_assert(), libMesh::Real, libMesh::DenseVector< T >::size(), and libMesh::DenseVector< T >::zero().
|
virtual |
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< Number >.
Definition at line 62 of file solution_function.h.
References libMesh::libmesh_assert(), libMesh::Real, libMesh::DenseVector< T >::size(), and libMesh::DenseVector< T >::zero().
|
virtual |
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< Number >.
Definition at line 80 of file solution_function.h.
References libMesh::libmesh_assert(), libMesh::Real, libMesh::DenseVector< T >::size(), and libMesh::DenseVector< T >::zero().
|
overridevirtual |
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< Number >.
|
overridevirtual |
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< Number >.
|
inlineinherited |
Evaluation function for time-independent vector-valued functions.
Sets output values in the passed-in output DenseVector.
Definition at line 116 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 162 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 184 of file function_base.h.
|
protectedinherited |
Cache whether or not this function is actually time-dependent.
Definition at line 189 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 178 of file function_base.h.
|
private |
Definition at line 71 of file solution_function.h.
Referenced by SolutionFunction< dim >::clone(), and SolutionFunction< dim >::operator()().
|
private |
Definition at line 67 of file solution_function.h.
Referenced by SolutionFunction< dim >::component(), and SolutionFunction< dim >::operator()().
|
private |
Definition at line 72 of file solution_function.h.
|
private |
Definition at line 70 of file solution_function.h.
|
private |
Definition at line 57 of file solution_function.h.
|
private |
Definition at line 57 of file solution_function.h.