BUG: offsets not initialised consistently with offset.
This commit is contained in:
parent
e55c8a8c67
commit
a85b221bf7
@ -637,7 +637,7 @@ Foam::directMappedPatchBase::directMappedPatchBase
|
||||
samplePatch_(samplePatch),
|
||||
uniformOffset_(true),
|
||||
offset_(offset),
|
||||
offsets_(0),
|
||||
offsets_(pp.size(), offset_),
|
||||
sameRegion_(sampleRegion_ == patch_.boundaryMesh().mesh().name()),
|
||||
mapPtr_(NULL)
|
||||
{}
|
||||
@ -670,7 +670,7 @@ Foam::directMappedPatchBase::directMappedPatchBase
|
||||
offsets_
|
||||
(
|
||||
uniformOffset_
|
||||
? pointField(patch_.size(), offset_)
|
||||
? pointField(pp.size(), offset_)
|
||||
: dict.lookup("offsets")
|
||||
),
|
||||
sameRegion_(sampleRegion_ == patch_.boundaryMesh().mesh().name()),
|
||||
|
Loading…
Reference in New Issue
Block a user