openfoam/applications/utilities
Mark Olesen c410edf928 ENH: centralized handling of -allRegions, -regions, -region (#2072)
Step 1.
    include "addAllRegionOptions.H"

    Adds the -allRegions, -regions and -region options to argList.

Step 2.
    include "getAllRegionOptions.H"

    Processes the options with -allRegions selecting everything
    from the regionProperties.

    OR use -regions to specify multiple regions (from
       regionProperties), and can also contain regular expressions

    OR use the -region option

    Specifying a single -regions NAME (not a regular expresssion)
    is the same as -region NAME and doesn't use regionProperties

    Creates a `wordList regionNames`

Step 3.
    Do something with the region names.
    Either directly, or quite commonly with the following

    include "createNamedMeshes.H"

    Creates a `PtrList<fvMesh> meshes`

STYLE: add description to some central include files
2021-05-07 09:46:33 +02:00
..
doc GIT: Header file updates 2019-10-31 14:48:44 +00:00
finiteArea GIT: interfaceTracking: relocate library 2019-12-19 15:32:34 +00:00
mesh ENH: replace keyType with wordRe for matching selectors. 2021-04-19 16:33:42 +00:00
miscellaneous STYLE: default construct empty dictionaries 2021-04-26 17:09:38 +02:00
parallelProcessing ENH: centralized handling of -allRegions, -regions, -region (#2072) 2021-05-07 09:46:33 +02:00
postProcessing ENH: centralized handling of -allRegions, -regions, -region (#2072) 2021-05-07 09:46:33 +02:00
preProcessing STYLE: default construct empty dictionaries 2021-04-26 17:09:38 +02:00
surface ENH: support optional fallback content for IOdictionary 2021-04-26 17:09:38 +02:00
thermophysical ENH: improve consistency of fileName handling windows/non-windows (#2057) 2021-04-19 16:33:42 +00:00