ENH: patch fields writeValueEntry method (frequently used)

- add base-level readValueEntry, readMixedEntries methods
  that allow optional or mandatory reading.

STYLE: wording for patch fields comments
This commit is contained in:
Mark Olesen
2023-01-31 15:26:31 +01:00
parent b71a05a72f
commit fe4688c27f
310 changed files with 1138 additions and 648 deletions

View File

@ -485,7 +485,7 @@ void turbulentTemperatureTwoPhaseRadCoupledMixedFvPatchScalarField::write
Ostream& os
) const
{
mixedFvPatchScalarField::write(os);
mixedFvPatchField<scalar>::write(os);
os.writeEntry("kappaMethod", KMethodTypeNames_[method_]);
os.writeEntryIfDifferent<word>("kappa","none", kappaName_);