OpenFOAM-4.x-lab/src/meshTools
Henry Weller ac71f86574 UList: Rationalize assignment (shallow-copy vs deep-copy)
//- Disallow default shallow-copy assignment
    //
    //  Assignment of UList<T> may need to be either shallow (copy pointer)
    //  or deep (copy elements) depending on context or the particular type
    //  of list derived from UList and it is confusing and prone to error
    //  for the default assignment to be either.  The solution is to
    //  disallow default assignment and provide separate 'shallowCopy' and
    //  'deepCopy' member functions.
    void operator=(const UList<T>&) = delete;

    //- Copy the pointer held by the given UList.
    inline void shallowCopy(const UList<T>&);

    //- Copy elements of the given UList.
    void deepCopy(const UList<T>&);
2016-04-03 10:26:05 +01:00
..
algorithms Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
AMIInterpolation UList: Rationalize assignment (shallow-copy vs deep-copy) 2016-04-03 10:26:05 +01:00
cellClassification Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00
cellDist Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
cellFeatures Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
cellQuality OpenFOAM libraries: Updated to use the new const-safe tmp 2016-02-26 08:13:59 +00:00
coordinateSystems Updated Doxygen documentation and files 2016-03-14 11:00:24 +00:00
edgeFaceCirculator Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00
indexedOctree Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
Make OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp 2016-02-26 17:31:28 +00:00
mappedPatches Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required 2016-03-22 17:46:52 +00:00
meshSearch Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
meshStructure Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
meshTools Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
momentOfInertia OpenFOAM libraries: Updated to use the new const-safe tmp 2016-02-26 08:13:59 +00:00
polyMeshZipUpCells Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
primitiveMeshGeometry Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +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
regionSplit Pstream: optimisation of data exchange 2016-04-02 18:32:11 +01:00
searchableSurface Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
sets faceZoneToCell: Corrected cell selection logic 2016-04-01 16:59:51 +01:00
surfaceSets Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
tetOverlapVolume tetOverlapVolume: adjust tolerance 2015-03-05 18:57:38 +00:00
triSurface Updated Doxygen documentation and files 2016-03-14 11:00:24 +00:00
twoDPointCorrector Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00