37 #ifndef faceCoupleInfo_H 38 #define faceCoupleInfo_H 80 template<
template<
class>
class FaceList>
83 const FaceList<face>&,
90 template<
template<
class>
class FaceList>
93 const FaceList<face>&,
117 void writePointsFaces()
const;
152 return masterPatchPtr_();
158 return slavePatchPtr_();
164 return masterToCouplePoints_;
170 return slaveToCouplePoints_;
ListType renumber(const labelUList &oldToNew, const ListType &)
Renumber the values (not the indices) of a list.
const face coupleFace(const label coupleFacei) const
Return a coupled face.
const indirectPrimitivePatch & slavePatch() const
Addressing engine for coupled faces on mesh1.
const labelList & slaveToCouplePoints() const
Access slave-to-couple point addressing.
const labelList & masterToCouplePoints() const
Access master-to-couple point addressing.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
A face is a list of labels corresponding to mesh vertices.
labelListList invertOneToMany(const label len, const labelUList &)
Invert one-to-many map. Unmapped elements will be size 0.
const indirectPrimitivePatch & masterPatch() const
Addressing engine for coupled faces on mesh0.
faceCoupleInfo(const polyMesh &masterMesh, const labelList &masterAddressing, const polyMesh &slaveMesh, const labelList &slaveAddressing)
Construct from meshes and subset of mesh faces (i.e.,.
Container for information needed to couple to meshes. When constructed from two meshes and a list of ...
A list of faces which address into the list of points.
labelListList coupleToSlavePoints() const
Generate couple-to-slave point addressing.
labelListList coupleToMasterPoints() const
Generate couple-to-master point addressing.
~faceCoupleInfo()
Destructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
ClassName("faceCoupleInfo")
Runtime type information.