Go to the documentation of this file.
   20 #ifndef LIBMESH_EDGE_EDGE2_H 
   21 #define LIBMESH_EDGE_EDGE2_H 
   24 #include "libmesh/libmesh_common.h" 
   25 #include "libmesh/edge.h" 
   58   virtual ~Edge2() = 
default;
 
   66     libmesh_assert_less(i, this->
n_nodes());
 
   73   virtual unsigned int n_sub_elem()
 const override { 
return 1; }
 
   78   virtual bool is_vertex(
const unsigned int i) 
const override;
 
   83   virtual bool is_edge(
const unsigned int i) 
const override;
 
   88   virtual bool is_face(
const unsigned int i) 
const override;
 
   95                                const unsigned int s) 
const override;
 
  102                                const unsigned int e) 
const override;
 
  114   virtual bool is_linear ()
 const override { 
return true; }
 
  128                             std::vector<dof_id_type> & conn) 
const override;
 
  135 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 
  140   virtual bool infinite ()
 const override { 
return false; }
 
  171 #ifdef LIBMESH_ENABLE_AMR 
  177                                   const unsigned int j,
 
  178                                   const unsigned int k)
 const override 
  189 #endif // LIBMESH_ENABLE_AMR 
  196 #endif // LIBMESH_EDGE_EDGE2_H 
  
Edge2(Elem *p=nullptr)
Constructor.
 
static const int num_nodes
Geometric constants for Edge2.
 
Edge2 & operator=(const Edge2 &)=delete
 
virtual Order default_order() const override
 
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
 
virtual bool is_edge(const unsigned int i) const override
 
virtual bool is_vertex(const unsigned int i) const override
 
IOPackage
libMesh interfaces with several different software packages for the purposes of creating,...
 
virtual bool is_linear() const override
 
The libMesh namespace provides an interface to certain functionality in the library.
 
virtual unsigned int n_sub_elem() const override
 
virtual void connectivity(const unsigned int sc, const IOPackage iop, std::vector< dof_id_type > &conn) const override
 
The Edge is an element in 1D.
 
virtual bool infinite() const override
 
virtual bool has_affine_map() const override
 
virtual Real volume() const override
An optimized method for computing the length of a 2-node edge.
 
virtual ElemType type() const override
 
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.
 
A Point defines a location in LIBMESH_DIM dimensional Real space.
 
virtual dof_id_type key() const
 
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override
 
A Node is like a Point, but with more information.
 
static const int num_children
 
Node * _nodelinks_data[num_nodes]
Data for links to nodes.
 
virtual dof_id_type key() const override
 
virtual unsigned int n_nodes() const override
 
static const float _embedding_matrix[num_children][num_nodes][num_nodes]
Matrix that computes new nodal locations/solution values from current nodes/solution.
 
virtual Point master_point(const unsigned int i) const override
 
The Edge2 is an element in 1D composed of 2 nodes.
 
This is the base class from which all geometric element types are derived.
 
LIBMESH_ENABLE_TOPOLOGY_CACHES
 
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
 
ElemType
Defines an enum for geometric element types.
 
virtual bool is_face(const unsigned int i) const override