20 #ifndef LIBMESH_FACE_C0POLYGON_H 21 #define LIBMESH_FACE_C0POLYGON_H 24 #include "libmesh/libmesh_common.h" 25 #include "libmesh/face_polygon.h" 92 const unsigned int s)
const override final;
97 virtual bool is_vertex(
const unsigned int i)
const override;
102 virtual bool is_edge(
const unsigned int i)
const override;
107 virtual bool is_face(
const unsigned int i)
const override;
119 const unsigned int s)
const override;
121 virtual std::vector<unsigned int>
nodes_on_side(
const unsigned int s)
const override;
123 virtual std::vector<unsigned int>
nodes_on_edge(
const unsigned int e)
const override;
130 const unsigned int e)
const override 149 virtual std::unique_ptr<Elem>
build_side_ptr (
const unsigned int i)
override;
155 const unsigned int i)
override;
162 std::vector<dof_id_type> & conn)
const override;
173 virtual std::pair<unsigned short int, unsigned short int>
186 virtual void permute(
unsigned int perm_num)
override final;
199 #ifdef LIBMESH_ENABLE_AMR 206 const unsigned int )
const override 207 { libmesh_not_implemented();
return 0; }
209 #endif // LIBMESH_ENABLE_AMR 216 #endif // LIBMESH_FACE_POLYGON_H virtual Real volume() const override
An optimized method for calculating the area of a C0Polygon.
ElemType
Defines an enum for geometric element types.
virtual std::pair< unsigned short int, unsigned short int > second_order_child_vertex(const unsigned int n) const override
Element refinement is not implemented for polygons.
virtual void permute(unsigned int perm_num) override final
Permutes the element (by swapping node and neighbor pointers) according to the specified index...
Order
defines an enum for polynomial orders.
virtual Order default_order() const override
virtual bool is_edge(const unsigned int i) const override
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i)=0
virtual dof_id_type key() const
IOPackage
libMesh interfaces with several different software packages for the purposes of creating, reading, and writing mesh files.
This is the base class from which all geometric element types are derived.
virtual std::vector< unsigned int > nodes_on_edge(const unsigned int e) const override
virtual ElemType type() const override final
The libMesh namespace provides an interface to certain functionality in the library.
ElemType side_type(const unsigned int s) const override final
virtual unsigned int n_sub_elem() const override
virtual bool is_vertex(const unsigned int i) const override
virtual unsigned int opposite_node(const unsigned int n, const unsigned int s) const override final
virtual bool has_affine_map() const override
virtual ~C0Polygon()=default
C0Polygon & operator=(const C0Polygon &)=delete
The Polygon is an element in 2D with an arbitrary (but fixed) number of sides.
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
The BoundaryInfo class contains information relevant to boundary conditions including storing faces...
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override
virtual bool is_face(const unsigned int i) const override
virtual void connectivity(const unsigned int sf, const IOPackage iop, std::vector< dof_id_type > &conn) const override
The C0Polygon is an element in 2D with an arbitrary (but fixed) number of first-order (EDGE2) sides...
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i) override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual unsigned int n_second_order_adjacent_vertices(const unsigned int) const override
virtual std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
virtual Real embedding_matrix(const unsigned int, const unsigned int, const unsigned int) const override
Matrix used to create the elements children.
virtual unsigned int n_nodes_per_side() const override
C0Polygon elements have only vertex nodes, two per side/edge.
virtual unsigned int n_sides() const override final
C0Polygon(const unsigned int num_sides, Elem *p=nullptr)
Constructor.
A Point defines a location in LIBMESH_DIM dimensional Real space.
virtual void retriangulate() override final
Create a triangulation from the current node locations.
virtual void flip(BoundaryInfo *) override final
Flips the element (by swapping node and neighbor pointers) to have a mapping Jacobian of opposite sig...
virtual Point true_centroid() const override
An optimized method for calculating the centroid of a C0Polygon.