diff --git a/dune/gfe/localenergy.hh b/dune/gfe/localenergy.hh index ba6f8da46fcd2db1323418662ecf1b74dc2ff867..e7e2f3efd1e49801bb53206fcb0a7a05222dcb07 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