mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: mappedPatchBase: only map if set
This commit is contained in:
@ -1152,7 +1152,12 @@ Foam::mappedPatchBase::mappedPatchBase
|
|||||||
samplePatch_(mpb.samplePatch_),
|
samplePatch_(mpb.samplePatch_),
|
||||||
offsetMode_(mpb.offsetMode_),
|
offsetMode_(mpb.offsetMode_),
|
||||||
offset_(mpb.offset_),
|
offset_(mpb.offset_),
|
||||||
offsets_(mpb.offsets_, mapAddressing),
|
offsets_
|
||||||
|
(
|
||||||
|
offsetMode_ == NONUNIFORM
|
||||||
|
? vectorField(mpb.offsets_, mapAddressing)
|
||||||
|
: vectorField(0)
|
||||||
|
),
|
||||||
distance_(mpb.distance_),
|
distance_(mpb.distance_),
|
||||||
sameRegion_(mpb.sameRegion_),
|
sameRegion_(mpb.sameRegion_),
|
||||||
mapPtr_(NULL),
|
mapPtr_(NULL),
|
||||||
|
|||||||
Reference in New Issue
Block a user