BUG: SlicedGeometricField, slices into field instead of shallow copy (#3080)

- regression introduced by e98acdc4fc

  Affected versions: (v2206, v2212, v2306, v2312)
This commit is contained in:
Mark Olesen 2024-01-19 17:29:08 +01:00
parent d5607b2f28
commit 1679c5f157

View File

@ -152,10 +152,11 @@ slicedBoundaryField
new SlicedPatchField<Type> new SlicedPatchField<Type>
( (
mesh.boundary()[patchi], mesh.boundary()[patchi],
DimensionedField<Type, GeoMesh>::null(), DimensionedField<Type, GeoMesh>::null()
bField[patchi]
) )
); );
bf[patchi].UList<Type>::shallowCopy(bField[patchi]);
} }
} }