24#ifndef DUMUX_MESSAGE_HH
25#define DUMUX_MESSAGE_HH
40 static const int nMessages_ = 11;
48 static void print(
bool firstCall =
false)
56 std::srand(std::time(0));
57 dice = std::rand() % (nMessages_ + 1);
60 std::cout << std::endl;
66 std::cout <<
"Welcome aboard DuMuX airlines. Please fasten your seatbelts! "
67 <<
"Emergency exits are near the time integration." << std::endl;
69 std::cout <<
"We hope that you enjoyed simulating with us " << std::endl
70 <<
"and that you will choose us next time, too." << std::endl;
74 std::cout <<
"Let's get the cow off the ice." << std::endl;
76 std::cout <<
"DuMuX got the cow off the ice." << std::endl;
80 std::cout <<
"Science, my lad, is made up of mistakes, but they are "
81 <<
"mistakes which it is useful to make, because they lead little "
82 <<
"by little to the truth." << std::endl
83 <<
" - Jules Verne, A journey to the center of the earth" << std::endl;
85 std::cout <<
"[We see that] science is eminently perfectible, and that each theory has "
86 <<
"constantly to give way to a fresh one." << std::endl
87 <<
" - Jules Verne, Journey to the Center of the Earth" << std::endl;
92 std::cout <<
"Wherever he saw a hole he always wanted to know the depth of it. "
93 <<
"To him this was important." << std::endl
94 <<
" - Jules Verne, A journey to the center of the earth" << std::endl;
96 std::cout <<
"We may brave human laws, but we cannot resist natural ones." << std::endl
97 <<
" - Jules Verne, 20,000 Leagues Under the Sea" << std::endl;
101 std::cout <<
"Silence - to delight Bernd." << std::endl;
103 std::cout << std::endl << std::endl;
106 std::cout <<
"Don't panic... !" << std::endl;
110 std::cout <<
"You idiot! You signed the order to destroy Earth!" << std::endl
111 <<
" - Douglas Adams, HGttG" << std::endl;
113 std::cout <<
"Marvin: I've been talking to the main computer." << std::endl
114 <<
"Arthur: And?" << std::endl
115 <<
"Marvin: It hates me." << std::endl
116 <<
" - Douglas Adams, HGttG" << std::endl;
120 std::cout <<
"In the beginning the Universe was created. This has made a lot of "
121 <<
"people very angry and has been widely regarded as a bad move.!" << std::endl
122 <<
" - Douglas Adams, HGttG " << std::endl;
124 std::cout <<
"Forty-two. I checked it very thoroughly, and that quite definitely is the answer. I think "
125 <<
"the problem, to be quite honest with you, is that you\'ve never actually known what the question is." << std::endl
126 <<
" - Douglas Adams, HGttG " << std::endl;
129 std::cout <<
" ## @@@@ @ @ @ @" << std::endl;
130 std::cout <<
" ### # @ @ @@ @@ @ " << std::endl;
131 std::cout <<
" ## # @ @ @ @ @ @ @ @ @ @ @" << std::endl;
132 std::cout <<
" ## # @ @ @ @ @ @ @ @ " << std::endl;
133 std::cout <<
" # # @@@@ @@@ @ @ @@@ " << std::endl;
134 std::cout <<
" # # " << std::endl;
135 std::cout <<
" # # " << std::endl;
136 std::cout <<
" # ## %%% " << std::setw(8) << std::right << DUMUX_VERSION << std::endl;
137 std::cout <<
" # ### % % %% %% " << std::endl;
138 std::cout <<
"#### #%%% %% %%%%% %%%%%%%%%%%%%%%%%" << std::endl;
141 std::cout <<
"### # # # # " << std::endl;
142 std::cout <<
"# # # # ## ## # # # " << std::endl;
143 std::cout <<
"# # # # # # # # # # # " << std::endl;
144 std::cout <<
"### ## # # ## " << std::endl;
145 std::cout <<
" " << std::endl;
146 std::cout <<
"Dune for Multi-{ Phase, " << std::endl;
147 std::cout <<
" Component, " << std::endl;
148 std::cout <<
" Scale, " << std::endl;
149 std::cout <<
" Physics, " << std::endl;
150 std::cout <<
" ...} flow and transport in porous media" << std::endl;
154 std::cout <<
"Elliot Carver: Mr. Jones, are we ready to release our new software?" << std::endl
155 <<
"Jones: Yes, sir. As requested, it's full of bugs, which means people will be forced to upgrade for years." << std::endl
156 <<
" - James Bond, Tomorrow Never Dies" << std::endl;
159 std::cout <<
"Elliot Carver: Outstanding." << std::endl
160 <<
" - James Bond, Tomorrow Never Dies" << std::endl;
165 std::cout <<
"Chuck Norris has successfully compiled DuMuX." << std::endl;
167 std::cout <<
"Chuck Norris has compiled DuMuX even two times in a row!" << std::endl;
175 std::cout << std::endl;
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
DuMux start and end message.
Definition: dumuxmessage.hh:38
static void print(bool firstCall=false)
Selects random messages to write out at the start and end of a simulation run.
Definition: dumuxmessage.hh:48