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;
201#ifdef LIBMESH_ENABLE_AMR
208 const unsigned int )
const override
209 { libmesh_not_implemented();
return 0; }
The BoundaryInfo class contains information relevant to boundary conditions including storing faces,...
The C0Polygon is an element in 2D with an arbitrary (but fixed) number of first-order (EDGE2) sides.
virtual bool is_edge(const unsigned int i) const override
C0Polygon(C0Polygon &&)=delete
virtual Point true_centroid() const override
An optimized method for calculating the centroid of a C0Polygon.
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
ElemType side_type(const unsigned int s) const override final
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
virtual ~C0Polygon()=default
virtual void flip(BoundaryInfo *) override final
Flips the element (by swapping node and neighbor pointers) to have a mapping Jacobian of opposite sig...
virtual bool has_affine_map() const override
virtual Real volume() const override
An optimized method for calculating the area of a C0Polygon.
virtual void retriangulate() override final
Create a triangulation from the current node locations.
virtual Order default_order() const override
virtual unsigned int n_sub_elem() const override
C0Polygon(const C0Polygon &)=delete
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 ElemType type() const override final
virtual Point side_vertex_average_normal(const unsigned int s) const override final
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i) override
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 std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
virtual std::vector< unsigned int > nodes_on_edge(const unsigned int e) const override
virtual unsigned int n_second_order_adjacent_vertices(const unsigned int) const override
virtual void permute(unsigned int perm_num) override final
Permutes the element (by swapping node and neighbor pointers) according to the specified index.
C0Polygon & operator=(const C0Polygon &)=delete
virtual unsigned int n_nodes_per_side() const override
C0Polygon elements have only vertex nodes, two per side/edge.
virtual Real embedding_matrix(const unsigned int, const unsigned int, const unsigned int) const override
Matrix used to create the elements children.
This is the base class from which all geometric element types are derived.
virtual dof_id_type key(const unsigned int s) const =0
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i)=0
A Point defines a location in LIBMESH_DIM dimensional Real space.
The Polygon is an element in 2D with an arbitrary (but fixed) number of sides.
virtual unsigned int n_sides() const override final
The libMesh namespace provides an interface to certain functionality in the library.
IOPackage
libMesh interfaces with several different software packages for the purposes of creating,...
ElemType
Defines an enum for geometric element types.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real