20 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 62 libmesh_assert_less (s, this->
n_sides());
80 libmesh_error_msg(
"Invalid side s = " << s);
87 unsigned int side_node)
const 92 libmesh_assert_less(side_node, 4);
95 libmesh_assert(
side != 0 || side_node < 3);
104 libmesh_assert_less (i, this->
n_sides());
106 std::unique_ptr<Elem> face;
112 face = libmesh_make_unique<Tri3>();
120 face = libmesh_make_unique<InfQuad4>();
125 libmesh_error_msg(
"Invalid side i = " << i);
129 for (
unsigned n=0; n<face->n_nodes(); ++n)
138 const unsigned int i)
140 libmesh_assert_less (i, this->
n_sides());
170 libmesh_error_msg(
"Invalid side i = " << i);
176 for (
auto n :
side->node_index_range())
183 const unsigned int s)
const 186 libmesh_assert_less (s, this->
n_sides());
188 return (s == 0 || c+1 == s || c == s%3);
194 const unsigned int s)
const 196 libmesh_assert_less (e, this->
n_edges());
197 libmesh_assert_less (s, this->
n_sides());
230 const Real conservative_p_dist_sq = 1.01 * (
Point(p - my_origin).
norm_sq());
232 if (conservative_p_dist_sq < min_distance_sq)
240 Point p_o(p - my_origin);
241 pt0_o /= pt0_o.
norm();
242 pt1_o /= pt1_o.
norm();
243 pt2_o /= pt2_o.
norm();
279 #endif // ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS Manages the family, order, etc. parameters for a given FE.
static const Real _master_points[12][3]
virtual dof_id_type key() const
virtual unsigned int n_edges() const override final
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const =0
long double max(long double a, double b)
virtual unsigned int n_children() const override final
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
virtual std::unique_ptr< Elem > side_ptr(const unsigned int i) 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 bool is_child_on_side(const unsigned int c, const unsigned int s) const override final
static bool on_reference_element(const Point &p, const ElemType t, const Real eps=TOLERANCE)
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]
virtual Point origin() 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 short dim() const override
virtual bool contains_point(const Point &p, Real tol=TOLERANCE) const override
static dof_id_type compute_key(dof_id_type n0)
virtual Order default_order() const =0
virtual unsigned int n_sides() const override final
virtual ElemType type() const =0
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
virtual unsigned int which_node_am_i(unsigned int side, unsigned int side_node) const override