ENH: extrapolateInternal() method for patch fields

- provides a more succinct way of writing

      {fa,fv}PatchField<Type>::patchInternalField(*this)

  as well as a consistent naming that can be used for patches derived
  from valuePointPatchField

ENH: readGradientEntry helper method for fixedGradient conditions

- simplifies coding and logic.
- support different read construct modes for fixedGradient
This commit is contained in:
Mark Olesen
2023-06-16 14:25:12 +02:00
parent e54ead28e8
commit fc86e52451
39 changed files with 269 additions and 116 deletions

View File

@ -125,10 +125,10 @@ ${typeName}FixedValuePointPatch${FieldType}
const pointPatch& p,
const DimensionedField<${TemplateType}, pointMesh>& iF,
const dictionary& dict,
const bool valueRequired
IOobjectOption::readOption requireValue
)
:
parent_bctype(p, iF, dict, valueRequired)
parent_bctype(p, iF, dict, requireValue)
{
if (${verbose:-false})
{