Go to the documentation of this file.
   18 #include "libmesh/libmesh_config.h" 
   20 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 
   23 #include "libmesh/cell_inf_prism.h" 
   24 #include "libmesh/cell_inf_prism6.h" 
   25 #include "libmesh/face_tri3.h" 
   26 #include "libmesh/face_inf_quad4.h" 
   27 #include "libmesh/fe_type.h" 
   28 #include "libmesh/fe_interface.h" 
   29 #include "libmesh/inf_fe_map.h" 
   30 #include "libmesh/enum_order.h" 
   63   libmesh_assert_less (s, this->
n_sides());
 
   81       libmesh_error_msg(
"Invalid side s = " << s);
 
   88                                        unsigned int side_node)
 const 
   90   libmesh_assert_less (side, this->
n_sides());
 
   93   libmesh_assert_less(side_node, 4);
 
  105   libmesh_assert_less (i, this->
n_sides());
 
  107   std::unique_ptr<Elem> face;
 
  113         face = libmesh_make_unique<Tri3>();
 
  121         face = libmesh_make_unique<InfQuad4>();
 
  126       libmesh_error_msg(
"Invalid side i = " << i);
 
  130   for (
auto n : face->node_index_range())
 
  139                          const unsigned int i)
 
  141   libmesh_assert_less (i, this->
n_sides());
 
  148         if (!side.get() || side->type() != 
TRI3)
 
  162         if (!side.get() || side->type() != 
INFQUAD4)
 
  171       libmesh_error_msg(
"Invalid side i = " << i);
 
  177   for (
auto n : side->node_index_range())
 
  184                                 const unsigned int s)
 const 
  187   libmesh_assert_less (s, this->
n_sides());
 
  189   return (s == 0 || c+1 == s || c == s%3);
 
  195                                 const unsigned int s)
 const 
  197   libmesh_assert_less (e, this->
n_edges());
 
  198   libmesh_assert_less (s, this->
n_sides());
 
  225   const Real tmp_min_distance_sq = std::min(pt0_o.
norm_sq(),
 
  233   const Real min_distance_sq = tmp_min_distance_sq
 
  240   const Real conservative_p_dist_sq = 1.01 * (
Point(p - my_origin).
norm_sq());
 
  242   if (conservative_p_dist_sq < min_distance_sq)
 
  250   Point p_o(p - my_origin);
 
  251   pt0_o /= pt0_o.
norm();
 
  252   pt1_o /= pt1_o.
norm();
 
  253   pt2_o /= pt2_o.
norm();
 
  285 #endif // ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 
  
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const =0
 
static dof_id_type compute_key(dof_id_type n0)
 
static bool on_reference_element(const Point &p, const ElemType t, const Real eps=TOLERANCE)
 
static const unsigned int edge_nodes_map[num_edges][nodes_per_edge]
This maps the  node of the  edge to element node numbers.
 
virtual unsigned int n_sides() const override final
 
virtual unsigned short dim() const override
 
The libMesh namespace provides an interface to certain functionality in the library.
 
virtual bool is_edge_on_side(const unsigned int e, const unsigned int s) const override final
 
const Point & point(const unsigned int i) const
 
static const Real _master_points[12][3]
Master element node locations.
 
static Point inverse_map(const unsigned int dim, const Elem *elem, const Point &p, const Real tolerance=TOLERANCE, const bool secure=true)
 
auto norm_sq() const -> decltype(std::norm(T()))
 
virtual Point origin() const override
 
A Point defines a location in LIBMESH_DIM dimensional Real space.
 
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
This maps the  node of the  side to element node numbers.
 
virtual dof_id_type key() const
 
virtual Order default_order() const =0
 
virtual unsigned int which_node_am_i(unsigned int side, unsigned int side_node) const override
 
virtual unsigned int n_edges() const override final
 
class FEType hides (possibly multiple) FEFamily and approximation orders, thereby enabling specialize...
 
virtual std::unique_ptr< Elem > side_ptr(const unsigned int i) override final
 
subdomain_id_type subdomain_id() const
 
virtual unsigned int n_children() const override final
 
dof_id_type node_id(const unsigned int i) const
 
virtual bool contains_point(const Point &p, Real tol=TOLERANCE) const override
 
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
 
auto norm() const -> decltype(std::norm(T()))
 
const Node * node_ptr(const unsigned int i) const
 
virtual ElemType type() const =0
 
virtual bool is_child_on_side(const unsigned int c, const unsigned int s) const override final