]> https://gitweb.dealii.org/ - dealii.git/commit
Don't use static variables for anything that depends on some input parameter
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 11 Apr 2009 00:03:21 +0000 (00:03 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 11 Apr 2009 00:03:21 +0000 (00:03 +0000)
commit91e879c13a50aafdb4f4315fa3e9c98d848f0d53
treedcd9ced9b6ea58d71bbaa16eb9110db9019a289f
parent8905cc28ac5efa54033b08dcaab2f9a1c8694e00
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.