From cb7f0f7238ce034c8564521f80ae81c3087bd997 Mon Sep 17 00:00:00 2001 From: Felix Albrecht <mail@felixalbrecht.de> Date: Fri, 1 Feb 2013 18:49:51 +0100 Subject: [PATCH] [function.interface] (re)added another evaluate() --- dune/stuff/function/interface.hh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dune/stuff/function/interface.hh b/dune/stuff/function/interface.hh index d5518c7ad..16bc9d5bb 100644 --- a/dune/stuff/function/interface.hh +++ b/dune/stuff/function/interface.hh @@ -139,10 +139,14 @@ public: } /* @} */ - /** \defgroup functional ´´These methods are provided by the interface itself.'' */ + /** \defgroup provided ´´These methods are provided by the interface itself, but may not be implemented optimal.'' */ /* @{ */ - // // first of all, import all the nonparametric evaluate()s - // using ComponentType::evaluate; + virtual RangeType evaluate(const DomainType& _x) const + { + RangeType ret; + evaluate(_x, ret); + return ret; + } // virtual RangeType evaluate(const DomainType& x, const ParamType& mu) const // { -- GitLab