mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix lonely DUNE 2.3 deprecation warning
now akvarium should be fully happy build-wise...
This commit is contained in:
parent
bf32eb0010
commit
46fca5437c
@ -42,6 +42,7 @@
|
|||||||
|
|
||||||
#include <dune/common/fvector.hh>
|
#include <dune/common/fvector.hh>
|
||||||
#include <dune/common/fmatrix.hh>
|
#include <dune/common/fmatrix.hh>
|
||||||
|
#include <dune/common/version.hh>
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -208,7 +209,11 @@ public:
|
|||||||
* \copydoc Doxygen::defaultProblemConstructor
|
* \copydoc Doxygen::defaultProblemConstructor
|
||||||
*/
|
*/
|
||||||
WaterAirProblem(TimeManager &timeManager)
|
WaterAirProblem(TimeManager &timeManager)
|
||||||
|
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2,3)
|
||||||
|
: ParentType(timeManager, GET_PROP_TYPE(TypeTag, GridCreator)::grid().leafGridView())
|
||||||
|
#else
|
||||||
: ParentType(timeManager, GET_PROP_TYPE(TypeTag, GridCreator)::grid().leafView())
|
: ParentType(timeManager, GET_PROP_TYPE(TypeTag, GridCreator)::grid().leafView())
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
maxDepth_ = 1000.0; // [m]
|
maxDepth_ = 1000.0; // [m]
|
||||||
eps_ = 1e-6;
|
eps_ = 1e-6;
|
||||||
|
Loading…
Reference in New Issue
Block a user