OpenFOAM-4.x-lab/src
Henry Weller 4758c2ac86 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
..
combustionModels Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
conversion scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
dummyThirdParty scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
dynamicFvMesh Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
dynamicMesh processorPolyPatch, processorCyclicPolyPatch: Rationalized the construction of the patch name 2016-02-02 20:07:16 +00:00
edgeMesh Info -> InfoInFunction and updated comments 2016-01-20 17:51:15 +00:00
engine Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00
fileFormats Update headers 2016-01-11 13:02:52 +00:00
finiteVolume Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
fvAgglomerationMethods scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
fvMotionSolver Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
fvOptions Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
genericPatchFields Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
lagrangian tmp: Updated to store and preserve the const-ness of the reference to a constant object 2016-02-22 16:23:21 +00:00
mesh Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
meshTools coordinateSystems/coordinateRotation: Corrected e1, e2 and e3 and updated documentation 2016-01-29 09:56:59 +00:00
ODE Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00
OpenFOAM tmp: Updated to store and preserve the const-ness of the reference to a constant object 2016-02-22 16:23:21 +00:00
OSspecific/POSIX scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
parallel scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
postProcessing Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
Pstream scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
randomProcesses fftRenumber: Corrected namespace 2016-02-09 15:41:52 +00:00
regionCoupled Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
regionModels Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
renumber scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
sampling rawSurfaceWriter: Added support for compressed output 2016-02-02 20:22:27 +00:00
sixDoFRigidBodyMotion Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
surfMesh Info -> InfoInFunction and updated comments 2016-01-20 17:51:15 +00:00
thermophysicalModels Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
topoChangerFvMesh Info -> InfoInFunction and updated comments 2016-01-20 10:18:13 +00:00
transportModels scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
triSurface Boundary conditions: Added extrapolatedCalculatedFvPatchField 2016-02-20 22:44:37 +00:00
TurbulenceModels scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Allwmake scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00