mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: overset: memory leak. Fixes #2219
Not tested; from visual inspection
This commit is contained in:
@ -56,7 +56,7 @@ class fvMeshLduAddressing
|
|||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
//- Lower as a subList of allOwner
|
//- Lower as a subList of allOwner
|
||||||
labelList::subList lowerAddr_;
|
const labelList::subList lowerAddr_;
|
||||||
|
|
||||||
//- Upper as a reference to neighbour
|
//- Upper as a reference to neighbour
|
||||||
const labelList& upperAddr_;
|
const labelList& upperAddr_;
|
||||||
|
|||||||
@ -32,7 +32,6 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
Foam::fvMeshPrimitiveLduAddressing::fvMeshPrimitiveLduAddressing
|
Foam::fvMeshPrimitiveLduAddressing::fvMeshPrimitiveLduAddressing
|
||||||
(
|
(
|
||||||
const fvMesh& mesh
|
const fvMesh& mesh
|
||||||
@ -51,9 +50,9 @@ Foam::fvMeshPrimitiveLduAddressing::fvMeshPrimitiveLduAddressing
|
|||||||
patchAddr_(mesh.boundary().size()),
|
patchAddr_(mesh.boundary().size()),
|
||||||
patchSchedule_(mesh.globalData().patchSchedule())
|
patchSchedule_(mesh.globalData().patchSchedule())
|
||||||
{
|
{
|
||||||
forAll(mesh.boundary(), patchI)
|
forAll(mesh.boundary(), patchi)
|
||||||
{
|
{
|
||||||
patchAddr_[patchI] = &mesh.boundary()[patchI].faceCells();
|
patchAddr_[patchi] = &mesh.boundary()[patchi].faceCells();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -62,16 +62,16 @@ class fvMeshPrimitiveLduAddressing
|
|||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
//- Lower (face to owner addressing)
|
//- Lower (face to owner addressing)
|
||||||
labelList lowerAddr_;
|
const labelList lowerAddr_;
|
||||||
|
|
||||||
//- Upper (face to neighbour addressing)
|
//- Upper (face to neighbour addressing)
|
||||||
labelList upperAddr_;
|
const labelList upperAddr_;
|
||||||
|
|
||||||
//- Patch addressing as a list of sublists
|
//- Patch addressing as a list of sublists
|
||||||
List<const labelUList*> patchAddr_;
|
List<const labelUList*> patchAddr_;
|
||||||
|
|
||||||
//- Patch field evaluation schedule
|
//- Patch field evaluation schedule
|
||||||
const lduSchedule& patchSchedule_;
|
const lduSchedule patchSchedule_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user