mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: IOobjectOption isAnyRead() for checking against NO_READ
- encompasses isReadOptional or isReadRequired check STYLE: allow LAZY_READ as a shorter synonym for READ_IF_PRESENT - add helper for downgrading MUST_READ... to LAZY_READ
This commit is contained in:
@ -568,7 +568,7 @@ Foam::faMeshReconstructor::faMeshReconstructor
|
||||
// Use 'headerClassName' for checking
|
||||
bool fileOk
|
||||
(
|
||||
(fvFaceProcAddr.readOpt() != IOobjectOption::NO_READ)
|
||||
fvFaceProcAddr.isAnyRead()
|
||||
&& fvFaceProcAddr.isHeaderClass<labelIOList>()
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user