Go to the documentation of this file.
34 #ifndef meshedSurfRef_H
35 #define meshedSurfRef_H
53 std::reference_wrapper<const pointField> points_;
54 std::reference_wrapper<const faceList> faces_;
55 std::reference_wrapper<const labelList> zoneIds_;
56 std::reference_wrapper<const labelList> faceIds_;
83 faces_(std::cref<
faceList>(faceLst)),
84 zoneIds_(std::cref<
labelList>(zoneIdLst)),
110 return zoneIds_.get();
116 return faceIds_.get();
137 points_ = std::cref<pointField>(pointLst);
138 faces_ = std::cref<faceList>(faceLst);
139 zoneIds_ = std::cref<labelList>(zoneIdLst);
140 faceIds_ = std::cref<labelList>(faceIdLst);
meshedSurfRef()
Default construct.
virtual const faceList & faces() const
The faces used for the surface.
static const List< T > & null()
Return a null List.
void reset(const pointField &pointLst, const faceList &faceLst, const labelList &zoneIdLst=labelList::null(), const labelList &faceIdLst=labelList::null())
Reset components.
virtual const pointField & points() const
The points used for the surface.
Abstract definition of a meshed surface defined by faces and points.
Implements a meshed surface by referencing existing faces and points.
virtual const labelList & faceIds() const
Per-face identifier (eg, element Id)
virtual const labelList & zoneIds() const
Per-face zone/region information.
void clear()
Remove all references by redirecting to null objects.
static const Field< Type > & null()
Return nullObject reference Field.
virtual ~meshedSurfRef()=default
Destructor.