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> ids_;
125 points_ = std::cref<pointField>(pts);
126 faces_ = std::cref<faceList>(fcs);
127 ids_ = std::cref<labelList>(ids);
meshedSurfRef()
Construct null.
virtual const faceList & faces() const
The faces used for the surface.
static const List< label > & null()
Return a null List.
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.
void reset(const pointField &pts, const faceList &fcs, const labelList &ids=labelList::null())
Reset components.
virtual const labelList & zoneIds() const
Per-face zone/region information.
static const Field< Type > & null()
Return nullObject reference field.
void clear()
Remove all references by redirecting to null objects.
virtual ~meshedSurfRef()=default
Destructor.