21 #include "libmesh/edge_edge2.h" 22 #include "libmesh/enum_io_package.h" 23 #include "libmesh/enum_order.h" 37 #ifdef LIBMESH_ENABLE_AMR 74 const unsigned int s)
const 81 const unsigned int libmesh_dbg_var(e))
const 83 libmesh_assert_equal_to (e, 0);
98 return this->
volume() > tol;
105 std::vector<dof_id_type> & conn)
const 107 libmesh_assert_equal_to (sc, 0);
131 libmesh_error_msg(
"Unsupported IO package " << iop);
145 return (this->
point(1) - this->
point(0)).norm();
Order
defines an enum for polynomial orders.
static const int num_children
static const int nodes_per_side
IOPackage
libMesh interfaces with several different software packages for the purposes of creating, reading, and writing mesh files.
void swap2boundarysides(unsigned short s1, unsigned short s2, BoundaryInfo *boundary_info) const
Swaps two sides in boundary_info, if it is non-null.
static const int num_sides
The libMesh namespace provides an interface to certain functionality in the library.
virtual dof_id_type key() const override
void swap2nodes(unsigned int n1, unsigned int n2)
Swaps two node_ptrs.
static const int num_edges
virtual bool is_face(const unsigned int i) const override
virtual Point true_centroid() const override
An optimized method for computing the centroid of a 2-node edge.
The BoundaryInfo class contains information relevant to boundary conditions including storing faces...
static const Real _embedding_matrix[num_children][num_nodes][num_nodes]
Matrix that computes new nodal locations/solution values from current nodes/solution.
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
virtual bool is_vertex(const unsigned int i) const override
static const int num_nodes
Geometric constants for Edge2.
virtual bool has_invertible_map(Real tol) const override
virtual bool is_edge(const unsigned int i) const override
virtual Order default_order() const override
void swap2neighbors(unsigned int n1, unsigned int n2)
Swaps two neighbor_ptrs.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void connectivity(const unsigned int sc, const IOPackage iop, std::vector< dof_id_type > &conn) const override
virtual unsigned int n_sub_elem() const override
static const int nodes_per_edge
virtual Real volume() const override
An optimized method for computing the length of a 2-node edge.
static dof_id_type compute_key(dof_id_type n0)
virtual void flip(BoundaryInfo *) override final
Flips the element (by swapping node and neighbor pointers) to have a mapping Jacobian of opposite sig...
A Point defines a location in LIBMESH_DIM dimensional Real space.
dof_id_type node_id(const unsigned int i) const
const Point & point(const unsigned int i) const
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override