85 const unsigned int s)
const 87 libmesh_assert_less (s,
n_sides());
96 libmesh_assert_less(s,
n_sides());
97 auto trim = (s == 4) ? 0 : 1;
102 const unsigned int e)
const 104 libmesh_assert_less (e,
n_edges());
131 libmesh_assert_less (i, this->
n_sides());
141 return libmesh_make_unique<Side<Tri3,Pyramid5>>(
this,i);
144 return libmesh_make_unique<Side<Quad4,Pyramid5>>(
this,i);
147 libmesh_error_msg(
"Invalid side i = " << i);
154 std::unique_ptr<Elem> face;
163 face = libmesh_make_unique<Tri3>();
168 face = libmesh_make_unique<Quad4>();
172 libmesh_error_msg(
"Invalid side i = " << i);
178 for (
unsigned n=0; n<face->n_nodes(); ++n)
179 face->set_node(n) = this->
node_ptr(Pyramid5::side_nodes_map[i][n]);
188 const unsigned int i)
197 libmesh_assert_less (i, this->
n_edges());
199 return libmesh_make_unique<SideEdge<Edge2,Pyramid5>>(
this,i);
206 std::vector<dof_id_type> & conn)
const 240 libmesh_error_msg(
"Unsupported IO package " << iop);
virtual std::unique_ptr< Elem > build_edge_ptr(const unsigned int i) override
virtual void connectivity(const unsigned int sc, const IOPackage iop, std::vector< dof_id_type > &conn) const override
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i, bool proxy) override
virtual bool is_face(const unsigned int i) const override
virtual BoundingBox loose_bounding_box() const override
static const int nodes_per_edge
static const unsigned int edge_nodes_map[num_edges][nodes_per_edge]
virtual BoundingBox loose_bounding_box() const
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
virtual Real volume() const override
virtual unsigned int n_sides() const override
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override
virtual bool has_affine_map() const override
virtual bool is_edge(const unsigned int i) const override
static const int num_children
static const int num_nodes
virtual std::unique_ptr< Elem > side_ptr(const unsigned int i) override
virtual std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
T triple_product(const TypeVector< T > &a, const TypeVector< T > &b, const TypeVector< T > &c)
static const int nodes_per_side
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
subdomain_id_type subdomain_id() const
virtual unsigned int n_edges() const override
const Node * node_ptr(const unsigned int i) const
virtual bool is_vertex(const unsigned int i) const override
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
virtual unsigned int n_sub_elem() const override
A geometric point in (x,y,z) space.
dof_id_type node_id(const unsigned int i) const
const Point & point(const unsigned int i) const
virtual Order default_order() const override
static const int num_sides
static const int num_edges