122 pointSet(mesh, name,
set.size(), w),
124 addressing_(refCast<const pointZoneSet>(
set).addressing())
142 for (label pointI = 0; pointI < maxLen; pointI++)
146 addressing_[n] = pointI;
159 const pointZoneSet& fSet = refCast<const pointZoneSet>(
set);
161 forAll(fSet.addressing(), i)
163 label pointI = fSet.addressing()[i];
167 newAddressing.
append(pointI);
171 addressing_.
transfer(newAddressing);
180 const pointZoneSet& fSet = refCast<const pointZoneSet>(
set);
188 newAddressing.
append(pointI);
192 addressing_.
transfer(newAddressing);
201 const pointZoneSet& fSet = refCast<const pointZoneSet>(
set);
205 label pointI = addressing_[i];
207 if (!fSet.found(pointI))
210 newAddressing.
append(pointI);
214 addressing_.
transfer(newAddressing);
238 word oldTypeName = typeName;
239 const_cast<word&
>(
type()) = pointSet::typeName;
241 const_cast<word&
>(
type()) = oldTypeName;
249 zoneID = pointZones.
size();
266 pointZones[zoneID] = addressing_;
270 return ok && pointZones.
write();
282 label pointI = addressing_[i];
286 newAddressing[n] = newPointI;
292 addressing_.
transfer(newAddressing);