21 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 89 const unsigned int s)
const 91 libmesh_assert_less (s,
n_sides());
100 libmesh_assert_less(s,
n_sides());
101 auto trim = (s > 0) ? 0 : 1;
106 const unsigned int e)
const 108 libmesh_assert_less (e,
n_edges());
126 libmesh_assert_less (i, this->
n_sides());
134 return libmesh_make_unique<Side<Tri3,InfPrism6>>(
this,i);
140 return libmesh_make_unique<Side<InfQuad4,InfPrism6>>(
this,i);
143 libmesh_error_msg(
"Invalid side i = " << i);
150 std::unique_ptr<Elem> face;
156 face = libmesh_make_unique<Tri3>();
164 face = libmesh_make_unique<InfQuad4>();
169 libmesh_error_msg(
"Invalid side i = " << i);
175 for (
unsigned n=0; n<face->n_nodes(); ++n)
176 face->set_node(n) = this->
node_ptr(InfPrism6::side_nodes_map[i][n]);
184 const unsigned int i)
192 libmesh_assert_less (i,
n_edges());
195 return libmesh_make_unique<SideEdge<Edge2,InfPrism6>>(
this,i);
198 return libmesh_make_unique<SideEdge<InfEdge2,InfPrism6>>(
this,i);
203 std::vector<dof_id_type> & conn)
const 226 libmesh_error_msg(
"Unsupported IO package " << iop);
234 #ifdef LIBMESH_ENABLE_AMR 241 { 1.0, 0.0, 0.0, 0.0, 0.0, 0.0},
242 { 0.5, 0.5, 0.0, 0.0, 0.0, 0.0},
243 { 0.5, 0.0, 0.5, 0.0, 0.0, 0.0},
244 { 0.0, 0.0, 0.0, 1.0, 0.0, 0.0},
245 { 0.0, 0.0, 0.0, 0.5, 0.5, 0.0},
246 { 0.0, 0.0, 0.0, 0.5, 0.0, 0.5}
252 { 0.5, 0.5, 0.0, 0.0, 0.0, 0.0},
253 { 0.0, 1.0, 0.0, 0.0, 0.0, 0.0},
254 { 0.0, 0.5, 0.5, 0.0, 0.0, 0.0},
255 { 0.0, 0.0, 0.0, 0.5, 0.5, 0.0},
256 { 0.0, 0.0, 0.0, 0.0, 1.0, 0.0},
257 { 0.0, 0.0, 0.0, 0.0, 0.5, 0.5}
263 { 0.5, 0.0, 0.5, 0.0, 0.0, 0.0},
264 { 0.0, 0.5, 0.5, 0.0, 0.0, 0.0},
265 { 0.0, 0.0, 1.0, 0.0, 0.0, 0.0},
266 { 0.0, 0.0, 0.0, 0.5, 0.0, 0.5},
267 { 0.0, 0.0, 0.0, 0.0, 0.5, 0.5},
268 { 0.0, 0.0, 0.0, 0.0, 0.0, 1.0}
274 { 0.5, 0.5, 0.0, 0.0, 0.0, 0.0},
275 { 0.0, 0.5, 0.5, 0.0, 0.0, 0.0},
276 { 0.5, 0.0, 0.5, 0.0, 0.0, 0.0},
277 { 0.0, 0.0, 0.0, 0.5, 0.5, 0.0},
278 { 0.0, 0.0, 0.0, 0.0, 0.5, 0.5},
279 { 0.0, 0.0, 0.0, 0.5, 0.0, 0.5}
289 #endif // ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i, bool proxy) override
static const int num_sides
virtual unsigned int n_edges() const override final
virtual std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
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
virtual std::unique_ptr< Elem > build_edge_ptr(const unsigned int i) override
virtual bool is_vertex(const unsigned int i) const override
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
static const float _embedding_matrix[num_children][num_nodes][num_nodes]
static const int num_nodes
virtual std::unique_ptr< Elem > side_ptr(const unsigned int i) override final
virtual Order default_order() const override
virtual bool is_face(const unsigned int i) const override
static const unsigned int edge_nodes_map[num_edges][nodes_per_edge]
static const int num_edges
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
subdomain_id_type subdomain_id() const
static const int nodes_per_side
const Node * node_ptr(const unsigned int i) const
virtual bool is_edge(const unsigned int i) const override
static const int num_children
static const int nodes_per_edge
virtual unsigned int n_sides() const override final
dof_id_type node_id(const unsigned int i) const
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override