]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Americanize the ADHelperResidualLinearization class name 7342/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 12 Oct 2018 16:49:54 +0000 (18:49 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 12 Oct 2018 16:49:54 +0000 (18:49 +0200)
doc/news/changes/major/20180930Jean-PaulPelteret
include/deal.II/differentiation/ad/ad_helpers.h
source/differentiation/ad/ad_helpers.cc
source/differentiation/ad/ad_helpers.inst1.in
source/differentiation/ad/ad_helpers.inst2.in

index 7b6ec4731c40c97e3181dafaaa262a8bd0f6437d..1c5bf9ae19971f69b297fc336998090be295fdaa 100644 (file)
@@ -1,4 +1,4 @@
-New: A new class Differentiation::AD::ADHelperResidualLinearisation has been
+New: A new class Differentiation::AD::ADHelperResidualLinearization has been
 added to help compute the linearization of a residual vector defined on the 
 level of a cell (a finite element residual), or for local nonlinear equations. 
 <br>
index 0ebbb47e957b573628c108b193c8e37964240ae6..45971a420481fba73fc1ed80937716080db952ff 100644 (file)
@@ -1465,7 +1465,7 @@ namespace Differentiation
      */
     template <enum AD::NumberTypes ADNumberTypeCode,
               typename ScalarType = double>
-    class ADHelperResidualLinearisation
+    class ADHelperResidualLinearization
       : public ADHelperCellLevelBase<ADNumberTypeCode, ScalarType>
     {
     public:
@@ -1502,13 +1502,13 @@ namespace Differentiation
        * be the number of outputs $\mathbf{r}$, i.e. the dimension of the
        * image space.
        */
-      ADHelperResidualLinearisation(const unsigned int n_independent_variables,
+      ADHelperResidualLinearization(const unsigned int n_independent_variables,
                                     const unsigned int n_dependent_variables);
 
       /**
        * Destructor
        */
-      virtual ~ADHelperResidualLinearisation() = default;
+      virtual ~ADHelperResidualLinearization() = default;
 
       //@}
 
@@ -1575,7 +1575,7 @@ namespace Differentiation
 
       //@}
 
-    }; // class ADHelperResidualLinearisation
+    }; // class ADHelperResidualLinearization
 
 
   } // namespace AD
index 6d03dd24147fd17167a2b4d492a25376662b3aa2..941f6c830fc2a77bdf630e609def9e9ac32f8775 100644 (file)
@@ -979,13 +979,13 @@ namespace Differentiation
     }
 
 
-    /* ------------------- ADHelperResidualLinearisation ------------------- */
+    /* ------------------- ADHelperResidualLinearization ------------------- */
 
 
 
     template <enum AD::NumberTypes ADNumberTypeCode, typename ScalarType>
-    ADHelperResidualLinearisation<ADNumberTypeCode, ScalarType>::
-      ADHelperResidualLinearisation(const unsigned int n_independent_variables,
+    ADHelperResidualLinearization<ADNumberTypeCode, ScalarType>::
+      ADHelperResidualLinearization(const unsigned int n_independent_variables,
                                     const unsigned int n_dependent_variables)
       : ADHelperCellLevelBase<ADNumberTypeCode, ScalarType>(
           n_independent_variables,
@@ -996,7 +996,7 @@ namespace Differentiation
 
     template <enum AD::NumberTypes ADNumberTypeCode, typename ScalarType>
     void
-    ADHelperResidualLinearisation<ADNumberTypeCode, ScalarType>::
+    ADHelperResidualLinearization<ADNumberTypeCode, ScalarType>::
       register_residual_vector(const std::vector<ad_type> &residual)
     {
       Assert(residual.size() == this->n_dependent_variables(),
@@ -1011,7 +1011,7 @@ namespace Differentiation
 
     template <enum AD::NumberTypes ADNumberTypeCode, typename ScalarType>
     void
-    ADHelperResidualLinearisation<ADNumberTypeCode, ScalarType>::
+    ADHelperResidualLinearization<ADNumberTypeCode, ScalarType>::
       compute_residual(Vector<scalar_type> &values) const
     {
       if ((ADNumberTraits<ad_type>::is_taped == true &&
@@ -1067,7 +1067,7 @@ namespace Differentiation
 
     template <enum AD::NumberTypes ADNumberTypeCode, typename ScalarType>
     void
-    ADHelperResidualLinearisation<ADNumberTypeCode, ScalarType>::
+    ADHelperResidualLinearization<ADNumberTypeCode, ScalarType>::
       compute_linearization(FullMatrix<scalar_type> &jacobian) const
     {
       if ((ADNumberTraits<ad_type>::is_taped == true &&
index 79bc953f1cf27377c8816c65e8e7f963cb85dad4..bf91f88855b7a56105830a0b6919153331ede771 100644 (file)
@@ -45,13 +45,13 @@ for (number : REAL_SCALARS)
     template
     class ADHelperEnergyFunctional<NumberTypes::adolc_tapeless,number>;
 
-    // -------------------------- ADHelperResidualLinearisation ----------------------
+    // -------------------------- ADHelperResidualLinearization ----------------------
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::adolc_taped,number>;
+    class ADHelperResidualLinearization<NumberTypes::adolc_taped,number>;
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::adolc_tapeless,number>;
+    class ADHelperResidualLinearization<NumberTypes::adolc_tapeless,number>;
 
     \}
     \}
@@ -89,13 +89,13 @@ for ()
     template
     class ADHelperEnergyFunctional<NumberTypes::adolc_tapeless,typename NumberTraits<double,NumberTypes::adolc_tapeless>::ad_type>;
 
-    // -------------------------- ADHelperResidualLinearisation ----------------------
+    // -------------------------- ADHelperResidualLinearization ----------------------
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::adolc_taped,typename NumberTraits<double,NumberTypes::adolc_taped>::ad_type>;
+    class ADHelperResidualLinearization<NumberTypes::adolc_taped,typename NumberTraits<double,NumberTypes::adolc_taped>::ad_type>;
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::adolc_tapeless,typename NumberTraits<double,NumberTypes::adolc_tapeless>::ad_type>;
+    class ADHelperResidualLinearization<NumberTypes::adolc_tapeless,typename NumberTraits<double,NumberTypes::adolc_tapeless>::ad_type>;
 
 
     \}
index 1e64944e57246939dc8e566cddaa9b144a45a2ea..30c30a054ce39d354e41219747075a6d9d30a154 100644 (file)
@@ -63,19 +63,19 @@ for (number : REAL_SCALARS)
     template
     class ADHelperEnergyFunctional<NumberTypes::sacado_rad_dfad,number>;
 
-    // -------------------------- ADHelperResidualLinearisation ----------------------
+    // -------------------------- ADHelperResidualLinearization ----------------------
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::sacado_dfad_dfad,number>;
+    class ADHelperResidualLinearization<NumberTypes::sacado_dfad_dfad,number>;
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::sacado_dfad,number>;
+    class ADHelperResidualLinearization<NumberTypes::sacado_dfad,number>;
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::sacado_rad,number>;
+    class ADHelperResidualLinearization<NumberTypes::sacado_rad,number>;
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::sacado_rad_dfad,number>;
+    class ADHelperResidualLinearization<NumberTypes::sacado_rad_dfad,number>;
 
     \}
     \}
@@ -131,19 +131,19 @@ for ()
     template
     class ADHelperEnergyFunctional<NumberTypes::sacado_rad_dfad,typename NumberTraits<double,NumberTypes::sacado_rad_dfad>::ad_type>;
 
-    // -------------------------- ADHelperResidualLinearisation ----------------------
+    // -------------------------- ADHelperResidualLinearization ----------------------
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::sacado_dfad_dfad,typename NumberTraits<double,NumberTypes::sacado_dfad_dfad>::ad_type>;
+    class ADHelperResidualLinearization<NumberTypes::sacado_dfad_dfad,typename NumberTraits<double,NumberTypes::sacado_dfad_dfad>::ad_type>;
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::sacado_dfad,typename NumberTraits<double,NumberTypes::sacado_dfad>::ad_type>;
+    class ADHelperResidualLinearization<NumberTypes::sacado_dfad,typename NumberTraits<double,NumberTypes::sacado_dfad>::ad_type>;
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::sacado_rad,typename NumberTraits<double,NumberTypes::sacado_rad>::ad_type>;
+    class ADHelperResidualLinearization<NumberTypes::sacado_rad,typename NumberTraits<double,NumberTypes::sacado_rad>::ad_type>;
 
     template
-    class ADHelperResidualLinearisation<NumberTypes::sacado_rad_dfad,typename NumberTraits<double,NumberTypes::sacado_rad_dfad>::ad_type>;
+    class ADHelperResidualLinearization<NumberTypes::sacado_rad_dfad,typename NumberTraits<double,NumberTypes::sacado_rad_dfad>::ad_type>;
 
 
     \}

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.