ENH: improve consistency in handling of global IOobjects (#3045)

- replace typeGlobal() global function with is_globalIOobject
  traits for more consistent and easier overriding.

- relocate typeFilePath() global function as a member of IOobject
  for consistency with typeHeaderOk.

BUG: faSchemes, fvSchemes not marked as global file types

- caused issues with collated
This commit is contained in:
Mark Olesen
2023-12-07 09:53:59 +01:00
parent 43143f21d2
commit 13352861c8
37 changed files with 453 additions and 300 deletions

View File

@ -79,8 +79,8 @@ void rewriteBoundary
HashTable<word>& nbrNames
)
{
Info<< "Reading boundary from " << typeFilePath<IOPtrList<entry>>(io)
<< endl;
Info<< "Reading boundary from "
<< io.typeFilePath<IOPtrList<entry>>() << nl;
// Read PtrList of dictionary.
const word oldTypeName = IOPtrList<entry>::typeName;