22 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 55 #ifdef LIBMESH_ENABLE_AMR 104 const unsigned int s)
const 106 libmesh_assert_less (s,
n_sides());
112 std::vector<unsigned>
115 libmesh_assert_less(s,
n_sides());
146 if (conservative_p_dist_sq < min_distance_sq)
196 return libmesh_make_unique<Side<Edge2,InfQuad4>>(
this,i);
201 return libmesh_make_unique<Side<InfEdge2,InfQuad4>>(
this,i);
204 libmesh_error_msg(
"Invalid side i = " << i);
211 std::unique_ptr<Elem> edge;
217 edge = libmesh_make_unique<Edge2>();
225 edge = libmesh_make_unique<InfEdge2>();
230 libmesh_error_msg(
"Invalid side i = " << i);
236 for (
unsigned n=0; n<edge->n_nodes(); ++n)
237 edge->set_node(n) = this->
node_ptr(InfQuad4::side_nodes_map[i][n]);
246 const unsigned int i)
248 libmesh_assert_less (i, this->
n_sides());
277 libmesh_error_msg(
"Invalid side i = " << i);
283 for (
auto n :
side->node_index_range())
284 side->set_node(n) = this->
node_ptr(InfQuad4::side_nodes_map[i][n]);
291 std::vector<dof_id_type> & conn)
const 317 libmesh_error_msg(
"Unsupported IO package " << iop);
324 #endif // ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS Manages the family, order, etc. parameters for a given FE.
static const float _embedding_matrix[num_children][num_nodes][num_nodes]
virtual bool contains_point(const Point &p, Real tol=TOLERANCE) const override
static const int num_children
virtual ElemType type() const override
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
virtual bool is_vertex(const unsigned int i) const override
virtual Point origin() const override final
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
virtual unsigned short dim() const override final
static Point inverse_map(const unsigned int dim, const FEType &fe_t, const Elem *elem, const Point &p, const Real tolerance=TOLERANCE, const bool secure=true)
virtual void connectivity(const unsigned int sf, const IOPackage iop, std::vector< dof_id_type > &conn) const override
static const int num_sides
static bool on_reference_element(const Point &p, const ElemType t, const Real eps=TOLERANCE)
virtual bool is_face(const unsigned int i) const override
virtual Order default_order() const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
subdomain_id_type subdomain_id() const
const Node * node_ptr(const unsigned int i) const
virtual unsigned int n_sides() const override final
virtual bool is_edge(const unsigned int i) const override
static const int nodes_per_side
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i, bool proxy) override
virtual std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
virtual unsigned int n_sub_elem() const override
static const int num_nodes
long double min(long double a, double b)
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
std::unique_ptr< Elem > side(const unsigned int i) const