Skip to content

Commit

Permalink
Used findCell for getFIData
Browse files Browse the repository at this point in the history
  • Loading branch information
friedenhe authored Nov 22, 2023
1 parent cfed974 commit 8f56d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/postProcessing/getFIData/getFIData.C
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int main(int argc, char* argv[])
forAll(probePointCoords, idxI)
{
point point = {probePointCoords[idxI][0], probePointCoords[idxI][1], probePointCoords[idxI][2]};
probePointCellIList[idxI] = mesh.findNearestCell(point);
probePointCellIList[idxI] = mesh.findCell(point);
}

for (label n = 1; n < nInstances + 1; n++)
Expand Down

0 comments on commit 8f56d6a

Please sign in to comment.