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 DynamicList< point > & points() const
Points. Shrunk after constructing mesh (or calling of compact())
const Time & time() const
Return time.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void inplaceRenumber(const labelUList &oldToNew, ListType &)
Inplace renumber the values of a list.
const boolList & flipMap() const
Return face flip map.
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
A face is a list of labels corresponding to mesh vertices.
void size(const label)
Override size to be inconsistent with allocated storage.
label size() const
Return number of elements in table.
bool isInternalFace(const label faceIndex) const
Return true if given face label is internal to the mesh.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
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.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
label whichFace(const label globalCellID) const
Helper function to re-direct to zone::localID(...)
const faceList & faceRegions() const
Per face the region of its points.
const Map< label > & meshPointMap() const
Per point that is to be duplicated the local index.
label addPoint(const point &, const label masterPointID, const label zoneID, const bool inCell)
Add point. Return new point label.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
const Map< label > & meshFaceMap() const
Per face that uses a duplicated point the local index.
const labelListList & pointRegions() const
Per local point the regions it is in.
defineTypeNameAndDebug(combustionModel, 0)
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurence of given element and return index,.
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.
virtual const labelList & faceNeighbour() const
Return face neighbour.
label whichPatch(const label faceIndex) const
Return patch index for a given face label.
label whichZone(const label objectIndex) const
Given a global object index, return the zone it is in.
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.
const faceZoneMesh & faceZones() const
Return face zone mesh.
Mesh consisting of general polyhedral cells.
A subset of mesh faces organised as a primitive patch.
virtual const labelList & faceOwner() const
Return face owner.
virtual const faceList & faces() const
Return raw faces.
fileName path() const
Return path.
const labelList & reversePointMap() const
Reverse point map.