78 label pointi = iter.key();
79 label localI = iter();
80 const labelList& regions = pointRegions[localI];
83 duplicates_[localI][0] = pointi;
84 for (
label i = 1; i < regions.
size(); i++)
86 duplicates_[localI][i] = meshMod.
addPoint 114 label facei = iter.key();
115 label localI = iter();
118 const face& fRegion = faceRegions[localI];
124 label pointi = f[fp];
128 if (iter != meshPointMap.
end())
134 const labelList& regions = pointRegions[iter()];
135 const labelList& dupPoints = duplicates_[iter()];
140 newFace[fp] = dupPoints[index];
144 newFace[fp] = pointi;
150 bool zoneFlip =
false;
196 label localI = iter();
197 const labelList& dups = duplicates_[localI];
211 forAll(duplicates_, masterI)
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
#define forAll(list, i)
Loop across all elements in list.
fileName path() const
Return path.
const labelListList & pointRegions() const
Per local point the regions it is in.
const labelList & reversePointMap() const
Reverse point map.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const faceList & faceRegions() const
Per face the region of its points.
void inplaceRenumber(const labelUList &oldToNew, ListType &)
Inplace renumber the values of a list.
const faceZoneMesh & faceZones() const
Return face zone mesh.
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
A face is a list of labels corresponding to mesh vertices.
virtual const labelList & faceNeighbour() const
Return face neighbour.
void size(const label)
Override size to be inconsistent with allocated storage.
const boolList & flipMap() const
Return face flip map.
label whichFace(const label globalCellID) const
Helper function to re-direct to zone::localID(...)
const Map< label > & meshPointMap() const
Per point that is to be duplicated the local index.
label size() const
Return number of elements in table.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Takes mesh with 'baffles' (= boundary faces sharing points). Determines for selected points on bounda...
virtual const pointField & points() const
Return raw points.
duplicatePoints(const polyMesh &mesh)
Construct from mesh.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
const DynamicList< point > & points() const
Points. Shrunk after constructing mesh (or calling of compact())
const Map< label > & meshFaceMap() const
Per face that uses a duplicated point the local index.
virtual const labelList & faceOwner() const
Return face owner.
label addPoint(const point &, const label masterPointID, const label zoneID, const bool inCell)
Add point. Return new point label.
virtual const faceList & faces() const
Return raw faces.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
bool isInternalFace(const label faceIndex) const
Return true if given face label is internal to the mesh.
const Time & time() const
Return time.
defineTypeNameAndDebug(combustionModel, 0)
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurrence of given element and return index,.
label whichZone(const label objectIndex) const
Given a global object index, return the zone it is in.
void setSize(const label)
Reset size of List.
void modifyFace(const face &f, const label facei, const label own, const label nei, const bool flipFaceFlux, const label patchID, const label zoneID, const bool zoneFlip)
Modify vertices or cell of face.
Direct mesh changes based on v1.3 polyTopoChange syntax.
void setRefinement(const localPointRegion ®ionSide, polyTopoChange &)
Play commands into polyTopoChange to duplicate points. Gets.
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
Mesh consisting of general polyhedral cells.
A subset of mesh faces organised as a primitive patch.
label whichPatch(const label faceIndex) const
Return patch index for a given face label.