From 814f3de0a5b74946f40a3c9957138fa09622dea0 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 21 Aug 2019 14:18:28 +0100 Subject: [PATCH] Formatting --- .../buoyantPressure/buoyantPressureFvPatchScalarField.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/buoyantPressure/buoyantPressureFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/buoyantPressure/buoyantPressureFvPatchScalarField.C index 094865637..364b55600 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/buoyantPressure/buoyantPressureFvPatchScalarField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/buoyantPressure/buoyantPressureFvPatchScalarField.C @@ -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_); }