Skip to content
Snippets Groups Projects
Commit 35e162d2 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[tutorialproblem_coupled] Move wrongly-placed std::cout to constructor.

std::cout was not placed at a valid place.
Fixed spelling and a surplus stream symbol <
(reviewed by natalies)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@12317 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 9dc11a31
No related merge requests found
...@@ -67,7 +67,6 @@ SET_TYPE_PROP(TutorialProblemCoupled, Grid, Dune::ALUGrid</*dim=*/2, 2, Dune::cu ...@@ -67,7 +67,6 @@ SET_TYPE_PROP(TutorialProblemCoupled, Grid, Dune::ALUGrid</*dim=*/2, 2, Dune::cu
SET_TYPE_PROP(TutorialProblemCoupled, Grid, Dune::UGGrid<2>); SET_TYPE_PROP(TutorialProblemCoupled, Grid, Dune::UGGrid<2>);
#else #else
SET_TYPE_PROP(TutorialProblemCoupled, Grid, Dune::YaspGrid<2>); SET_TYPE_PROP(TutorialProblemCoupled, Grid, Dune::YaspGrid<2>);
std::cout << "If you want to use simpleces instead of cubes, install and use ALUGrid or UGGrid." <<< std::endl;
#endif // HAVE_ALUGRID #endif // HAVE_ALUGRID
SET_TYPE_PROP(TutorialProblemCoupled, GridCreator, Dumux::CubeGridCreator<TypeTag>); /*@\label{tutorial-coupled:set-gridcreator}@*/ SET_TYPE_PROP(TutorialProblemCoupled, GridCreator, Dumux::CubeGridCreator<TypeTag>); /*@\label{tutorial-coupled:set-gridcreator}@*/
...@@ -126,6 +125,9 @@ public: ...@@ -126,6 +125,9 @@ public:
: ParentType(timeManager, gridView) : ParentType(timeManager, gridView)
, eps_(3e-6) , eps_(3e-6)
{ {
#if !(HAVE_ALUGRID || HAVE_UG)
std::cout << "If you want to use simplices instead of cubes, install and use ALUGrid or UGGrid." << std::endl;
#endif // !(HAVE_ALUGRID || HAVE_UG)
} }
//! Specifies the problem name. This is used as a prefix for files //! Specifies the problem name. This is used as a prefix for files
......
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