mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Cloud: Removed unused data
This commit is contained in:
@ -77,7 +77,6 @@ Foam::Cloud<ParticleType>::Cloud
|
|||||||
cloud(pMesh, cloudName),
|
cloud(pMesh, cloudName),
|
||||||
IDLList<ParticleType>(),
|
IDLList<ParticleType>(),
|
||||||
polyMesh_(pMesh),
|
polyMesh_(pMesh),
|
||||||
labels_(),
|
|
||||||
globalPositionsPtr_()
|
globalPositionsPtr_()
|
||||||
{
|
{
|
||||||
checkPatches();
|
checkPatches();
|
||||||
@ -356,10 +355,6 @@ void Foam::Cloud<ParticleType>::autoMap(const mapPolyMesh& mapper)
|
|||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset stored data that relies on the mesh
|
|
||||||
// polyMesh_.clearCellTree();
|
|
||||||
cellWallFacesPtr_.clear();
|
|
||||||
|
|
||||||
// Ask for the tetBasePtIs to trigger all processors to build
|
// Ask for the tetBasePtIs to trigger all processors to build
|
||||||
// them, otherwise, if some processors have no particles then
|
// them, otherwise, if some processors have no particles then
|
||||||
// there is a comms mismatch.
|
// there is a comms mismatch.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -75,14 +75,9 @@ class Cloud
|
|||||||
{
|
{
|
||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
|
//- Reference to the mesh
|
||||||
const polyMesh& polyMesh_;
|
const polyMesh& polyMesh_;
|
||||||
|
|
||||||
//- Temporary storage for addressing. Used in findTris.
|
|
||||||
mutable DynamicList<label> labels_;
|
|
||||||
|
|
||||||
//- Does the cell have wall faces
|
|
||||||
mutable autoPtr<PackedBoolList> cellWallFacesPtr_;
|
|
||||||
|
|
||||||
//- Temporary storage for the global particle positions
|
//- Temporary storage for the global particle positions
|
||||||
mutable autoPtr<vectorField> globalPositionsPtr_;
|
mutable autoPtr<vectorField> globalPositionsPtr_;
|
||||||
|
|
||||||
@ -95,9 +90,6 @@ class Cloud
|
|||||||
//- Initialise cloud on IO constructor
|
//- Initialise cloud on IO constructor
|
||||||
void initCloud(const bool checkClass);
|
void initCloud(const bool checkClass);
|
||||||
|
|
||||||
//- Find all cells which have wall faces
|
|
||||||
void calcCellWallFaces() const;
|
|
||||||
|
|
||||||
//- Read cloud properties dictionary
|
//- Read cloud properties dictionary
|
||||||
void readCloudUniformProperties();
|
void readCloudUniformProperties();
|
||||||
|
|
||||||
@ -162,12 +154,6 @@ public:
|
|||||||
return IDLList<ParticleType>::size();
|
return IDLList<ParticleType>::size();
|
||||||
};
|
};
|
||||||
|
|
||||||
//- Return temporary addressing
|
|
||||||
DynamicList<label>& labels() const
|
|
||||||
{
|
|
||||||
return labels_;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Iterators
|
// Iterators
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -149,8 +149,7 @@ Foam::Cloud<ParticleType>::Cloud
|
|||||||
:
|
:
|
||||||
cloud(pMesh, cloudName),
|
cloud(pMesh, cloudName),
|
||||||
polyMesh_(pMesh),
|
polyMesh_(pMesh),
|
||||||
labels_(),
|
globalPositionsPtr_()
|
||||||
cellWallFacesPtr_()
|
|
||||||
{
|
{
|
||||||
checkPatches();
|
checkPatches();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user