#include <function.h>
Public Member Functions | |
ZeroFunction (const unsigned int n_components=1) | |
VALUE | value (const Point< DIM, VALUE > &p, const unsigned int component=0) const |
void | vector_value (const Point< DIM, VALUE > &p, Vector< VALUE > &values) const |
scalar or vector valued zero function
VALUE MathTL::ZeroFunction< DIM, VALUE >::value | ( | const Point< DIM, VALUE > & | p, |
const unsigned int | component = 0 |
||
) | const [inline, virtual] |
evaluate (a component of) the function
Implements MathTL::Function< DIM, VALUE >.
void MathTL::ZeroFunction< DIM, VALUE >::vector_value | ( | const Point< DIM, VALUE > & | p, |
Vector< VALUE > & | values | ||
) | const [inline, virtual] |
evaluate the function (values should be of appropriate size)
Implements MathTL::Function< DIM, VALUE >.