STYLE: use calculatedType() and zeroGradientType() methods

This commit is contained in:
Mark Olesen
2023-04-24 16:18:05 +02:00
parent 09ce87135b
commit e967305ef2
88 changed files with 165 additions and 212 deletions

View File

@ -634,7 +634,7 @@ Foam::meshToMesh::mapSrcToTgt
tgtPatchi,
fvPatchField<Type>::New
(
calculatedFvPatchField<Type>::typeName,
fvPatchFieldBase::calculatedType(),
tgtMesh.boundary()[tgtPatchi],
DimensionedField<Type, volMesh>::null()
)
@ -865,7 +865,7 @@ Foam::meshToMesh::mapTgtToSrc
srcPatchi,
fvPatchField<Type>::New
(
calculatedFvPatchField<Type>::typeName,
fvPatchFieldBase::calculatedType(),
srcMesh.boundary()[srcPatchi],
DimensionedField<Type, volMesh>::null()
)