mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: prefer REGISTER/NO_REGISTER instead of true/false for IOobject
- self-documenting
This commit is contained in:
@ -353,7 +353,7 @@ boundBox procBounds
|
||||
procDb,
|
||||
IOobject::MUST_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
IOobject::NO_REGISTER
|
||||
)
|
||||
);
|
||||
|
||||
@ -382,7 +382,7 @@ void writeDistribution
|
||||
masterMesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
IOobject::NO_REGISTER
|
||||
),
|
||||
masterMesh.nCells()
|
||||
);
|
||||
@ -418,7 +418,7 @@ void writeDistribution
|
||||
masterMesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
IOobject::NO_REGISTER
|
||||
),
|
||||
masterMesh,
|
||||
dimensionedScalar("cellDist", dimless, -1),
|
||||
@ -498,7 +498,7 @@ void writeMaps
|
||||
procMesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false // Do not register
|
||||
IOobject::NO_REGISTER
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user