Function class for a simple function with no external parameters (just stores a function pointer, only needed for compatability). More...
#include <oomph_utilities.h>
Inheritance diagram for oomph::SolutionFunctor:Public Member Functions | |
| SolutionFunctor () | |
| SolutionFunctor (TimeSpaceToDoubleVectFctPt solution_fpt) | |
| SolutionFunctor (TimeSpaceToDoubleVectFctPt solution_fpt, TimeSpaceValueToDoubleVectFctPt derivative_fpt) | |
| virtual | ~SolutionFunctor () |
| SolutionFunctor (const SolutionFunctor &that) | |
| void | operator= (const SolutionFunctor &that) |
| virtual Vector< double > | operator() (const double &t, const Vector< double > &x) const |
| Call the function. | |
| virtual Vector< double > | derivative (const double &t, const Vector< double > &x, const Vector< double > &u) const |
| Call the derivative function. | |
Public Member Functions inherited from oomph::SolutionFunctorBase | |
| virtual | ~SolutionFunctorBase () |
| Virtual destructor. | |
| virtual void | jacobian (const double &t, const Vector< double > &x, const Vector< double > &u, DenseMatrix< double > &jacobian) const |
| The derivatives of the derivative function with respect to u (note that this is not quite the jacobian of the residuals for an ODE problem defined by this solution: you also need the time derivative part there). Broken virtual function because not often needed. | |
| virtual bool | have_jacobian () const |
| Is a jacobian function implemented? | |
| virtual void | initialise_from_problem (const Problem *problem_pt) |
| Overload to grab data from the problem. | |
Public Attributes | |
| TimeSpaceToDoubleVectFctPt | Solution_fpt |
| Storage for solution. | |
| TimeSpaceValueToDoubleVectFctPt | Derivative_fpt |
| Storage for derivative. | |
Additional Inherited Members | |
Public Types inherited from oomph::SolutionFunctorBase | |
| typedef double(* | TimeSpaceToDoubleFctPt) (const double &t, const Vector< double > &x) |
| General function of space and time which returns a double. | |
| typedef Vector< double >(* | TimeSpaceToDoubleVectFctPt) (const double &t, const Vector< double > &x) |
| General function of space and time which returns a vector of doubles. | |
| typedef Vector< double >(* | TimeSpaceValueToDoubleVectFctPt) (const double &t, const Vector< double > &x, const Vector< double > &u) |
| General function of time, space and a value vector which returns a vector of doubles. | |
Function class for a simple function with no external parameters (just stores a function pointer, only needed for compatability).
Definition at line 1175 of file oomph_utilities.h.
|
inline |
Definition at line 1185 of file oomph_utilities.h.
References Derivative_fpt, and Solution_fpt.
|
inline |
Definition at line 1191 of file oomph_utilities.h.
References Derivative_fpt, and Solution_fpt.
|
inline |
Definition at line 1197 of file oomph_utilities.h.
References Derivative_fpt, and Solution_fpt.
|
inlinevirtual |
Definition at line 1204 of file oomph_utilities.h.
|
inline |
Definition at line 1206 of file oomph_utilities.h.
References Derivative_fpt, and Solution_fpt.
|
inlinevirtual |
Call the derivative function.
Implements oomph::SolutionFunctorBase.
Definition at line 1234 of file oomph_utilities.h.
References Derivative_fpt, and t.
|
inlinevirtual |
Call the function.
Implements oomph::SolutionFunctorBase.
Definition at line 1219 of file oomph_utilities.h.
References Solution_fpt, and t.
|
inline |
Definition at line 1212 of file oomph_utilities.h.
References Derivative_fpt, and Solution_fpt.
| TimeSpaceValueToDoubleVectFctPt oomph::SolutionFunctor::Derivative_fpt |
Storage for derivative.
Definition at line 1253 of file oomph_utilities.h.
Referenced by derivative(), operator=(), SolutionFunctor(), SolutionFunctor(), SolutionFunctor(), and SolutionFunctor().
| TimeSpaceToDoubleVectFctPt oomph::SolutionFunctor::Solution_fpt |
Storage for solution.
Definition at line 1250 of file oomph_utilities.h.
Referenced by operator()(), operator=(), SolutionFunctor(), SolutionFunctor(), SolutionFunctor(), and SolutionFunctor().