Skip to content
Snippets Groups Projects
Commit dce1f9d8 authored by Markus Blatt's avatar Markus Blatt
Browse files

Activate AMG for impes without PDELab.

Currently this breaks the build, as the model is missing the members
dofMapper and gridView.


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/branches/strip-pdelab@12939 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent f1ebe8f5
No related branches found
No related tags found
No related merge requests found
...@@ -24,10 +24,6 @@ ...@@ -24,10 +24,6 @@
*/ */
#include "config.h" #include "config.h"
#if HAVE_DUNE_PDELAB
// Check if DUNE-PDELab has been patched for our needs.
#ifdef DUNE_PDELAB_IS_PATCHED_FOR_DUMUX
#include "test_impesproblem.hh" #include "test_impesproblem.hh"
#include <dumux/common/start.hh> #include <dumux/common/start.hh>
...@@ -68,30 +64,3 @@ int main(int argc, char** argv) ...@@ -68,30 +64,3 @@ int main(int argc, char** argv)
typedef TTAG(IMPESTestProblemWithAMG) ProblemTypeTag; typedef TTAG(IMPESTestProblemWithAMG) ProblemTypeTag;
return Dumux::start<ProblemTypeTag>(argc, argv, usage); return Dumux::start<ProblemTypeTag>(argc, argv, usage);
} }
#else // DUNE_PDELAB_IS_PATCHED_FOR_DUMUX
#warning You need to have a patched dune-pdelab to run this test, see ../../../patches/README for details.
#include <iostream>
int main()
{
std::cerr << "You need to have a patched dune-pdelab to run this test, "
"see ../../../patches/README for details." << std::endl;
return 77;
}
#endif // DUNE_PDELAB_IS_PATCHED_FOR_DUMUX
#else // HAVE_DUNE_PDELAB
#warning You need to have dune-pdelab installed and patched to run this test.
#include <iostream>
int main()
{
std::cerr << "You need to have dune-pdelab installed and patched to run this test.\n";
return 77;
}
#endif // HAVE_DUNE_PDELAB
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment