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

@ -217,7 +217,7 @@ bool Foam::functionObjects::solverInfo::write()
),
mesh_,
dimensionedScalar(dimless, Zero),
zeroGradientFvPatchField<scalar>::typeName
fvPatchFieldBase::zeroGradientType()
);
residual.primitiveFieldRef() = *residualPtr;