openfoam/applications/utilities/mesh/manipulation/checkMesh
Mark Olesen ba10afea77 ENH: add 'filtered' polyMesh regionName() method
- in various situations with mesh regions it is also useful to
  filter out or remove the defaultRegion name (ie, "region0").

  Can now do that conveniently from the polyMesh itself or as a static
  function. Simply use this

      const word& regionDir = polyMesh::regionName(regionName);

  OR  mesh.regionName()

  instead of

      const word& regionDir =
      (
           regionName != polyMesh::defaultRegion
         ? regionName
         : word::null
      );

  Additionally, since the string '/' join operator filters out empty
  strings, the following will work correctly:

      (polyMesh::regionName(regionName)/polyMesh::meshSubDir)

      (mesh.regionName()/polyMesh::meshSubDir)
2022-05-27 14:10:31 +02:00
..
Make COMP: adjust compilation order with updated interdependencies 2019-04-28 14:44:33 +02:00
checkGeometry.C ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
checkGeometry.H ENH: refactor coordSet writers (#2347) 2022-03-10 19:41:22 +01:00
checkMesh.C ENH: refactor coordSet writers (#2347) 2022-03-10 19:41:22 +01:00
checkMeshQuality.C STYLE: check autoPtr as plain bool instead of valid() 2020-07-16 11:39:24 +02:00
checkMeshQuality.H ENH: improved sample surfaces and surface writers (#1206) 2019-02-07 18:11:34 +01:00
checkTools.C ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
checkTools.H ENH: refactor coordSet writers (#2347) 2022-03-10 19:41:22 +01:00
checkTopology.C ENH: bundle Pstream:: AllGather methods 2022-03-31 15:56:04 +02:00
checkTopology.H ENH: refactor coordSet writers (#2347) 2022-03-10 19:41:22 +01:00
writeFields.C ENH: checkMesh: add stabilisation. Fixes #2171 2021-07-28 17:56:48 +01:00
writeFields.H ENH: checkMesh: write surface fields. Fixes #2023 2021-03-10 18:46:40 +00:00