~pefarrell/fluidity/burgers-hand-adjoint

Viewing all changes in revision 2903.

  • Committer: skramer
  • Date: 2011-02-16 16:32:17 UTC
  • Revision ID: svn-v4:5bf5533e-7014-46e3-b1bb-cce4b9d03719:trunk:2986
Thread safety fix.
General WARNING about lines like the following:

integer, dimension(:), pointer :: nodes => null()

The initialisation expression '=> null()' has the, usually unintended, consequence of adding the save status to the variable, i.e. it becomes a static variable whose value (in this case association status) is retained between calls. The initialisation expression is in fact only "evaluated" in the first call. Do not use initialisation expressions for local variables, unless this is what you want - in which case it would be nice to explicitly add the save attribute.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: