AFEPack
|
#include <Miscellaneous.h>
公有成员 | |
Function () | |
virtual | ~Function () |
virtual value_type | value (const double *p) const |
virtual std::vector< value_type > | gradient (const double *p) const |
template valued function class. This class provided the virtual base of a mathematical function with its value and gradient expression provided. Then it can be used to make those finite element coding more convenient.
Function< value_type >::Function | ( | ) | [inline] |
Constructor
virtual Function< value_type >::~Function | ( | ) | [inline, virtual] |
Destructor
virtual std::vector<value_type> Function< value_type >::gradient | ( | const double * | p | ) | const [inline, virtual] |
the gradient of the function
virtual value_type Function< value_type >::value | ( | const double * | p | ) | const [inline, virtual] |
the value of the function