]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Don't use static variables for anything that depends on some input parameter
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 11 Apr 2009 00:03:21 +0000 (00:03 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 11 Apr 2009 00:03:21 +0000 (00:03 +0000)
commit6bd859a0e31171f75cf4ac5b03694b7592c4f018
tree6c0f7a0b1cf6147b4def986dff82be54055a40fa
parentd7b7fb169192cc2b8a117da86c25a1466e1d4416
Don't use static variables for anything that depends on some input parameter
and/or may be non-constant. The use of static variables otherwise leads to
surprising results if the same code is run twice within the same program
execution but using different input files, and it is dangerous if code is run
in a multi-threaded context.

git-svn-id: https://svn.dealii.org/trunk@18583 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/examples/step-34/step-34.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.