STYLE: use zeroGradientType() instead of hard-coded or typeName

This commit is contained in:
Mark Olesen
2023-04-12 17:57:46 +02:00
parent 09dd913077
commit 3947f3c441
56 changed files with 161 additions and 146 deletions

View File

@ -96,7 +96,7 @@ int Foam::functionObjects::zeroGradient::apply
),
mesh_,
dimensioned<Type>(input.dimensions(), Zero),
zeroGradientFvPatchField<Type>::typeName
fvPatchFieldBase::zeroGradientType()
);
store(outputName, tzeroGrad);