From 2e7179a61aeea809b016fd224bf5236d205bff78 Mon Sep 17 00:00:00 2001 From: hartmann Date: Fri, 2 Jul 1999 09:45:55 +0000 Subject: [PATCH] implementation of #Vectorfunction::value_list#, doc update git-svn-id: https://svn.dealii.org/trunk@1529 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/tensor_function.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/deal.II/base/include/base/tensor_function.h b/deal.II/base/include/base/tensor_function.h index 3185530fa1..aa1ad1e8f6 100644 --- a/deal.II/base/include/base/tensor_function.h +++ b/deal.II/base/include/base/tensor_function.h @@ -61,6 +61,13 @@ class VectorFunction // * already has the right size, i.e. * the same size as the #n_components# * array. + * + * Usually only #value_list# is called, + * e.g. by #FEValues#. So, to avoid + * multiple calling of this virtual function + * by #value_list#, implement the vectorfunction + * directly in #value_list# of the derived + * class. */ virtual void value (const Point &p, Vector &values) const; @@ -71,6 +78,10 @@ class VectorFunction // * already has the right size, i.e. * the same size as the #points# * array. + * + * This function uses multiple calling + * of the virtual function #value# (see there). + * If possible, overload this function. */ virtual void value_list (const vector > &points, vector > &values) const; -- 2.39.5