fvPatchFields: Constructors from dictionary now call the corresponding constructor of the fvPatchField base-class

to ensure 'patchType' is set as specified.

Required substantial change to the organization of the reading of the
'value' entry requiring careful testing and there may be some residual
issues remaining.  Please report any problems with the reading and
initialization of patch fields.

Resolves bug-report http://bugs.openfoam.org/view.php?id=2266
This commit is contained in:
Henry Weller
2016-09-25 09:11:53 +01:00
parent 8bbb379df0
commit 4603a8b253
56 changed files with 161 additions and 193 deletions

View File

@ -47,7 +47,7 @@ Foam::zeroGradientFvPatchField<Type>::zeroGradientFvPatchField
const dictionary& dict
)
:
fvPatchField<Type>(p, iF, dict)
fvPatchField<Type>(p, iF, dict, false)
{
fvPatchField<Type>::operator=(this->patchInternalField());
}