]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename a template argument. Make the argument 'const'. 5363/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 31 Oct 2017 00:06:40 +0000 (18:06 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 31 Oct 2017 00:15:21 +0000 (18:15 -0600)
include/deal.II/numerics/vector_tools.templates.h

index 67f9375c073032e0b9b98ec7e2aa58eba100c657..dc42b5bfab5740eea991b4d2bdaa63af189e5eeb 100644 (file)
@@ -114,10 +114,10 @@ namespace VectorTools
     //                        reinit()'d for the current cell
     //  function_values, offset: function_values is manipulated in place
     //                           starting at position offset
-    template <int dim, int spacedim, typename T2, typename T3>
+    template <int dim, int spacedim, typename FEValuesType, typename T3>
     void transform(const typename FiniteElementData<dim>::Conformity conformity,
                    const unsigned int offset,
-                   T2 &fe_values_jacobians,
+                   const FEValuesType &fe_values_jacobians,
                    T3 &function_values)
     {
       switch (conformity)
@@ -206,11 +206,11 @@ namespace VectorTools
     //   [ rest see above]
     // Output: the offset after we have handled the element at
     //   a given offset
-    template <int dim, int spacedim, typename T2, typename T3>
+    template <int dim, int spacedim, typename FEValuesType, typename T3>
     unsigned int
     apply_transform(const FiniteElement<dim, spacedim> &fe,
                     const unsigned int offset,
-                    T2 &fe_values_jacobians,
+                    const FEValuesType &fe_values_jacobians,
                     T3 &function_values)
     {
       if (const auto *system =

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.