mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: layer addition/removal - added debug info on deletion of addressing
This commit is contained in:
@ -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-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -108,9 +108,27 @@ Foam::scalar Foam::layerAdditionRemoval::readOldThickness
|
|||||||
|
|
||||||
void Foam::layerAdditionRemoval::clearAddressing() const
|
void Foam::layerAdditionRemoval::clearAddressing() const
|
||||||
{
|
{
|
||||||
// Layer removal data
|
if (pointsPairingPtr_)
|
||||||
deleteDemandDrivenData(pointsPairingPtr_);
|
{
|
||||||
deleteDemandDrivenData(facesPairingPtr_);
|
if (debug)
|
||||||
|
{
|
||||||
|
Pout<< "layerAdditionRemoval::clearAddressing()" << nl
|
||||||
|
<< " clearing pointsPairingPtr_" << endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
deleteDemandDrivenData(pointsPairingPtr_);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (facesPairingPtr_)
|
||||||
|
{
|
||||||
|
if (debug)
|
||||||
|
{
|
||||||
|
Pout<< "layerAdditionRemoval::clearAddressing()" << nl
|
||||||
|
<< " clearing facesPairingPtr_" << endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
deleteDemandDrivenData(facesPairingPtr_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user