Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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