Skip to content
Snippets Groups Projects

Migrate from dune-fufem to dune-functions bases

Merged Nebel, Lisa Julia requested to merge lnebel/dune-gfe:migration into master
1 file
+ 4
9
Compare changes
  • Side-by-side
  • Inline
+ 4
9
@@ -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
Loading