openfoam/applications/utilities/postProcessing/dataConversion/foamToEnsight
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: fix linkage on some libs and utils (general and mingw) 2021-05-31 20:54:58 +02:00
checkFieldAvailability.H ENH: -exclude-fields, -no-fields options for foamToEnsight, foamToVTK 2022-03-12 21:16:30 +01:00
checkMeshMoving.H ENH: multi-region support for foamToEnsight (#2080) 2021-05-30 21:02:59 +02:00
convertAreaFields.H ENH: multi-region support for foamToEnsight (#2080) 2021-05-30 21:02:59 +02:00
convertLagrangian.H ENH: multi-region support for foamToEnsight (#2080) 2021-05-30 21:02:59 +02:00
convertVolumeFields.H ENH: multi-region support for foamToEnsight (#2080) 2021-05-30 21:02:59 +02:00
createMeshAccounting.H ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
findCloudFields.H ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
foamToEnsight.C ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
getTimeIndex.H ENH: multi-region support for foamToEnsight (#2080) 2021-05-30 21:02:59 +02:00
readFields.C GIT: Header file updates 2019-10-31 14:48:44 +00:00
readFields.H ENH: -exclude-fields, -no-fields options for foamToEnsight, foamToVTK 2022-03-12 21:16:30 +01:00
writeAreaFields.H ENH: -exclude-fields, -no-fields options for foamToEnsight, foamToVTK 2022-03-12 21:16:30 +01:00
writeDimFields.H ENH: -exclude-fields, -no-fields options for foamToEnsight, foamToVTK 2022-03-12 21:16:30 +01:00
writePointFields.H ENH: -exclude-fields, -no-fields options for foamToEnsight, foamToVTK 2022-03-12 21:16:30 +01:00
writeVolFields.H ENH: -exclude-fields, -no-fields options for foamToEnsight, foamToVTK 2022-03-12 21:16:30 +01:00