ENH: place more patch field attributes under template invariant Base

- attributes such as assignable(), coupled() etc

- common patchField types: calculatedType(), zeroGradientType() etc.
  This simplifies reference to these types without actually needing a
  typed patchField version.

ENH: add some basic patchField types to fieldTypes namespace

- allows more general use of the names

ENH: set extrapolated/calculated from patchInternalField directly

- avoids intermediate tmp
This commit is contained in:
Mark Olesen
2023-03-23 16:27:32 +01:00
parent bd1e1ec9c7
commit 87eed5e3b8
88 changed files with 462 additions and 586 deletions

View File

@ -189,7 +189,7 @@ Foam::codedFixedValueFvPatchField<Type>::codedFixedValueFvPatchField
if (!this->readValueEntry(dict))
{
// Assign dummy value to get redirectPatchField not fail
this->operator==(this->patchInternalField());
fvPatchField<Type>::patchInternalField(*this);
this->evaluate(Pstream::commsTypes::blocking);
}