|
| Quadrilateral ()=default |
| default constructors, needed by std::vector More...
|
|
| ~Quadrilateral () override=default |
|
|
| Quadrilateral (const Quadrilateral &)=delete |
|
| Quadrilateral (Quadrilateral &&) noexcept=default |
|
Quadrilateral & | operator= (const Quadrilateral &)=delete |
|
Quadrilateral & | operator= (Quadrilateral &&) noexcept=default |
|
| Quadrilateral (size_type index, std::unique_ptr< geometry::Geometry > &&geometry, const Point *corner0, const Point *corner1, const Point *corner2, const Point *corner3, const Segment *edge0, const Segment *edge1, const Segment *edge2, const Segment *edge3) |
| constructor, is called from MeshFactory More...
|
|
unsigned | Codim () const override |
| an edge is an entity of co-dimension 1 More...
|
|
nonstd::span< const Entity *const > | SubEntities (unsigned rel_codim) const override |
| Access to all subentities selected by relative co-dimension. More...
|
|
nonstd::span< const lf::mesh::Orientation > | RelativeOrientations () const override |
| Access to relative orientations of edges. More...
|
|
size_type | index () const |
| access to index of an entity More...
|
|
|
|
const geometry::Geometry * | Geometry () const override |
| Describes the geometry of this entity. More...
|
|
base::RefEl | RefEl () const override |
| Describes the reference element type of this entity. More...
|
|
bool | operator== (const mesh::Entity &rhs) const override |
| Check if two entities are the same. More...
|
|
virtual unsigned | Codim () const =0 |
| The codimension of this entity w.r.t. the Mesh.dimMesh() of the owning mesh manager. More...
|
|
virtual nonstd::span< const Entity *const > | SubEntities (unsigned rel_codim) const =0 |
| Return all sub entities of this entity that have the given codimension (w.r.t. this entity!) More...
|
|
virtual nonstd::span< const Orientation > | RelativeOrientations () const =0 |
| return span of relative orientations of sub-entities of the next higher co-dimension. More...
|
|
virtual const geometry::Geometry * | Geometry () const =0 |
| Describes the geometry of this entity. More...
|
|
virtual base::RefEl | RefEl () const =0 |
| Describes the reference element type of this entity. More...
|
|
virtual bool | operator== (const Entity &rhs) const =0 |
| Check if two entities are the same. More...
|
|
bool | operator!= (const Entity &rhs) const |
| Check if two entities are different. More...
|
|
virtual | ~Entity ()=default |
| Virtual Destructor. More...
|
|
Describes a general quadrilateral cell for a 2D hybrid mesh.
A quadrilateral cell stores and ordered list of four nodes and of four edges, which have to be compatible.
- Note
- Every
Segment
object owns a smart pointer to an associated geometry object.
Definition at line 28 of file quad.h.
Describes the geometry of this entity.
- Returns
- A pointer to a Geometry object that will remain valid for as long as the Mesh remains valid.
Why does this member function return a pointer instead of a reference? One reason is that entities without a geometric shape are conceivable as building block of a "mesh graph", where only topological information matters. Another reason is that during the construction of a mesh, it turns out to be convenient to build entities "without geometry" first and then endow them with geometric information. A nullptr
is a good way to indicate missing geometric information.
Implements lf::mesh::Entity.
Definition at line 103 of file quad.h.
References geometry_.