From abb4c7349d9da5f9cc0617fd936f76bd84a96d5e Mon Sep 17 00:00:00 2001 From: Lisa Julia Nebel <lisa_julia.nebel@tu-dresden.de> Date: Sat, 5 Sep 2020 12:04:12 +0200 Subject: [PATCH] Small correction in localenergy.hh --- dune/gfe/localenergy.hh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/dune/gfe/localenergy.hh b/dune/gfe/localenergy.hh index ba6f8da4..e7e2f3ef 100644 --- a/dune/gfe/localenergy.hh +++ b/dune/gfe/localenergy.hh @@ -3,9 +3,7 @@ #include <vector> -namespace Dune { - -namespace GFE { +namespace Dune::GFE { /** \brief Base class for energies defined by integrating over one grid element */ template<class Basis, class TargetSpace> @@ -16,11 +14,9 @@ public: /** \brief Compute the energy * * \param localView Local view specifying the current element and the FE space there - * \param coefficients The coefficients of a FE function on the current element + * \param localSolution The coefficients of a FE function on the current element */ - virtual typename TargetSpace::ctype - energy (const typename Basis::LocalView& localView, - const std::vector<TargetSpace>& localSolution) const = 0; + virtual typename TargetSpace::ctype energy (const typename Basis::LocalView& localView, const std::vector<TargetSpace>& localSolution) const = 0; /** Empty virtual default destructor * @@ -30,9 +26,8 @@ public: }; -} // namespace GFE +} // namespace Dune::GFE -} // namespace Dune #endif // DUNE_GFE_LOCALENERGY_HH -- GitLab