Commit 7c944fbc authored by Nicolas Schwenck's avatar Nicolas Schwenck
Browse files

[test/multidomain/*]

added guardian macros for the case of missing multidomain


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15025 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent a1269502
......@@ -29,6 +29,8 @@
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/parametertreeparser.hh>
#if HAVE_DUNE_MULTIDOMAIN
#include <dumux/common/start.hh>
#include <dumux/io/interfacemeshcreator.hh>
......@@ -270,3 +272,15 @@ int main(int argc, char** argv)
typedef TTAG(TwoCNIStokesTwoPTwoCNIProblem) ProblemTypeTag;
return startLocal<ProblemTypeTag>(argc, argv, printUsage);
}
#else
#warning You need to have dune-multidomain installed to run this test
int main()
{
std::cerr << "You need to have dune-multidomain installed to run this test\n";
return 77;
}
#endif
......@@ -29,6 +29,8 @@
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/parametertreeparser.hh>
#if HAVE_DUNE_MULTIDOMAIN
#include <dumux/common/start.hh>
#include <dumux/io/interfacemeshcreator.hh>
......@@ -341,3 +343,15 @@ int main(int argc, char** argv)
typedef TTAG(TwoCNIZeroEqTwoPTwoCNIProblem) ProblemTypeTag;
return startLocal<ProblemTypeTag>(argc, argv, printUsage);
}
#else
#warning You need to have dune-multidomain installed to run this test
int main()
{
std::cerr << "You need to have dune-multidomain installed to run this test\n";
return 77;
}
#endif
......@@ -29,6 +29,8 @@
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/parametertreeparser.hh>
#if HAVE_DUNE_MULTIDOMAIN
#include <dumux/common/start.hh>
#include <dumux/io/interfacemeshcreator.hh>
......@@ -265,3 +267,15 @@ int main(int argc, char** argv)
typedef TTAG(TwoCStokesTwoPTwoCProblem) ProblemTypeTag;
return startLocal<ProblemTypeTag>(argc, argv, printUsage);
}
#else
#warning You need to have dune-multidomain installed to run this test
int main()
{
std::cerr << "You need to have dune-multidomain installed to run this test\n";
return 77;
}
#endif
......@@ -29,6 +29,8 @@
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/parametertreeparser.hh>
#if HAVE_DUNE_MULTIDOMAIN
#include <dumux/common/start.hh>
#include <dumux/io/interfacemeshcreator.hh>
......@@ -329,3 +331,15 @@ int main(int argc, char** argv)
typedef TTAG(TwoCZeroEqTwoPTwoCProblem) ProblemTypeTag;
return startLocal<ProblemTypeTag>(argc, argv, printUsage);
}
#else
#warning You need to have dune-multidomain installed to run this test
int main()
{
std::cerr << "You need to have dune-multidomain installed to run this test\n";
return 77;
}
#endif
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