]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also templatize on output data type.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 16 May 2000 10:51:06 +0000 (10:51 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 16 May 2000 10:51:06 +0000 (10:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@2866 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_values.h

index b3ec0a389b582205cccd01cc915680ce6bdbebdd..0a63bc791c81cab63b66adec17e511f174fad20d 100644 (file)
@@ -311,9 +311,9 @@ class FEValuesBase
                                      * #Vector<float>#, or
                                      * #BlockVector<double,...>#.
                                      */
-    template <class InputVector>
+    template <class InputVector, typename number>
     void get_function_values (const InputVector &fe_function,
-                             vector<double>    &values) const;
+                             vector<number>    &values) const;
 
                                     /**
                                      * Access to vector valued finite
@@ -330,9 +330,9 @@ class FEValuesBase
                                      * #Vector<float>#, or
                                      * #BlockVector<double,...>#.
                                      */
-    template <class InputVector>
+    template <class InputVector, typename number>
     void get_function_values (const InputVector       &fe_function,
-                             vector<Vector<double> > &values) const;
+                             vector<Vector<number> > &values) const;
 
                                     /**
                                      * Return the gradient of the #i#th shape

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.