mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: sampledSurfaces: cleared out volPointInterpolation & pointMesh.
This commit is contained in:
@ -277,6 +277,8 @@ void Foam::sampledSurfaces::read(const dictionary& dict)
|
|||||||
void Foam::sampledSurfaces::updateMesh(const mapPolyMesh&)
|
void Foam::sampledSurfaces::updateMesh(const mapPolyMesh&)
|
||||||
{
|
{
|
||||||
expire();
|
expire();
|
||||||
|
|
||||||
|
// pointMesh and interpolation will have been reset in mesh.update
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -327,10 +329,6 @@ bool Foam::sampledSurfaces::expire()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// reset interpolation
|
|
||||||
pointMesh::Delete(mesh_);
|
|
||||||
volPointInterpolation::Delete(mesh_);
|
|
||||||
|
|
||||||
// true if any surfaces just expired
|
// true if any surfaces just expired
|
||||||
return justExpired;
|
return justExpired;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user