Go to the documentation of this file.
   20 #include "libmesh/libmesh_config.h" 
   22 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 
   25 #include "libmesh/face_inf_quad4.h" 
   26 #include "libmesh/fe_interface.h" 
   27 #include "libmesh/fe_type.h" 
   28 #include "libmesh/side.h" 
   29 #include "libmesh/edge_edge2.h" 
   30 #include "libmesh/edge_inf_edge2.h" 
   31 #include "libmesh/enum_io_package.h" 
   32 #include "libmesh/enum_order.h" 
   33 #include "libmesh/inf_fe_map.h" 
   56 #ifdef LIBMESH_ENABLE_AMR 
  105                                const unsigned int s)
 const 
  107   libmesh_assert_less (s, 
n_sides());
 
  113 std::vector<unsigned>
 
  116   libmesh_assert_less(s, 
n_sides());
 
  147   if (conservative_p_dist_sq < min_distance_sq)
 
  193           return libmesh_make_unique<Side<Edge2,InfQuad4>>(
this,i);
 
  198           return libmesh_make_unique<Side<InfEdge2,InfQuad4>>(
this,i);
 
  201           libmesh_error_msg(
"Invalid side i = " << i);
 
  208       std::unique_ptr<Elem> edge;
 
  214             edge = libmesh_make_unique<Edge2>();
 
  222             edge = libmesh_make_unique<InfEdge2>();
 
  227           libmesh_error_msg(
"Invalid side i = " << i);
 
  233       for (
auto n : edge->node_index_range())
 
  234         edge->set_node(n) = this->
node_ptr(InfQuad4::side_nodes_map[i][n]);
 
  243                                const unsigned int i)
 
  245   libmesh_assert_less (i, this->
n_sides());
 
  253         if (!side.get() || side->type() != 
EDGE2)
 
  265         if (!side.get() || side->type() != 
INFEDGE2)
 
  274       libmesh_error_msg(
"Invalid side i = " << i);
 
  280   for (
auto n : side->node_index_range())
 
  281     side->set_node(n) = this->
node_ptr(InfQuad4::side_nodes_map[i][n]);
 
  288                             std::vector<dof_id_type> & conn)
 const 
  314       libmesh_error_msg(
"Unsupported IO package " << iop);
 
  321 #endif // ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 
  
static bool on_reference_element(const Point &p, const ElemType t, const Real eps=TOLERANCE)
 
virtual bool contains_point(const Point &p, Real tol=TOLERANCE) const override
 
virtual unsigned int n_sides() const override final
 
virtual bool is_face(const unsigned int i) const override
 
virtual ElemType type() const override
 
IOPackage
libMesh interfaces with several different software packages for the purposes of creating,...
 
The libMesh namespace provides an interface to certain functionality in the library.
 
virtual unsigned int n_sub_elem() const override
 
IterBase * end
Also have a polymorphic pointer to the end object, this prevents iterating past the end.
 
static const int num_sides
 
virtual std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
 
const Point & point(const unsigned int i) const
 
static const float _embedding_matrix[num_children][num_nodes][num_nodes]
Matrix that computes new nodal locations/solution values from current nodes/solution.
 
virtual Point origin() const override final
 
static const int num_nodes
Geometric constants for InfQuad4.
 
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 Order default_order() const override
 
virtual bool is_vertex(const unsigned int i) const override
 
virtual bool is_edge(const unsigned int i) const override
 
A Point defines a location in LIBMESH_DIM dimensional Real space.
 
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
 
virtual void connectivity(const unsigned int sf, const IOPackage iop, std::vector< dof_id_type > &conn) const override
 
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i, bool proxy=true) override
 
class FEType hides (possibly multiple) FEFamily and approximation orders, thereby enabling specialize...
 
virtual unsigned short dim() const override final
 
subdomain_id_type subdomain_id() const
 
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
This maps the  node of the  side to element node numbers.
 
dof_id_type node_id(const unsigned int i) const
 
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
 
const Node * node_ptr(const unsigned int i) const
 
static const int num_children
 
static const int nodes_per_side