openfoam/applications/utilities/mesh/conversion
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
..
ansysToFoam ENH: cellShape::reset() - simplifies modification of existing shapes 2021-05-30 21:02:59 +02:00
ccm ENH: cleanup/reorganize surfaceWriter and fileFormats 2022-02-10 19:28:51 +01:00
cfx4ToFoam ENH: cellShape::reset() - simplifies modification of existing shapes 2021-05-30 21:02:59 +02:00
datToFoam ENH: improve consistency of fileName handling windows/non-windows (#2057) 2021-04-19 16:33:42 +00:00
fireToFoam ENH: cleanup/reorganize surfaceWriter and fileFormats 2022-02-10 19:28:51 +01:00
fluent3DMeshToFoam DOC: fixed documented use of expression functions 2022-03-31 18:53:04 +02:00
fluentMeshToFoam ENH: align fileOperations/masterUncollatedFileOperation findInstance() 2022-04-29 11:44:28 +02:00
foamMeshToFluent STYLE: make polyMesh constructor explicit 2021-05-12 11:24:57 +02:00
foamToFireMesh GIT: Header file updates 2019-10-31 14:48:44 +00:00
foamToStarMesh ENH: support predicate checks for argList (similar to dictionary methods) 2020-06-02 13:51:18 +02:00
foamToSurface ENH: improve consistency of fileName handling windows/non-windows (#2057) 2021-04-19 16:33:42 +00:00
gambitToFoam ENH: cellShape::reset() - simplifies modification of existing shapes 2021-05-30 21:02:59 +02:00
gmshToFoam ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
ideasUnvToFoam ENH: improve hashing overloads of string-types and HashTable/HashSet 2021-04-19 16:33:42 +00:00
kivaToFoam ENH: cellShape::reset() - simplifies modification of existing shapes 2021-05-30 21:02:59 +02:00
mshToFoam ENH: cellShape::reset() - simplifies modification of existing shapes 2021-05-30 21:02:59 +02:00
netgenNeutralToFoam ENH: cellShape::reset() - simplifies modification of existing shapes 2021-05-30 21:02:59 +02:00
plot3dToFoam ENH: cellShape::reset() - simplifies modification of existing shapes 2021-05-30 21:02:59 +02:00
star4ToFoam ENH: cleanup/reorganize surfaceWriter and fileFormats 2022-02-10 19:28:51 +01:00
tetgenToFoam ENH: cellShape::reset() - simplifies modification of existing shapes 2021-05-30 21:02:59 +02:00
vtkUnstructuredToFoam ENH: improve consistency of fileName handling windows/non-windows (#2057) 2021-04-19 16:33:42 +00:00
writeMeshObj ENH: support 'get()' for retrieving argList options 2019-11-26 21:07:11 +01:00