ENH: consolidate decomposition model, constructors for decomposition methods

- make regionName an optional constructor parameter, which eliminates
  a separate set of constructors and construction tables. Adjust
  internals to treat a missing/empty regionName as a no-op.

- pass in fallback dictionary content via new IOdictionary constructor
  with a pointer

ENH: further relax check for matching number of processor dirs

- if the "numberOfSubdomains" entry is missing (or even zero)
  ignore checks of processor dirs as meaningless.
This commit is contained in:
Mark Olesen
2021-04-23 16:44:09 +02:00
parent dedb1c0c90
commit 86f627b9e6
35 changed files with 369 additions and 667 deletions

View File

@ -457,7 +457,7 @@ int main(int argc, char *argv[])
runTime,
IOobject::MUST_READ,
IOobject::NO_WRITE,
false
false // do not register
),
decompDictFile
)