20 #ifndef LIBMESH_EDGE_H 21 #define LIBMESH_EDGE_H 45 Edge (
const unsigned int nn,
47 Node ** nodelinkdata) :
59 virtual ~Edge() =
default;
64 virtual unsigned short dim () const override final {
return 1; }
69 virtual unsigned int n_nodes()
const override {
return 2; }
74 virtual unsigned int n_sides() const override final {
return 2; }
79 virtual unsigned int n_vertices() const override final {
return 2; }
84 virtual unsigned int n_edges() const override final {
return 0; }
89 virtual unsigned int n_faces() const override final {
return 0; }
94 virtual unsigned int n_children() const override final {
return 2; }
100 const unsigned int s)
const override final;
106 const unsigned int)
const override final 113 virtual unsigned int opposite_side(
const unsigned int s)
const override final;
121 const unsigned int s)
const override final;
140 unsigned int )
const override final;
145 virtual std::unique_ptr<Elem>
side_ptr (
const unsigned int i)
override final;
150 virtual void side_ptr (std::unique_ptr<Elem> &
side,
const unsigned int i)
override final;
155 virtual std::unique_ptr<Elem>
build_side_ptr (
const unsigned int i,
156 bool proxy)
override final;
162 const unsigned int i)
override final;
168 { libmesh_not_implemented();
return std::unique_ptr<Elem>(); }
170 virtual std::vector<unsigned int>
nodes_on_side(
const unsigned int s)
const override;
179 #ifdef LIBMESH_ENABLE_AMR 185 const unsigned int)
const 186 { libmesh_not_implemented();
return 0; }
194 #endif // LIBMESH_EDGE_H virtual unsigned int n_vertices() const override final
virtual unsigned int which_node_am_i(unsigned int side, unsigned int) const override final
A geometric point in (x,y,z) space associated with a DOF.
Edge(const unsigned int nn, Elem *p, Node **nodelinkdata)
Elem * _elemlinks_data[3+(LIBMESH_DIM >1)]
virtual std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
virtual dof_id_type key(const unsigned int s) const override final
unsigned int side_children_matrix(const unsigned int, const unsigned int) const
virtual dof_id_type key() const
virtual unsigned short dim() const override final
virtual unsigned int n_edges() const override final
The base class for all geometric element types.
void set_interior_parent(Elem *p)
virtual bool is_edge_on_side(const unsigned int, const unsigned int) const override final
virtual std::unique_ptr< Elem > build_edge_ptr(const unsigned int) override final
virtual unsigned int opposite_side(const unsigned int s) const override final
virtual std::unique_ptr< Elem > side_ptr(const unsigned int i) override final
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i, bool proxy) override final
virtual unsigned int n_children() const override final
virtual unsigned int n_faces() const override final
Edge & operator=(const Edge &)=delete
The base class for all 1D geometric element types.
static dof_id_type compute_key(dof_id_type n0)
virtual unsigned int opposite_node(const unsigned int n, const unsigned int s) const override final
dof_id_type node_id(const unsigned int i) const
virtual unsigned int n_nodes() const override
std::unique_ptr< Elem > side(const unsigned int i) const
virtual bool is_child_on_side(const unsigned int c, const unsigned int s) const override final
virtual unsigned int n_sides() const override final