Go to the documentation of this file.
22 #include "libmesh/cell_prism.h"
23 #include "libmesh/cell_prism6.h"
24 #include "libmesh/face_quad4.h"
25 #include "libmesh/face_tri3.h"
65 libmesh_assert_less (s, this->
n_sides());
84 libmesh_error_msg(
"Invalid side " << s);
91 unsigned int side_node)
const
93 libmesh_assert_less (side, this->
n_sides());
96 libmesh_assert_less(side_node, 4);
108 libmesh_assert_less (i, this->
n_sides());
110 std::unique_ptr<Elem> face;
118 face = libmesh_make_unique<Tri3>();
125 face = libmesh_make_unique<Quad4>();
129 libmesh_error_msg(
"Invalid side i = " << i);
133 for (
auto n : face->node_index_range())
142 const unsigned int i)
144 libmesh_assert_less (i, this->
n_sides());
152 if (!side.get() || side->type() !=
TRI3)
164 if (!side.get() || side->type() !=
QUAD4)
173 libmesh_error_msg(
"Invalid side i = " << i);
179 for (
auto n : side->node_index_range())
186 const unsigned int s)
const
189 libmesh_assert_less (s, this->
n_sides());
191 for (
unsigned int i = 0; i != 4; ++i)
200 const unsigned int s)
const
202 libmesh_assert_less (e, this->
n_edges());
203 libmesh_assert_less (s, this->
n_sides());
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const =0
static dof_id_type compute_key(dof_id_type n0)
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
This maps the node of the side to element node numbers.
static const unsigned short int _second_order_vertex_child_index[18]
Vector that names the child vertex index for each second order node.
The libMesh namespace provides an interface to certain functionality in the library.
virtual unsigned int n_edges() const override final
static const unsigned short int _second_order_vertex_child_number[18]
Vector that names a child sharing each second order node.
virtual bool is_edge_on_side(const unsigned int e, const unsigned int s) const override final
static const unsigned int edge_nodes_map[num_edges][nodes_per_edge]
This maps the node of the edge to element node numbers.
virtual dof_id_type key() const
virtual unsigned int which_node_am_i(unsigned int side, unsigned int side_node) const override
virtual unsigned int n_sides() const override final
static const unsigned short int _second_order_adjacent_vertices[9][2]
Matrix that tells which vertices define the location of mid-side (or second-order) nodes.
subdomain_id_type subdomain_id() const
virtual unsigned int n_children() const override final
virtual std::unique_ptr< Elem > side_ptr(const unsigned int i) override final
virtual bool is_child_on_side(const unsigned int c, const unsigned int s) const override final
dof_id_type node_id(const unsigned int i) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const unsigned int side_elems_map[num_sides][nodes_per_side]
This maps the child elements with the associated side of the parent element.
const Node * node_ptr(const unsigned int i) const
static const Real _master_points[18][3]
Master element node locations.