#include <dirichlet_boundaries.h>
Public Member Functions | |
FEMFunctionBase (FEMFunctionBase &&)=default | |
FEMFunctionBase (const FEMFunctionBase &)=default | |
FEMFunctionBase & | operator= (const FEMFunctionBase &)=default |
FEMFunctionBase & | operator= (FEMFunctionBase &&)=default |
virtual | ~FEMFunctionBase ()=default |
virtual void | init_context (const FEMContext &) |
virtual std::unique_ptr< FEMFunctionBase< Output > > | clone () const =0 |
virtual Output | operator() (const FEMContext &, const Point &p, const Real time=0.)=0 |
void | operator() (const FEMContext &, const Point &p, DenseVector< Output > &output) |
virtual void | operator() (const FEMContext &, const Point &p, const Real time, DenseVector< Output > &output)=0 |
virtual Output | component (const FEMContext &, unsigned int i, const Point &p, Real time=0.) |
Protected Member Functions | |
FEMFunctionBase ()=default | |
FEMFunctionBase is a base class from which users can derive in order to define "function-like" objects that can be used within FEMSystem.
Definition at line 44 of file dirichlet_boundaries.h.
|
protecteddefault |
Constructor.
|
default |
The 5 special functions can be defaulted for this class.
|
default |
|
virtualdefault |
|
pure virtual |
The new copy should be as "deep" as necessary to allow independent destruction and simultaneous evaluations of the copies in different threads.
Implemented in libMesh::CompositeFEMFunction< Output >, libMesh::ParsedFEMFunction< Output >, libMesh::ParsedFEMFunction< T >, libMesh::WrappedFunctor< Output >, and libMesh::ConstFEMFunction< Output >.
Referenced by libMesh::CompositeFEMFunction< Output >::attach_subfunction(), and libMesh::DirichletBoundary::DirichletBoundary().
|
inlinevirtual |
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().
|
inlinevirtual |
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.
|
pure virtual |
p
and time time
, which defaults to zero.Pure virtual, so you have to override it.
Implemented in libMesh::CompositeFEMFunction< Output >, libMesh::ParsedFEMFunction< Output >, libMesh::ParsedFEMFunction< T >, libMesh::WrappedFunctor< Output >, and libMesh::ConstFEMFunction< Output >.
|
inline |
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.
|
pure 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.
Implemented in libMesh::CompositeFEMFunction< Output >, libMesh::ParsedFEMFunction< Output >, libMesh::WrappedFunctor< Output >, and libMesh::ConstFEMFunction< Output >.
|
default |
|
default |