56 libmesh_assert_less (s, this->
n_sides());
66 unsigned int side_node)
const 69 libmesh_assert_less (side_node, 3);
78 libmesh_assert_less (i, this->
n_sides());
80 std::unique_ptr<Elem> face = libmesh_make_unique<Tri3>();
82 for (
unsigned n=0; n<face->n_nodes(); ++n)
93 this->simple_build_side_ptr<Tet4>(
side, i,
TRI3);
108 #ifdef LIBMESH_ENABLE_AMR 112 const unsigned int s,
113 const unsigned int checked_nodes[][3])
const 116 libmesh_assert_less (s, this->
n_sides());
120 for (
unsigned int i = 0; i != 3; ++i)
135 const unsigned int node_facing_side[4] = {3, 2, 0, 1};
136 const unsigned int n = node_facing_side[s];
141 Real embedding_sum = 0.;
142 for (
unsigned i=0; i<3; ++i)
145 return (
std::abs(embedding_sum) < 1.e-3 );
152 const unsigned int [][3])
const 154 libmesh_not_implemented();
158 #endif //LIBMESH_ENABLE_AMR 174 if (diag_01_23 < diag_02_13 || diag_03_12 < diag_02_13)
176 if (diag_01_23 < diag_03_12)
188 const unsigned int s)
const 190 libmesh_assert_less (e, this->
n_edges());
191 libmesh_assert_less (s, this->
n_sides());
209 std::pair<Real, Real> bounds;
238 bounds.second = 1.414;
242 libMesh::out <<
"Warning: Invalid quality measure chosen." << std::endl;
virtual bool is_edge_on_side(const unsigned int e, const unsigned int s) const override final
virtual Real quality(const ElemQuality q) const override
virtual unsigned int which_node_am_i(unsigned int side, unsigned int side_node) const override
virtual dof_id_type key() const
static const unsigned int side_nodes_map[num_sides][nodes_per_side]
virtual unsigned int n_sides() const override final
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const =0
virtual float embedding_matrix(const unsigned int child_num, const unsigned int child_node_num, const unsigned int parent_node_num) const =0
virtual unsigned int n_children() const override final
Diagonal _diagonal_selection
virtual std::pair< Real, Real > qual_bounds(const ElemQuality q) const override
virtual std::unique_ptr< Elem > side_ptr(const unsigned int i) override final
virtual unsigned int n_edges() const override final
static const Real _master_points[10][3]
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Node * node_ptr(const unsigned int i) const
virtual Real quality(const ElemQuality q) const
void select_diagonal(const Diagonal diag) const
void choose_diagonal() const
static const unsigned int edge_nodes_map[num_edges][nodes_per_edge]
static dof_id_type compute_key(dof_id_type n0)
OStreamProxy out(std::cout)
bool is_child_on_side_helper(const unsigned int c, const unsigned int s, const unsigned int checked_nodes[][3]) const
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