openfoam/applications/utilities/parallelProcessing/decomposePar
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 ENH: code modernization for decompose/reconstruct 2022-05-25 13:12:38 +00:00
decomposePar.C ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
domainDecomposition.C ENH: code modernization for decompose/reconstruct 2022-05-25 13:12:38 +00:00
domainDecomposition.H ENH: expose decomposePar -dry-run options -domains, -method 2021-05-19 18:16:05 +02:00
domainDecompositionDistribute.C ENH: collect and cleanup decompose and reconstruct methods (#2084) 2021-05-27 21:04:55 +02:00
domainDecompositionDryRun.C ENH: add IOobject::objectRelPath() for compact output (#2195) 2021-09-07 16:35:34 +02:00
domainDecompositionDryRun.H ENH: expose decomposePar -dry-run options -domains, -method 2021-05-19 18:16:05 +02:00
domainDecompositionDryRunWrite.C ENH: add IOobject::objectRelPath() for compact output (#2195) 2021-09-07 16:35:34 +02:00
domainDecompositionMesh.C GIT: Header file updates 2019-10-31 14:48:44 +00:00
domainDecompositionTemplates.C ENH: use concise forms for walking processor and cyclic boundaries 2021-02-09 17:57:49 +01:00
domainDecompositionWrite.C ENH: additional decompose options 2021-11-09 15:44:54 +01:00