From 8d58729cc72f1187a46f09d7f630357b47347760 Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Tue, 3 Mar 2015 16:24:33 +0000
Subject: [PATCH] [geomechanics] set default property value for enabling
 gravity

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14329 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/geomechanics/elastic/elasticpropertydefaults.hh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dumux/geomechanics/elastic/elasticpropertydefaults.hh b/dumux/geomechanics/elastic/elasticpropertydefaults.hh
index 69edcc968d..804d151d31 100644
--- a/dumux/geomechanics/elastic/elasticpropertydefaults.hh
+++ b/dumux/geomechanics/elastic/elasticpropertydefaults.hh
@@ -75,6 +75,9 @@ SET_TYPE_PROP(BoxElastic, FluxVariables, ElasticFluxVariablesBase<TypeTag>);
 
 //! Set the indices used by the linear elasticity model
 SET_TYPE_PROP(BoxElastic, Indices, ElasticIndices<>);
+
+//! enable gravity by default
+SET_BOOL_PROP(BoxElastic, ProblemEnableGravity, true);
 }
 }
 
-- 
GitLab