diff --git a/test/geomechanics/elastic/CMakeLists.txt b/test/geomechanics/elastic/CMakeLists.txt index 77e6742c6055cab028604454f00ffe5fe8824cdb..cf614128a3dfe814162be55ec79acb339d8b7407 100644 --- a/test/geomechanics/elastic/CMakeLists.txt +++ b/test/geomechanics/elastic/CMakeLists.txt @@ -1,9 +1,8 @@ dune_symlink_to_source_files(FILES "elastic.input") -# using box and numeric differentiation +# using box dune_add_test(NAME test_elastic_box SOURCES test_elastic.cc - COMPILE_DEFINITIONS TYPETAG=OnePIncompressibleBox NUMDIFFMETHOD=DiffMethod::numeric COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py CMD_ARGS --script fuzzy --files ${CMAKE_SOURCE_DIR}/test/references/elasticbox-reference.vtu diff --git a/test/geomechanics/elastic/problem.hh b/test/geomechanics/elastic/problem.hh index 4c49a4805ab7690d139fbf99e9b45bef357096bc..a593a66fdd24f89cbf6ed49ba9545738293f9b1f 100644 --- a/test/geomechanics/elastic/problem.hh +++ b/test/geomechanics/elastic/problem.hh @@ -25,8 +25,8 @@ #include <dune/common/fmatrix.hh> -#include <dumux/geomechanics/elastic/model.hh> #include <dumux/discretization/box/properties.hh> +#include <dumux/geomechanics/elastic/model.hh> #include <dumux/geomechanics/fvproblem.hh> #include "spatialparams.hh" @@ -82,8 +82,6 @@ public: ElasticProblem(std::shared_ptr<const FVGridGeometry> fvGridGeometry) : ParentType(fvGridGeometry) {} - //! The problem name. - const std::string name() const { return "elastic";} //! The temperature in the domain static constexpr Scalar temperature() { return 273.15; } //! Evaluate the initial value for a control volume. diff --git a/test/geomechanics/elastic/spatialparams.hh b/test/geomechanics/elastic/spatialparams.hh index 4471085f92ba9d2033c11ef493c5b8f48dbbfe2e..84a2b3e903309fc368396c72b46b108a6cd93e79 100644 --- a/test/geomechanics/elastic/spatialparams.hh +++ b/test/geomechanics/elastic/spatialparams.hh @@ -63,11 +63,6 @@ public: const LameParams& lameParamsAtPos(const GlobalPosition& globalPos) const { return lameParams_; } - //! The solid phase consists of only one component here, thus, we return 1.0 - template<class SolidSystem> - Scalar inertVolumeFractionAtPos(const GlobalPosition& globalPos, int compIdx) const - { return 1.0; } - private: LameParams lameParams_; };