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:
@ -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_));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user