mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user