Go to the documentation of this file.
33 template<
class>
class FaceList,
40 const FaceList<Face>& faces,
41 const Field<PointType>&
points
44 FaceList<Face>(faces),
48 boundaryPointsPtr_(NULL),
56 meshPointMapPtr_(NULL),
58 localPointsPtr_(NULL),
59 localPointOrderPtr_(NULL),
60 faceCentresPtr_(NULL),
61 faceNormalsPtr_(NULL),
62 pointNormalsPtr_(NULL)
69 template<
class>
class FaceList,
76 const Xfer<FaceList<Face> >& faces,
80 FaceList<Face>(faces),
84 boundaryPointsPtr_(NULL),
92 meshPointMapPtr_(NULL),
94 localPointsPtr_(NULL),
95 localPointOrderPtr_(NULL),
96 faceCentresPtr_(NULL),
97 faceNormalsPtr_(NULL),
98 pointNormalsPtr_(NULL)
105 template<
class>
class FaceList,
112 FaceList<Face>& faces,
117 FaceList<Face>(faces, reUse),
121 boundaryPointsPtr_(NULL),
125 pointEdgesPtr_(NULL),
126 pointFacesPtr_(NULL),
127 localFacesPtr_(NULL),
128 meshPointsPtr_(NULL),
129 meshPointMapPtr_(NULL),
131 localPointsPtr_(NULL),
132 localPointOrderPtr_(NULL),
133 faceCentresPtr_(NULL),
134 faceNormalsPtr_(NULL),
135 pointNormalsPtr_(NULL)
142 template<
class>
class FaceList,
149 const PrimitivePatch<Face, FaceList, PointField, PointType>& pp
152 PrimitivePatchName(),
157 boundaryPointsPtr_(NULL),
161 pointEdgesPtr_(NULL),
162 pointFacesPtr_(NULL),
163 localFacesPtr_(NULL),
164 meshPointsPtr_(NULL),
165 meshPointMapPtr_(NULL),
167 localPointsPtr_(NULL),
168 localPointOrderPtr_(NULL),
169 faceCentresPtr_(NULL),
170 faceNormalsPtr_(NULL),
171 pointNormalsPtr_(NULL)
180 template<
class>
class FaceList,
196 template<
class>
class FaceList,
204 const Field<PointType>&
209 Pout<<
"PrimitivePatch<Face, FaceList, PointField, PointType>::"
211 <<
"recalculating PrimitivePatch geometry following mesh motion"
222 template<
class>
class FaceList,
242 template<
class>
class FaceList,
255 return nInternalEdges_;
262 template<
class>
class FaceList,
270 if (!boundaryPointsPtr_)
275 return *boundaryPointsPtr_;
282 template<
class>
class FaceList,
295 return *faceFacesPtr_;
302 template<
class>
class FaceList,
315 return *edgeFacesPtr_;
322 template<
class>
class FaceList,
335 return *faceEdgesPtr_;
342 template<
class>
class FaceList,
355 return *pointEdgesPtr_;
362 template<
class>
class FaceList,
375 return *pointFacesPtr_;
382 template<
class>
class FaceList,
395 return *localFacesPtr_;
402 template<
class>
class FaceList,
415 return *meshPointsPtr_;
422 template<
class>
class FaceList,
430 if (!meshPointMapPtr_)
435 return *meshPointMapPtr_;
442 template<
class>
class FaceList,
450 if (!localPointsPtr_)
455 return *localPointsPtr_;
462 template<
class>
class FaceList,
470 if (!localPointOrderPtr_)
472 calcLocalPointOrder();
475 return *localPointOrderPtr_;
482 template<
class>
class FaceList,
495 if (fnd != meshPointMap().end())
510 template<
class>
class FaceList,
518 if (!faceCentresPtr_)
523 return *faceCentresPtr_;
530 template<
class>
class FaceList,
538 if (!faceNormalsPtr_)
543 return *faceNormalsPtr_;
550 template<
class>
class FaceList,
558 if (!pointNormalsPtr_)
563 return *pointNormalsPtr_;
572 template<
class>
class FaceList,
580 const PrimitivePatch<Face, FaceList, PointField, PointType>& pp
585 FaceList<Face>::operator=(pp);
const labelListList & pointFaces() const
Return point-face addressing.
label whichPoint(const label gp) const
Given a global point index, return the local point.
const labelListList & edgeFaces() const
Return edge-face addressing.
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
PrimitivePatch(const FaceList< Face > &faces, const Field< PointType > &points)
Construct from components.
const Field< PointType > & localPoints() const
Return pointField of points in patch.
virtual ~PrimitivePatch()
A HashTable to objects of type <T> with a label key.
Checks topology of the patch.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const labelListList & faceEdges() const
Return face-edge addressing.
A simple container for copying or transferring objects of type <T>.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const labelListList & pointEdges() const
Return point-edge addressing.
virtual void movePoints(const Field< PointType > &)
Correct patch after moving points.
Orders the local points on the patch for most efficient search.
const labelList & boundaryPoints() const
Return list of boundary points,.
label nInternalEdges() const
Number of internal edges.
const Field< PointType > & pointNormals() const
Return point normals for patch.
This function calculates the list of patch edges, defined on the list of points supporting the patch....
prefixOSstream Pout(cout, "Pout")
const Field< PointType > & faceNormals() const
Return face normals for patch.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const Field< PointType > & faceCentres() const
Return face centres for patch.
Create the list of loops of outside vertices. Goes wrong on multiply connected edges (loops will be u...
const labelList & localPointOrder() const
Return orders the local points for most efficient search.
For every point on the patch find the closest face on the target side. Return a target face label for...
const List< Face > & localFaces() const
Return patch faces addressing into local point list.
const Map< label > & meshPointMap() const
Mesh point map. Given the global point index find its.
const labelListList & faceFaces() const
Return face-face addressing.
const labelList & meshPoints() const
Return labelList of mesh points in patch.
Point addressing on the patch: pointEdges and pointFaces.
A list of faces which address into the list of points.
HashTable< T, label, Hash< label > >::const_iterator const_iterator