Commit aeeea0ee authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[start.hh] added dumux start message

reviewed by hommel


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11570 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 2f4097f2
......@@ -218,7 +218,7 @@ void dumuxMessage_(bool start)
{
std::srand(std::time(0));
// roll the dice to decide which start message will be displayed:
dice_ = std::rand() % 7;
dice_ = std::rand() % 9; // has to be n+1
}
......@@ -282,6 +282,36 @@ void dumuxMessage_(bool start)
<< "the problem, to be quite honest with you, is that you\'ve never actually known what the question is."
<< " - Douglas Adams, HGttG \n";
break;
case 8:
if(start)
{
std::cout << "\n";
std::cout << " ## @@@@ @ @ @ @\n";
std::cout << " ### # @ @ @@ @@ @ \n";
std::cout << " ## # @ @ @ @ @ @ @ @ @ @ @\n";
std::cout << " ## # @ @ @ @ @ @ @ @ \n";
std::cout << " # # @@@@ @@@ @ @ @@@ 2.4\n";
std::cout << " # # \n";
std::cout << " # # \n";
std::cout << " # ## %%% \n";
std::cout << " # ### % % %% %% \n";
std::cout << "#### #%%% %% %%%%% %%%%%%%%%%%%%%%%%\n";
}
else
{
std::cout << "\n";
std::cout << " ## @@@@ @ @ @ @\n";
std::cout << " ### # @ @ @@ @@ @ \n";
std::cout << " ## # @ @ @ @ @ @ @ @ @ @ @\n";
std::cout << " ## # @ @ @ @ @ @ @ @ \n";
std::cout << " # # @@@@ @@@ @ @ @@@ 2.4\n";
std::cout << " # # \n";
std::cout << " # # \n";
std::cout << " # ## %%% \n";
std::cout << " # ### % % %% %% \n";
std::cout << "#### #%%% %% %%%%% %%%%%%%%%%%%%%%%%\n";
}
break;
//TODO: If you add a case, you have to increase the modulus at the beginning of the function!
default: // silence to delight Bernd
......
......@@ -479,6 +479,8 @@ public:
res.deserializeSectionEnd();
}
int timeStepIdx()
{ return timeStepIdx_; }
/*
* @}
*/
......
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