Commit Graph

9 Commits

Author SHA1 Message Date
7ba41e0095 Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
15b7e87da7 tmp: Updated to store and preserve the const-ness of the reference to a constant object
This change requires that the de-reference operator '()' returns a
const-reference to the object stored irrespective of the const-ness of
object stored and the new member function 'ref()' is provided to return
an non-const reference to stored object which throws a fatal error if the
stored object is const.

In order to smooth the transition to this new safer 'tmp' the now
deprecated and unsafe non-const de-reference operator '()' is still
provided by default but may be switched-off with the compilation switch
'CONST_TMP'.

The main OpenFOAM library has already been upgraded and '-DCONST_TMP'
option specified in the 'options' file to switch to the new 'tmp'
behavior.  The rest of OpenFOAM-dev will be upgraded over the following
few weeks.

Henry G. Weller
CFD Direct
2016-02-22 16:23:21 +00:00
a4ab3f61db src/OpenFOAM: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-08 12:23:52 +00:00
b51ba049aa BUG: treeBoundBox: If test point is on boundBox the intersection test can
get stuck in a loop. Allow maximum of 4 iterations (3 clippings plus one
iteration to update the result).
2013-09-19 16:18:11 +01:00
db89978ade Updated headers for Laurence and Andy 2012-12-17 11:42:00 +00:00
26a9fbb6e1 ENH: boundBox: Move overlaps function from treeBoundBox.
Update indexedOctree::overlaps to use boundBox::overlaps.
2012-12-11 16:49:36 +00:00
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
8898bc4622 ENH: Bigger bounds, adding limitBounds box. 2011-06-29 15:48:32 +01:00
c2851eaa9f ENH: moved indexedOctree and treeBoundBox from meshTools to OpenFOAM 2011-02-24 16:06:51 +00:00