32 #ifdef LIBMESH_ENABLE_AMR 75 const unsigned int s)
const 77 libmesh_assert_less (s, 2);
83 const unsigned int libmesh_dbg_var(e))
const 85 libmesh_assert_equal_to (e, 0);
93 return (this->
point(2).relative_fuzzy_equals
108 std::vector<dof_id_type> & conn)
const 110 libmesh_assert_less_equal (sc, 1);
134 libmesh_error_msg(
"Invalid sc = " << sc);
169 libmesh_error_msg(
"Unsupported IO package " << iop);
175 std::pair<unsigned short int, unsigned short int>
178 return std::pair<unsigned short int, unsigned short int>(0,0);
190 const Real a =
A.norm_sq();
195 return 2. * std::sqrt(c);
197 const Real b = 2.*(
A*B);
201 libmesh_assert (1.-ba+ca>0.);
203 const Real s1 = std::sqrt(1. - ba + ca);
204 const Real s2 = std::sqrt(1. + ba + ca);
206 Real log_term = (1. - 0.5*ba + s1) / (-1. - 0.5*ba + s2);
209 return 0.5*std::sqrt(a)*((1.-0.5*ba)*s1 +
211 (ca - 0.25*ba*ba)*std::log(log_term)
224 for (
unsigned d=0; d<LIBMESH_DIM; ++d)
230 pmin(d) = center - hd;
231 pmax(d) = center + hd;
virtual std::pair< unsigned short int, unsigned short int > second_order_child_vertex(const unsigned int n) const override
virtual bool is_face(const unsigned int i) const override
virtual bool is_node_on_edge(const unsigned int n, const unsigned int e) const override
virtual BoundingBox loose_bounding_box() const override
virtual bool is_node_on_side(const unsigned int n, const unsigned int s) const override
virtual Real volume() const override
static const Real TOLERANCE
static const float _embedding_matrix[num_children][num_nodes][num_nodes]
long double max(long double a, double b)
static const int num_children
virtual Order default_order() const override
virtual unsigned int n_sub_elem() const override
virtual void connectivity(const unsigned int sc, const IOPackage iop, std::vector< dof_id_type > &conn) const override
virtual bool is_edge(const unsigned int i) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
bool libmesh_isnan(float a)
static PetscErrorCode Mat * A
static const int num_nodes
static dof_id_type compute_key(dof_id_type n0)
A geometric point in (x,y,z) space.
dof_id_type node_id(const unsigned int i) const
virtual dof_id_type key() const override
const Point & point(const unsigned int i) const
virtual bool has_affine_map() const override
virtual bool is_vertex(const unsigned int i) const override