Skip to content
Snippets Groups Projects

[factory] Adapt to function.hh deprecation

Merged Timo Koch requested to merge feature/update-element-param-interface into master
All threads resolved!
2 files
+ 35
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -6,6 +6,8 @@
#include <memory>
#include <dune/common/fmatrix.hh>
#define DUNE_FUNCTION_HH_SILENCE_DEPRECATION
#include <dune/common/function.hh>
#include <dune/foamgrid/foamgrid/foamgridvertex.hh>
@@ -181,6 +183,7 @@ namespace Dune {
bool isNew_;
/** \brief The element parametrization */
// TODO after deprecation period (release 2.8) change this to std::function
std::shared_ptr<VirtualFunction<FieldVector<ctype, dimgrid>, FieldVector<ctype, dimworld> > > elementParametrization_;
/** \brief This flag is set by postGrow() if the element looses its right to coarsen
@@ -366,6 +369,7 @@ namespace Dune {
FoamGridEntityImp<dimgrid, dimgrid ,dimworld, ctype>* father_;
/** \brief The element parametrization */
// TODO after deprecation period (release 2.8) change this to std::function
std::shared_ptr<VirtualFunction<FieldVector<ctype, dimgrid>, FieldVector<ctype, dimworld> > > elementParametrization_;
/** \brief This flag is set by postGrow() if the element looses its right to coarsen
Loading