From a43165971e90fcd8c116678642ba4dcbd37602dd Mon Sep 17 00:00:00 2001 From: Andreas Lauser <and@poware.org> Date: Fri, 16 Dec 2011 13:24:13 +0000 Subject: [PATCH] undo changes in boxmodels/2p2c/injectionproblem.hh of last commit causes compilation to fail git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7092 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- test/boxmodels/2p2c/injectionproblem.hh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/test/boxmodels/2p2c/injectionproblem.hh b/test/boxmodels/2p2c/injectionproblem.hh index 1619f77046..7cd28be4e6 100644 --- a/test/boxmodels/2p2c/injectionproblem.hh +++ b/test/boxmodels/2p2c/injectionproblem.hh @@ -57,14 +57,13 @@ SET_PROP(InjectionProblem, Problem) }; // Set fluid configuration -SET_TYPE_PROP(InjectionProblem, FluidSystem, Dumux::H2ON2FluidSystem<TypeTag>); -//SET_PROP(InjectionProblem, FluidSystem) -//{ private: -// typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; -// static const bool useComplexRelations = true; -//public: -// typedef Dumux::H2ON2FluidSystem<Scalar, useComplexRelations> type; -//}; +SET_PROP(InjectionProblem, FluidSystem) +{ private: + typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; + static const bool useComplexRelations = false; +public: + typedef Dumux::H2ON2FluidSystem<Scalar, useComplexRelations> type; +}; // Enable gravity SET_BOOL_PROP(InjectionProblem, EnableGravity, true); -- GitLab