Go to the documentation of this file.
   19 #include "libmesh/side.h" 
   20 #include "libmesh/edge_edge2.h" 
   21 #include "libmesh/face_quad4.h" 
   22 #include "libmesh/enum_io_package.h" 
   23 #include "libmesh/enum_order.h" 
   47 #ifdef LIBMESH_ENABLE_AMR 
  113                             const unsigned int s)
 const 
  115   libmesh_assert_less (s, 
n_sides());
 
  121 std::vector<unsigned>
 
  124   libmesh_assert_less(s, 
n_sides());
 
  146   libmesh_assert_less (i, this->
n_sides());
 
  149     return libmesh_make_unique<Side<Edge2,Quad4>>(
this,i);
 
  153       std::unique_ptr<Elem> edge = libmesh_make_unique<Edge2>();
 
  157       for (
auto n : edge->node_index_range())
 
  158         edge->set_node(n) = this->
node_ptr(Quad4::side_nodes_map[i][n]);
 
  167                             const unsigned int i)
 
  169   libmesh_assert_less (i, this->
n_sides());
 
  171   if (!side.get() || side->type() != 
EDGE2)
 
  177       for (
auto n : side->node_index_range())
 
  178         side->set_node(n) = this->
node_ptr(Quad4::side_nodes_map[i][n]);
 
  186                          std::vector<dof_id_type> & conn)
 const 
  215       libmesh_error_msg(
"Unsupported IO package " << iop);
 
  234     a1 = x0/4 - x1/4 + x2/4 - x3/4,
 
  235     b1 = -x0/4 + x1/4 + x2/4 - x3/4,
 
  237     b2 = -x0/4 - x1/4 + x2/4 + x3/4;
 
  241     return 4. * b1.
cross(b2).norm();
 
  250   for (
unsigned int i=0; i<2; ++i)
 
  251     for (
unsigned int j=0; j<2; ++j)
 
  
virtual Real volume() const override
An optimized method for computing the area of a 4-node quad with straight sides, but not necessarily ...
 
virtual bool is_vertex(const unsigned int i) const override
 
virtual BoundingBox loose_bounding_box() const override
Builds a bounding box out of the nodal positions.
 
IOPackage
libMesh interfaces with several different software packages for the purposes of creating,...
 
Defines a Cartesian bounding box by the two corner extremum.
 
The libMesh namespace provides an interface to certain functionality in the library.
 
virtual Order default_order() const override
 
IterBase * end
Also have a polymorphic pointer to the end object, this prevents iterating past the end.
 
MetaPhysicL::DualNumber< T, D > sqrt(const MetaPhysicL::DualNumber< T, D > &in)
 
static const int nodes_per_side
 
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
 
const Point & point(const unsigned int i) const
 
T cross_norm(const TypeVector< T > &b, const TypeVector< T > &c)
Calls cross_norm_sq() and takes the square root of the result.
 
virtual unsigned int n_sub_elem() const override
 
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
This maps the  node of the  side to element node numbers.
 
virtual bool is_edge(const unsigned int i) const override
 
A Point defines a location in LIBMESH_DIM dimensional Real space.
 
static const int num_children
 
virtual BoundingBox loose_bounding_box() const
 
virtual bool is_face(const unsigned int i) const override
 
virtual void connectivity(const unsigned int sf, const IOPackage iop, std::vector< dof_id_type > &conn) const override
 
virtual std::vector< unsigned int > nodes_on_side(const unsigned int s) const override
 
virtual unsigned int n_sides() const override final
 
subdomain_id_type subdomain_id() const
 
TypeVector< typename CompareTypes< T, T2 >::supertype > cross(const TypeVector< T2 > &v) const
 
dof_id_type node_id(const unsigned int i) const
 
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
 
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i, bool proxy=true) override
 
static const int num_sides
 
static const int num_nodes
Geometric constants for Quad4.
 
const Node * node_ptr(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.
 
bool relative_fuzzy_equals(const TypeVector< T > &rhs, Real tol=TOLERANCE) const
 
virtual bool has_affine_map() const override