From: Jean-Paul Pelteret Date: Fri, 12 Oct 2018 16:49:54 +0000 (+0200) Subject: Americanize the ADHelperResidualLinearization class name X-Git-Tag: v9.1.0-rc1~623^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=169bc7721e5a46373ea99f17c27401a661e6f9e6;p=dealii.git Americanize the ADHelperResidualLinearization class name --- diff --git a/doc/news/changes/major/20180930Jean-PaulPelteret b/doc/news/changes/major/20180930Jean-PaulPelteret index 7b6ec4731c..1c5bf9ae19 100644 --- a/doc/news/changes/major/20180930Jean-PaulPelteret +++ b/doc/news/changes/major/20180930Jean-PaulPelteret @@ -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.
diff --git a/include/deal.II/differentiation/ad/ad_helpers.h b/include/deal.II/differentiation/ad/ad_helpers.h index 0ebbb47e95..45971a4204 100644 --- a/include/deal.II/differentiation/ad/ad_helpers.h +++ b/include/deal.II/differentiation/ad/ad_helpers.h @@ -1465,7 +1465,7 @@ namespace Differentiation */ template - class ADHelperResidualLinearisation + class ADHelperResidualLinearization : public ADHelperCellLevelBase { 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 diff --git a/source/differentiation/ad/ad_helpers.cc b/source/differentiation/ad/ad_helpers.cc index 6d03dd2414..941f6c830f 100644 --- a/source/differentiation/ad/ad_helpers.cc +++ b/source/differentiation/ad/ad_helpers.cc @@ -979,13 +979,13 @@ namespace Differentiation } - /* ------------------- ADHelperResidualLinearisation ------------------- */ + /* ------------------- ADHelperResidualLinearization ------------------- */ template - ADHelperResidualLinearisation:: - ADHelperResidualLinearisation(const unsigned int n_independent_variables, + ADHelperResidualLinearization:: + ADHelperResidualLinearization(const unsigned int n_independent_variables, const unsigned int n_dependent_variables) : ADHelperCellLevelBase( n_independent_variables, @@ -996,7 +996,7 @@ namespace Differentiation template void - ADHelperResidualLinearisation:: + ADHelperResidualLinearization:: register_residual_vector(const std::vector &residual) { Assert(residual.size() == this->n_dependent_variables(), @@ -1011,7 +1011,7 @@ namespace Differentiation template void - ADHelperResidualLinearisation:: + ADHelperResidualLinearization:: compute_residual(Vector &values) const { if ((ADNumberTraits::is_taped == true && @@ -1067,7 +1067,7 @@ namespace Differentiation template void - ADHelperResidualLinearisation:: + ADHelperResidualLinearization:: compute_linearization(FullMatrix &jacobian) const { if ((ADNumberTraits::is_taped == true && diff --git a/source/differentiation/ad/ad_helpers.inst1.in b/source/differentiation/ad/ad_helpers.inst1.in index 79bc953f1c..bf91f88855 100644 --- a/source/differentiation/ad/ad_helpers.inst1.in +++ b/source/differentiation/ad/ad_helpers.inst1.in @@ -45,13 +45,13 @@ for (number : REAL_SCALARS) template class ADHelperEnergyFunctional; - // -------------------------- ADHelperResidualLinearisation ---------------------- + // -------------------------- ADHelperResidualLinearization ---------------------- template - class ADHelperResidualLinearisation; + class ADHelperResidualLinearization; template - class ADHelperResidualLinearisation; + class ADHelperResidualLinearization; \} \} @@ -89,13 +89,13 @@ for () template class ADHelperEnergyFunctional::ad_type>; - // -------------------------- ADHelperResidualLinearisation ---------------------- + // -------------------------- ADHelperResidualLinearization ---------------------- template - class ADHelperResidualLinearisation::ad_type>; + class ADHelperResidualLinearization::ad_type>; template - class ADHelperResidualLinearisation::ad_type>; + class ADHelperResidualLinearization::ad_type>; \} diff --git a/source/differentiation/ad/ad_helpers.inst2.in b/source/differentiation/ad/ad_helpers.inst2.in index 1e64944e57..30c30a054c 100644 --- a/source/differentiation/ad/ad_helpers.inst2.in +++ b/source/differentiation/ad/ad_helpers.inst2.in @@ -63,19 +63,19 @@ for (number : REAL_SCALARS) template class ADHelperEnergyFunctional; - // -------------------------- ADHelperResidualLinearisation ---------------------- + // -------------------------- ADHelperResidualLinearization ---------------------- template - class ADHelperResidualLinearisation; + class ADHelperResidualLinearization; template - class ADHelperResidualLinearisation; + class ADHelperResidualLinearization; template - class ADHelperResidualLinearisation; + class ADHelperResidualLinearization; template - class ADHelperResidualLinearisation; + class ADHelperResidualLinearization; \} \} @@ -131,19 +131,19 @@ for () template class ADHelperEnergyFunctional::ad_type>; - // -------------------------- ADHelperResidualLinearisation ---------------------- + // -------------------------- ADHelperResidualLinearization ---------------------- template - class ADHelperResidualLinearisation::ad_type>; + class ADHelperResidualLinearization::ad_type>; template - class ADHelperResidualLinearisation::ad_type>; + class ADHelperResidualLinearization::ad_type>; template - class ADHelperResidualLinearisation::ad_type>; + class ADHelperResidualLinearization::ad_type>; template - class ADHelperResidualLinearisation::ad_type>; + class ADHelperResidualLinearization::ad_type>; \}