Commit b6a953cf authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: writeEntry instead of writeKeyword / END_STATEMENT pair

parent 5a6f54f2
......@@ -622,8 +622,7 @@ void Foam::epsilonWallFunctionFvPatchScalarField::write
) const
{
os.writeEntry("lowReCorrection", lowReCorrection_);
os.writeKeyword("blending") << blendingTypeNames[blending_]
<< token::END_STATEMENT << nl;
os.writeEntry("blending", blendingTypeNames[blending_]);
os.writeEntry("n", n_);
fixedValueFvPatchField<scalar>::write(os);
}
......
......@@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016, 2019 OpenFOAM Foundation
Copyright (C) 2019 OpenCFD Ltd.
Copyright (C) 2019-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -92,8 +92,7 @@ void Foam::nutWallFunctionFvPatchScalarField::writeLocalEntries
Ostream& os
) const
{
os.writeKeyword("blending") << blendingTypeNames[blending_]
<< token::END_STATEMENT << nl;
os.writeEntry("blending", blendingTypeNames[blending_]);
if (blending_ == blendingType::BINOMIAL)
{
......
......@@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016, 2019 OpenFOAM Foundation
Copyright (C) 2017-2019 OpenCFD Ltd.
Copyright (C) 2017-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -651,8 +651,7 @@ void Foam::omegaWallFunctionFvPatchScalarField::write
Ostream& os
) const
{
os.writeKeyword("blending") << blendingTypeNames[blending_]
<< token::END_STATEMENT << nl;
os.writeEntry("blending", blendingTypeNames[blending_]);
os.writeEntry("n", n_);
os.writeEntry("beta1", beta1_);
fixedValueFvPatchField<scalar>::write(os);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment