From: Wolfgang Bangerth Date: Thu, 19 Mar 1998 10:33:06 +0000 (+0000) Subject: Offer general function object. X-Git-Tag: v8.0.0~23165 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32d98f36ee0ef6023a9da72f6ed962dd065b2057;p=dealii.git Offer general function object. git-svn-id: https://svn.dealii.org/trunk@86 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/function.h b/deal.II/base/include/base/function.h new file mode 100644 index 0000000000..b70514af93 --- /dev/null +++ b/deal.II/base/include/base/function.h @@ -0,0 +1,29 @@ +/*---------------------------- function.h ---------------------------*/ +/* */ +#ifndef __function_H +#define __function_H +/*---------------------------- function.h ---------------------------*/ + + +//forward declaration +template class Point; +template class vector; + + + + +template +class Function { + public: + virtual double operator () (const Point &p) const = 0; + virtual void value_list (const vector > &points, + vector &values) const; +}; + + + + +/*---------------------------- function.h ---------------------------*/ +/* end of #ifndef __function_H */ +#endif +/*---------------------------- function.h ---------------------------*/