Formatting

This commit is contained in:
Hrvoje Jasak 2019-08-21 14:18:28 +01:00
parent ed78eb6cd6
commit 814f3de0a5

View file

@ -159,8 +159,7 @@ void buoyantPressureFvPatchScalarField::updateCoeffs()
void buoyantPressureFvPatchScalarField::write(Ostream& os) const
{
fixedGradientFvPatchScalarField::write(os);
os.writeKeyword("rho") << rhoName_ << token::END_STATEMENT << nl;
writeEntry("value", os);
writeEntryIfDifferent(os, "rho", word("rho"), rhoName_);
}