openfoam/applications/utilities/postProcessing/dataConversion
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
..
foamDataToFluent ENH: use typed lookup versions instead of xyz::typeName literals 2022-05-17 17:35:51 +02:00
foamToEnsight ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
foamToGMV COMP: remove includes of defunct locations (fixes #2143) 2021-06-29 13:43:44 +02:00
foamToTetDualMesh GIT: remove leading/trailing blank lines, trailing whitespace 2020-06-17 10:46:26 +02:00
foamToVTK ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
smapToFoam ENH: improve consistency of fileName handling windows/non-windows (#2057) 2021-04-19 16:33:42 +00:00