Commit 886d9706 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[test][sequential1p] require UMFPack

parent 72f156b0
......@@ -23,7 +23,7 @@ dumux_add_test(NAME test_diffusion3d
LABELS porousmediumflow 1p sequential
SOURCES test_diffusion3d.cc
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMAKE_GUARD dune-alugrid_FOUND
CMAKE_GUARD "( dune-alugrid_FOUND AND HAVE_UMFPACK )"
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_diffusion3d_fv-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_fv-00000.vtu
......
......@@ -34,6 +34,8 @@
#include <dumux/porousmediumflow/2p/sequential/diffusion/problem.hh>
#include <dumux/porousmediumflow/sequential/cellcentered/velocity.hh>
#include <dumux/linear/seqsolverbackend.hh>
#include "test_diffusionspatialparams3d.hh"
namespace Dumux
......@@ -81,13 +83,8 @@ struct FluidSystem<TypeTag, TTag::DiffusionTest>
using type = FluidSystems::TwoPImmiscible<Scalar, WettingPhase, NonwettingPhase>;
};
#if HAVE_SUPERLU
template<class TypeTag>
struct LinearSolver<TypeTag, TTag::DiffusionTest> { using type = SuperLUBackend; };
#else
template<class TypeTag>
struct LinearSolver<TypeTag, TTag::DiffusionTest> { using type = ILUnRestartedGMResBackend; };
#endif
struct LinearSolver<TypeTag, TTag::DiffusionTest> { using type = UMFPackBackend; };
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment