openfoam/applications/utilities/preProcessing/setFields
Mark Olesen f462a850ce ENH: added polyBoundaryMesh patchID(meshFacei) method
- this complements the whichPatch(meshFacei) method [binary search]
  and the list of patchID() by adding internal range checks.

  eg,
     Before
     ~~~~~~
     if (facei >= mesh.nInternalFaces() && facei < mesh.nFaces())
     {
         patchi = pbm.patchID()[facei - mesh.nInternalFaces()];
         ...
     }

     After
     ~~~~~
     patchi = pbm.patchID(facei);

     if (patchi >= 0)
     {
         ...
     }
2023-05-09 19:30:58 +02:00
..
Make ENH: add finite-area support to setFields (#2591) 2022-09-26 18:03:23 +02:00
setFields.C ENH: added polyBoundaryMesh patchID(meshFacei) method 2023-05-09 19:30:58 +02:00