21 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 48 { 0, 1, 2, 3, 8, 9, 10, 11},
49 { 0, 1, 4, 5, 8, 12, 99, 99},
50 { 1, 2, 5, 6, 9, 13, 99, 99},
51 { 2, 3, 6, 7, 10, 14, 99, 99},
52 { 3, 0, 7, 4, 11, 15, 99, 99}
95 const unsigned int s)
const 97 libmesh_assert_less (s,
n_sides());
103 std::vector<unsigned>
106 libmesh_assert_less(s,
n_sides());
107 auto trim = (s == 0) ? 0 : 2;
112 const unsigned int e)
const 114 libmesh_assert_less (e,
n_edges());
130 unsigned int side_node)
const 138 libmesh_assert(
side == 0 || side_node < 6);
148 libmesh_assert_less (i, this->
n_sides());
156 return libmesh_make_unique<Side<Quad8,InfHex16>>(
this,i);
163 return libmesh_make_unique<Side<InfQuad6,InfHex16>>(
this,i);
166 libmesh_error_msg(
"Invalid side i = " << i);
173 std::unique_ptr<Elem> face;
181 face = libmesh_make_unique<Quad8>();
191 face = libmesh_make_unique<InfQuad6>();
196 libmesh_error_msg(
"Invalid side i = " << i);
202 for (
unsigned n=0; n<face->n_nodes(); ++n)
203 face->set_node(n) = this->
node_ptr(InfHex16::side_nodes_map[i][n]);
212 const unsigned int i)
214 libmesh_assert_less (i, this->
n_sides());
245 libmesh_error_msg(
"Invalid side i = " << i);
251 for (
auto n :
side->node_index_range())
252 side->set_node(n) = this->
node_ptr(InfHex16::side_nodes_map[i][n]);
259 libmesh_assert_less (i, this->
n_edges());
262 return libmesh_make_unique<SideEdge<Edge3,InfHex16>>(
this,i);
265 return libmesh_make_unique<SideEdge<InfEdge2,InfHex16>>(
this,i);
271 std::vector<dof_id_type> & conn)
const 296 libmesh_error_msg(
"Invalid sc = " << sc);
301 libmesh_error_msg(
"Unsupported IO package " << iop);
309 const unsigned int v)
const 311 libmesh_assert_greater_equal (n, this->
n_vertices());
312 libmesh_assert_less (n, this->
n_nodes());
313 libmesh_assert_less (v, 2);
321 std::pair<unsigned short int, unsigned short int>
324 libmesh_assert_greater_equal (n, this->
n_vertices());
325 libmesh_assert_less (n, this->
n_nodes());
331 return std::pair<unsigned short int, unsigned short int>
340 #ifdef LIBMESH_ENABLE_AMR 347 { 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
348 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
349 { -0.25, -0.25, -0.25, -0.25, 0.0, 0.0, 0.0, 0.0, 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.0},
350 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0},
351 { 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
352 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0},
353 { 0.0, 0.0, 0.0, 0.0, -0.25, -0.25, -0.25, -0.25, 0.0, 0.0, 0.0, 0.0, 0.5, 0.5, 0.5, 0.5},
354 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0},
355 { 0.375, -0.125, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
356 { -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.75, 0.375, 0.25, 0.375, 0.0, 0.0, 0.0, 0.0},
357 { -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.375, 0.25, 0.375, 0.75, 0.0, 0.0, 0.0, 0.0},
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 0.0, 0.0, 0.0, -0.25, -0.25, -0.25, -0.25, 0.0, 0.0, 0.0, 0.0, 0.5, 0.5, 0.5, 0.5},
376 { -0.125, 0.375, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
377 { 0.0, 0.375, -0.125, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
378 { -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.375, 0.75, 0.375, 0.25, 0.0, 0.0, 0.0, 0.0},
379 { -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.75, 0.375, 0.25, 0.375, 0.0, 0.0, 0.0, 0.0},
380 { 0.0, 0.0, 0.0, 0.0, -0.125, 0.375, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0},
381 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.375, -0.125, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0, 0.0},
382 { 0.0, 0.0, 0.0, 0.0, -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.375, 0.75, 0.375, 0.25},
383 { 0.0, 0.0, 0.0, 0.0, -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.75, 0.375, 0.25, 0.375}
389 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0},
390 { -0.25, -0.25, -0.25, -0.25, 0.0, 0.0, 0.0, 0.0, 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.0},
391 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0},
392 { 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
393 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0},
394 { 0.0, 0.0, 0.0, 0.0, -0.25, -0.25, -0.25, -0.25, 0.0, 0.0, 0.0, 0.0, 0.5, 0.5, 0.5, 0.5},
395 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0},
396 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
397 { -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.375, 0.25, 0.375, 0.75, 0.0, 0.0, 0.0, 0.0},
398 { -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.25, 0.375, 0.75, 0.375, 0.0, 0.0, 0.0, 0.0},
399 { 0.0, 0.0, -0.125, 0.375, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0, 0.0, 0.0},
400 { -0.125, 0.0, 0.0, 0.375, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0, 0.0},
401 { 0.0, 0.0, 0.0, 0.0, -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.375, 0.25, 0.375, 0.75},
402 { 0.0, 0.0, 0.0, 0.0, -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.25, 0.375, 0.75, 0.375},
403 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.125, 0.375, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0},
404 { 0.0,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, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.25, 0.375, 0.75, 0.375, 0.0, 0.0, 0.0, 0.0},
422 { 0.0, 0.0, 0.0, 0.0, -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.375, 0.75, 0.375, 0.25},
423 { 0.0, 0.0, 0.0, 0.0, 0.0, -0.125, 0.375, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0, 0.0},
424 { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.375, -0.125, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.75, 0.0},
425 { 0.0, 0.0, 0.0, 0.0, -0.1875, -0.1875, -0.1875, -0.1875, 0.0, 0.0, 0.0, 0.0, 0.25, 0.375, 0.75, 0.375}
435 #endif // ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
static const int nodes_per_edge
virtual std::pair< unsigned short int, unsigned short int > second_order_child_vertex(const unsigned int n) const override
virtual std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i, bool proxy) override
static const int num_edges
static const int num_nodes
virtual bool is_edge(const unsigned int i) const override
static const unsigned int edge_nodes_map[num_edges][nodes_per_edge]
static const unsigned short int _second_order_adjacent_vertices[8][2]
virtual unsigned int which_node_am_i(unsigned int side, unsigned int side_node) const override
virtual Order default_order() const override
virtual std::unique_ptr< Elem > build_edge_ptr(const unsigned int i) override
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
static const int num_children
static const float _embedding_matrix[num_children][num_nodes][num_nodes]
virtual bool is_vertex(const unsigned int i) const override
virtual unsigned int n_vertices() const override final
virtual unsigned int n_sub_elem() const override
static const unsigned short int _second_order_vertex_child_index[18]
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
subdomain_id_type subdomain_id() const
virtual void connectivity(const unsigned int sc, const IOPackage iop, std::vector< dof_id_type > &conn) const override
virtual unsigned int n_nodes() const override
const Node * node_ptr(const unsigned int i) const
virtual bool is_face(const unsigned int i) const override
static const int nodes_per_side
static const int num_sides
virtual unsigned int n_edges() const override final
dof_id_type node_id(const unsigned int i) const
virtual unsigned short int second_order_adjacent_vertex(const unsigned int n, const unsigned int v) const override
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override
static const unsigned short int _second_order_vertex_child_number[18]
std::unique_ptr< Elem > side(const unsigned int i) const
virtual unsigned int n_sides() const override final