FEMFunction that returns a single value. More...
#include <const_fem_function.h>
Public Member Functions | |
ConstFEMFunction (const Output c) | |
ConstFEMFunction (ConstFEMFunction &&)=default | |
ConstFEMFunction (const ConstFEMFunction &)=default | |
ConstFEMFunction & | operator= (const ConstFEMFunction &)=default |
ConstFEMFunction & | operator= (ConstFEMFunction &&)=default |
virtual | ~ConstFEMFunction ()=default |
virtual std::unique_ptr< FEMFunctionBase< Output > > | clone () const |
virtual Output | operator() (const FEMContext &, const Point &, const Real=0.) |
virtual void | operator() (const FEMContext &, const Point &, const Real, DenseVector< Output > &output) |
virtual void | init_context (const FEMContext &) |
void | operator() (const FEMContext &, const Point &p, DenseVector< Output > &output) |
virtual Output | component (const FEMContext &, unsigned int i, const Point &p, Real time=0.) |
Private Attributes | |
Output | _c |
FEMFunction that returns a single value.
FEMFunction that returns a single value, regardless of the time and location inputs.
Definition at line 44 of file const_fem_function.h.
|
inline |
Definition at line 47 of file const_fem_function.h.
|
default |
The 5 special functions can be defaulted for this class.
|
default |
|
virtualdefault |
|
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::FEMFunctionBase< Output >.
Definition at line 58 of file const_fem_function.h.
|
inlinevirtualinherited |
i
at coordinate p
and time time
.Reimplemented in libMesh::CompositeFEMFunction< Output >, libMesh::ParsedFEMFunction< Output >, libMesh::ParsedFEMFunction< T >, and libMesh::WrappedFunctor< Output >.
Definition at line 133 of file fem_function_base.h.
Referenced by libMesh::System::project_vector().
|
inlinevirtualinherited |
Prepares a context object for use.
Most problems will want to reimplement this for efficiency, in order to call FE::get_*() as their particular function requires.
Reimplemented in libMesh::ParsedFEMFunction< Output >, and libMesh::ParsedFEMFunction< T >.
Definition at line 73 of file fem_function_base.h.
|
inlinevirtual |
p
and time time
, which defaults to zero.Pure virtual, so you have to override it.
Implements libMesh::FEMFunctionBase< Output >.
Definition at line 61 of file const_fem_function.h.
References libMesh::ConstFEMFunction< Output >::_c.
|
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::FEMFunctionBase< Output >.
Definition at line 66 of file const_fem_function.h.
References libMesh::ConstFEMFunction< Output >::_c, and libMesh::DenseVector< T >::size().
|
inlineinherited |
Evaluation function for time-independent vector-valued functions. Sets output values in the passed-in output
DenseVector.
Definition at line 145 of file fem_function_base.h.
|
default |
|
default |
|
private |
Definition at line 76 of file const_fem_function.h.
Referenced by libMesh::ConstFEMFunction< Output >::operator()().