Skip to content
Snippets Groups Projects
Commit abb4c734 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Small correction in localenergy.hh

parent 449533c9
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !48. Comments created here will be created in the context of that merge request.
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment