BUG: sampledSurfaces: cleared out volPointInterpolation & pointMesh.
This commit is contained in:
parent
cd45f3c9c3
commit
7c34b443e0
@ -277,6 +277,8 @@ void Foam::sampledSurfaces::read(const dictionary& dict)
|
||||
void Foam::sampledSurfaces::updateMesh(const mapPolyMesh&)
|
||||
{
|
||||
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
|
||||
return justExpired;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user