diff --git a/src/lagrangian/basic/Cloud/Cloud.C b/src/lagrangian/basic/Cloud/Cloud.C index f95a5d7cb..4d9675169 100644 --- a/src/lagrangian/basic/Cloud/Cloud.C +++ b/src/lagrangian/basic/Cloud/Cloud.C @@ -77,7 +77,6 @@ Foam::Cloud::Cloud cloud(pMesh, cloudName), IDLList(), polyMesh_(pMesh), - labels_(), globalPositionsPtr_() { checkPatches(); @@ -356,10 +355,6 @@ void Foam::Cloud::autoMap(const mapPolyMesh& mapper) << exit(FatalError); } - // Reset stored data that relies on the mesh - // polyMesh_.clearCellTree(); - cellWallFacesPtr_.clear(); - // Ask for the tetBasePtIs to trigger all processors to build // them, otherwise, if some processors have no particles then // there is a comms mismatch. diff --git a/src/lagrangian/basic/Cloud/Cloud.H b/src/lagrangian/basic/Cloud/Cloud.H index ec92e831f..37ca44f01 100644 --- a/src/lagrangian/basic/Cloud/Cloud.H +++ b/src/lagrangian/basic/Cloud/Cloud.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -75,14 +75,9 @@ class Cloud { // Private data + //- Reference to the mesh const polyMesh& polyMesh_; - //- Temporary storage for addressing. Used in findTris. - mutable DynamicList