Go to the documentation of this file.
20 #ifndef LIBMESH_EDGE_EDGE4_H
21 #define LIBMESH_EDGE_EDGE4_H
24 #include "libmesh/libmesh_common.h"
25 #include "libmesh/edge.h"
59 virtual ~Edge4() =
default;
67 libmesh_assert_less(i, this->
n_nodes());
81 virtual unsigned int n_sub_elem()
const override {
return 2; }
86 virtual bool is_vertex(
const unsigned int i)
const override;
91 virtual bool is_edge(
const unsigned int i)
const override;
96 virtual bool is_face(
const unsigned int i)
const override;
103 const unsigned int s)
const override;
110 const unsigned int e)
const override;
130 std::vector<dof_id_type> & conn)
const override;
136 { libmesh_not_implemented();
return 0; }
142 const unsigned int)
const override
143 { libmesh_not_implemented();
return 0; }
151 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
156 virtual bool infinite ()
const override {
return false; }
193 #ifdef LIBMESH_ENABLE_AMR
199 const unsigned int j,
200 const unsigned int k)
const override
211 #endif // LIBMESH_ENABLE_AMR
218 #endif // LIBMESH_EDGE_EDGE4_H
virtual Real volume() const override
An optimized method for approximating the length of an EDGE4 using quadrature.
IOPackage
libMesh interfaces with several different software packages for the purposes of creating,...
Defines a Cartesian bounding box by the two corner extremum.
virtual unsigned int n_sub_elem() const override
The libMesh namespace provides an interface to certain functionality in the library.
virtual bool is_vertex(const unsigned int i) const override
virtual bool has_affine_map() const override
virtual Point master_point(const unsigned int i) const override
virtual bool infinite() const override
Edge4(Elem *p=nullptr)
Constructor.
The Edge is an element in 1D.
virtual Order default_order() const override
virtual unsigned short int second_order_adjacent_vertex(const unsigned int, const unsigned int) const override
FIXME: This function could be generalized to work for Edges.
static const float _embedding_matrix[num_children][num_nodes][num_nodes]
Matrix that computes new nodal locations/solution values from current nodes/solution.
static const int num_children
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override
A Point defines a location in LIBMESH_DIM dimensional Real space.
virtual dof_id_type key() const
virtual unsigned int n_nodes() const override
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
LIBMESH_ENABLE_TOPOLOGY_CACHES
A Node is like a Point, but with more information.
virtual BoundingBox loose_bounding_box() const override
static const int num_nodes
Geometric constants for Edge4.
virtual float embedding_matrix(const unsigned int i, const unsigned int j, const unsigned int k) const override
Matrix used to create the elements children.
virtual dof_id_type key() const override
virtual void connectivity(const unsigned int sc, const IOPackage iop, std::vector< dof_id_type > &conn) const override
virtual bool is_face(const unsigned int i) const override
virtual bool is_edge(const unsigned int i) const override
Node * _nodelinks_data[num_nodes]
Data for links to nodes.
virtual ElemType type() const override
This is the base class from which all geometric element types are derived.
The Edge4 is an element in 1D composed of 4 nodes.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual unsigned int n_second_order_adjacent_vertices(const unsigned int) const override
FIXME: This function could be generalized to work for Edges.
Edge4 & operator=(const Edge4 &)=delete
ElemType
Defines an enum for geometric element types.