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:
@ -209,7 +209,7 @@ void Foam::edgeInterpolation::makeLPN() const
|
||||
mesh().thisDb(),
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
IOobject::NO_REGISTER
|
||||
),
|
||||
mesh(),
|
||||
dimLength
|
||||
@ -290,7 +290,7 @@ void Foam::edgeInterpolation::makeWeights() const
|
||||
mesh().thisDb(),
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
IOobject::NO_REGISTER
|
||||
),
|
||||
mesh(),
|
||||
dimensionedScalar(dimless, 1)
|
||||
@ -370,7 +370,7 @@ void Foam::edgeInterpolation::makeDeltaCoeffs() const
|
||||
mesh().thisDb(),
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
IOobject::NO_REGISTER
|
||||
),
|
||||
mesh(),
|
||||
dimensionedScalar(dimless/dimLength, SMALL)
|
||||
@ -464,7 +464,7 @@ void Foam::edgeInterpolation::makeCorrectionVectors() const
|
||||
mesh().thisDb(),
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
IOobject::NO_REGISTER
|
||||
),
|
||||
mesh(),
|
||||
dimless
|
||||
@ -571,7 +571,7 @@ void Foam::edgeInterpolation::makeSkewCorrectionVectors() const
|
||||
mesh().thisDb(),
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
IOobject::NO_REGISTER
|
||||
),
|
||||
mesh(),
|
||||
dimensionedVector(dimless, Zero)
|
||||
|
||||
Reference in New Issue
Block a user