mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -176,10 +176,11 @@ makeBoundary
|
|||||||
new SlicedPatchField<Type>
|
new SlicedPatchField<Type>
|
||||||
(
|
(
|
||||||
p,
|
p,
|
||||||
DimensionedField<Type, GeoMesh>::null(),
|
DimensionedField<Type, GeoMesh>::null()
|
||||||
bField[patchi]
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
bf[patchi].UList<Type>::shallowCopy(bField[patchi]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user