Commit eeaf5660 authored by Andreas Lauser's avatar Andreas Lauser
Browse files

stokes: also print warnings at compile time if superLU is not available

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7702 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 6666d866
......@@ -29,6 +29,7 @@ int main(int argc, char** argv)
typedef TTAG(StokesTestProblem) ProblemTypeTag;
return Dumux::startFromDGF<ProblemTypeTag>(argc, argv);
#else
#warning "No SuperLU installed. Stokes currently only works with SuperLU."
std::cout << "No SuperLU installed. Stokes currently only works with SuperLU." << std::endl;
return 1;
#endif
......
......@@ -29,6 +29,7 @@ int main(int argc, char** argv)
typedef TTAG(Stokes2cTestProblem) ProblemTypeTag;
return Dumux::startFromDGF<ProblemTypeTag>(argc, argv);
#else
#warning "No SuperLU installed. Stokes currently only works with SuperLU."
std::cout << "No SuperLU installed. Stokes currently only works with SuperLU." << std::endl;
return 1;
#endif
......
......@@ -29,6 +29,7 @@ int main(int argc, char** argv)
typedef TTAG(Stokes2cniTestProblem) ProblemTypeTag;
return Dumux::startFromDGF<ProblemTypeTag>(argc, argv);
#else
#warning "No SuperLU installed. Stokes currently only works with SuperLU."
std::cout << "No SuperLU installed. Stokes currently only works with SuperLU." << std::endl;
return 1;
#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