fvMeshTopoChangersMeshToMesh: Corrected the timeIndices list

for consistency with the lookup and comparison to make the mesh time directory
search more robust.
This commit is contained in:
Henry Weller
2022-08-16 21:55:03 +01:00
parent ac0eea9610
commit 58408136cb

View File

@ -91,7 +91,7 @@ Foam::fvMeshTopoChangers::meshToMesh::meshToMesh
{
forAll(times_, i)
{
timeIndices_.insert(label(times_[i]/timeDelta_));
timeIndices_.insert(label((times_[i] + timeDelta_/2.0)/timeDelta_));
}
}