26#include "libmesh/libmesh_common.h"
27#include "libmesh/fe.h"
28#include "libmesh/fe_interface.h"
29#include "libmesh/quadrature.h"
30#include "libmesh/elem.h"
31#include "libmesh/libmesh_logging.h"
32#include "libmesh/tensor_value.h"
40#define REINIT_ERROR(_dim, _type, _func) \
42 void FE<_dim,_type>::_func(const Elem *, \
45 const std::vector<Point> * const, \
46 const std::vector<Real> * const)
48#define SIDEMAP_ERROR(_dim, _type, _func) \
50 void FE<_dim,_type>::_func(const Elem *, \
53 const std::vector<Point> &, \
56#define FACE_EDGE_SHAPE_ERROR(_dim, _func) \
58 void FEMap::_func<_dim>(const std::vector<Point> &, \
61 libmesh_error_msg("ERROR: This method makes no sense for low-D elements!"); \
65#define LIBMESH_ERRORS_IN_LOW_D(_type) \
66REINIT_ERROR(0, _type, reinit) { libmesh_error_msg("ERROR: Cannot reinit 0D " #_type " elements!"); } \
67REINIT_ERROR(0, _type, edge_reinit) { libmesh_error_msg("ERROR: Cannot edge_reinit 0D " #_type " elements!"); } \
68SIDEMAP_ERROR(0, _type, side_map) { libmesh_error_msg("ERROR: Cannot side_map 0D " #_type " elements!"); } \
69SIDEMAP_ERROR(0, _type, edge_map) { libmesh_error_msg("ERROR: Cannot edge_map 0D " #_type " elements!"); } \
70REINIT_ERROR(1, _type, edge_reinit) { libmesh_error_msg("ERROR: Cannot edge_reinit 1D " #_type " elements!"); } \
71SIDEMAP_ERROR(1, _type, edge_map) { libmesh_error_msg("ERROR: Cannot edge_map 1D " #_type " elements!"); }
93#ifdef LIBMESH_ENABLE_HIGHER_ORDER_SHAPES
109template <
unsigned int Dim, FEFamily T>
111 const unsigned int s,
113 const std::vector<Point> *
const pts,
114 const std::vector<Real> *
const weights)
124 if (this->calculating_nothing())
126 this->calculations_started =
true;
133 this->_fe_map->add_calculations();
134 this->_fe_map->get_JxW();
135 this->_fe_map->get_xyz();
136 this->determine_calculations();
143 unsigned int side_p_level = elem->
p_level();
152 this->shapes_on_quadrature =
false;
155 this->_fe_map->template init_face_shape_functions<Dim>(*pts, side.get());
158 if (weights !=
nullptr)
160 this->_fe_map->compute_face_map (Dim, *weights, side.get());
164 std::vector<Real> dummy_weights (pts->size(), 1.);
165 this->_fe_map->compute_face_map (Dim, dummy_weights, side.get());
173 this->qrule->init(*side, side_p_level);
175 if (this->qrule->shapes_need_reinit())
176 this->shapes_on_quadrature =
false;
181 if ((this->get_type() != elem->
type()) ||
183 this->_elem != elem) ||
184 (side->type() != last_side) ||
185 (this->_elem_p_level != side_p_level) ||
186 this->shapes_need_reinit() ||
187 !this->shapes_on_quadrature)
191 this->_elem_type = elem->
type();
194 last_side = side->type();
197 this->_p_level = this->_add_p_level_in_reinit * side_p_level;
200 this->_fe_map->template init_face_shape_functions<Dim>(this->qrule->get_points(), side.get());
206 this->_fe_map->compute_face_map (Dim, this->qrule->get_weights(), side.get());
209 this->shapes_on_quadrature =
true;
213 const std::vector<Real> JxW_int(this->_fe_map->get_JxW());
216 bool shapes_on_quadrature_side = this->shapes_on_quadrature;
220 const std::vector<Point> * ref_qp;
224 ref_qp = &this->qrule->get_points();
226 std::vector<Point> qp;
227 this->side_map(elem, side.get(), s, *ref_qp, qp);
231 this->reinit (elem, &qp);
233 this->shapes_on_quadrature = shapes_on_quadrature_side;
235 this->_elem_p_level = side_p_level;
238 this->_fe_map->get_JxW() = JxW_int;
243template <
unsigned int Dim, FEFamily T>
245 const unsigned int e,
247 const std::vector<Point> *
const pts,
248 const std::vector<Real> *
const weights)
253 libmesh_assert_not_equal_to (Dim, 1);
258 this->_fe_map->add_calculations();
259 this->_fe_map->get_JxW();
260 this->_fe_map->get_xyz();
261 this->determine_calculations();
271 this->shapes_on_quadrature =
false;
274 this->_fe_map->template init_edge_shape_functions<Dim> (*pts, edge.get());
277 if (weights !=
nullptr)
279 this->_fe_map->compute_edge_map (Dim, *weights, edge.get());
283 std::vector<Real> dummy_weights (pts->size(), 1.);
284 this->_fe_map->compute_edge_map (Dim, dummy_weights, edge.get());
292 this->qrule->init(*edge, elem->
p_level());
294 if (this->qrule->shapes_need_reinit())
295 this->shapes_on_quadrature =
false;
298 if ((this->get_type() != elem->
type()) ||
300 this->_elem != elem) ||
301 (edge->type() != last_edge) ||
302 this->shapes_need_reinit() ||
303 !this->shapes_on_quadrature)
307 this->_elem_type = elem->
type();
310 last_edge = edge->type();
313 this->_fe_map->template init_edge_shape_functions<Dim> (this->qrule->get_points(), edge.get());
319 this->_fe_map->compute_edge_map (Dim, this->qrule->get_weights(), edge.get());
322 this->shapes_on_quadrature =
true;
326 const std::vector<Real> JxW_int(this->_fe_map->get_JxW());
330 const std::vector<Point> * ref_qp;
334 ref_qp = & this->qrule->get_points();
336 std::vector<Point> qp;
337 this->edge_map(elem, edge.get(), e, *ref_qp, qp);
341 this->reinit (elem, &qp);
344 this->_fe_map->get_JxW() = JxW_int;
347template <
unsigned int Dim, FEFamily T>
350 const unsigned int s,
351 const std::vector<Point> & reference_side_points,
352 std::vector<Point> & reference_points)
355 this->calculate_phi =
true;
356 this->determine_calculations();
358 unsigned int side_p_level = elem->
p_level();
362 if (side->
type() != last_side ||
364 this->_elem != elem) ||
365 side_p_level != this->_elem_p_level ||
366 !this->shapes_on_quadrature)
370 this->_elem_type = elem->
type();
371 this->_elem_p_level = side_p_level;
372 this->_p_level = this->_add_p_level_in_reinit * side_p_level;
375 last_side = side->
type();
378 this->_fe_map->template init_face_shape_functions<Dim>(reference_side_points, side);
383 const unsigned int n_points =
384 cast_int<unsigned int>(reference_side_points.size());
385 reference_points.resize(n_points);
386 for (
unsigned int i = 0; i < n_points; i++)
387 reference_points[i].
zero();
389 std::vector<Point> refspace_nodes;
390 this->get_refspace_nodes(elem->
type(), refspace_nodes);
392 const std::vector<std::vector<Real>> & psi_map = this->_fe_map->get_psi();
398 for (
unsigned int p=0; p<n_points; p++)
399 reference_points[p].add_scaled (side_node, psi_map[i][p]);
403template <
unsigned int Dim, FEFamily T>
406 const unsigned int e,
407 const std::vector<Point> & reference_edge_points,
408 std::vector<Point> & reference_points)
411 this->calculate_phi =
true;
412 this->determine_calculations();
414 unsigned int edge_p_level = elem->
p_level();
416 if (edge->
type() != last_edge ||
418 this->_elem != elem) ||
419 edge_p_level != this->_elem_p_level ||
420 !this->shapes_on_quadrature)
424 this->_elem_type = elem->
type();
425 this->_elem_p_level = edge_p_level;
426 this->_p_level = this->_add_p_level_in_reinit * edge_p_level;
429 last_edge = edge->
type();
432 this->_fe_map->template init_edge_shape_functions<Dim>(reference_edge_points, edge);
437 const unsigned int n_points =
438 cast_int<unsigned int>(reference_edge_points.size());
439 reference_points.resize(n_points);
440 for (
unsigned int i = 0; i < n_points; i++)
441 reference_points[i].
zero();
443 std::vector<Point> refspace_nodes;
444 this->get_refspace_nodes(elem->
type(), refspace_nodes);
446 const std::vector<std::vector<Real>> & psi_map = this->_fe_map->get_psi();
452 for (
unsigned int p=0; p<n_points; p++)
453 reference_points[p].add_scaled (edge_node, psi_map[i][p]);
458template<
unsigned int Dim>
463 LOG_SCOPE(
"init_face_shape_functions()",
"FEMap");
476 const unsigned int n_qp = cast_int<unsigned int>(qp.size());
479 const unsigned int n_mapping_shape_functions =
485 this->
psi_map.resize (n_mapping_shape_functions);
490 this->
dpsidxi_map.resize (n_mapping_shape_functions);
491#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
501#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
516#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
521 for (
unsigned int i=0; i<n_mapping_shape_functions; i++)
526 this->
psi_map[i].resize (n_qp);
531#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
540#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
552 for (
unsigned int p=0; p<n_qp; p++)
560#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
574#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
586template<
unsigned int Dim>
591 LOG_SCOPE(
"init_edge_shape_functions()",
"FEMap");
604 const unsigned int n_qp = cast_int<unsigned int>(qp.size());
607 const unsigned int n_mapping_shape_functions =
613 this->
psi_map.resize (n_mapping_shape_functions);
615 this->
dpsidxi_map.resize (n_mapping_shape_functions);
616#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
627#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
632 for (
unsigned int i=0; i<n_mapping_shape_functions; i++)
637 this->
psi_map[i].resize (n_qp);
640#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
647 for (
unsigned int p=0; p<n_qp; p++)
653#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
671 LOG_ONE_ENTITY_SCOPE(
"compute_face_map()",
"FEMap");
674 const unsigned int n_qp = cast_int<unsigned int>(qw.size());
681 const unsigned int n_mapping_shape_functions =
695 this->
xyz.resize(n_qp);
700 this->
JxW.resize(n_qp);
721 libmesh_assert_equal_to (side->
node_id(0),
731 libmesh_assert_equal_to (this->
psi_map.size(), 1);
734 for (
unsigned int p=0; p<n_qp; p++)
739 this->
xyz[p].add_scaled (side->
point(0), this->psi_map[0][p]);
744 this->
JxW[p] = 1.0*qw[p];
760 this->
xyz.resize(n_qp);
767 this->
JxW.resize(n_qp);
770#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
781 for (
unsigned int p=0; p<n_qp; p++)
787 this->
tangents[p].resize(LIBMESH_DIM-1);
790#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
797 for (
unsigned int i=0; i<n_mapping_shape_functions; i++)
801 for (
unsigned int p=0; p<n_qp; p++)
807#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
817 for (
unsigned int p=0; p<n_qp; p++)
827#elif LIBMESH_DIM == 3
850#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
864 libmesh_assert_not_equal_to (denominator, 0);
871 for (
unsigned int p=0; p<n_qp; p++)
875 libmesh_assert_greater (the_jac, 0.);
877 this->
JxW[p] = the_jac*qw[p];
893 this->
xyz.resize(n_qp);
900 this->
JxW.resize(n_qp);
902#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
914 for (
unsigned int p=0; p<n_qp; p++)
920 this->
tangents[p].resize(LIBMESH_DIM-1);
924#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
935 for (
unsigned int i=0; i<n_mapping_shape_functions; i++)
939 for (
unsigned int p=0; p<n_qp; p++)
948#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
962 for (
unsigned int p=0; p<n_qp; p++)
969#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
983 const Real G = this->dxyzdeta_map[p].norm_sq();
985 const Real numerator = E*N -2.*F*M + G*L;
986 const Real denominator = E*G - F*F;
987 libmesh_assert_not_equal_to (denominator, 0.);
995 for (
unsigned int p=0; p<n_qp; p++)
1005 const Real g21 = g12;
1012 const Real the_jac = std::sqrt(g11*g22 - g12*g21);
1014 libmesh_assert_greater (the_jac, 0.);
1016 this->
JxW[p] = the_jac*qw[p];
1026 libmesh_error_msg(
"Invalid dimension dim = " <<
dim);
1034 const std::vector<Real> & qw,
1048 libmesh_assert_equal_to (
dim, 3);
1050 LOG_ONE_ENTITY_SCOPE(
"compute_edge_map()",
"FEMap");
1056 const unsigned int n_qp = cast_int<unsigned int>(qw.size());
1060 this->
xyz.resize(n_qp);
1067 this->
JxW.resize(n_qp);
1069#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
1080 for (
unsigned int p=0; p<n_qp; p++)
1083 this->
xyz[p].zero();
1090#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
1101 for (
unsigned int i=0,
1102 psi_map_size=cast_int<unsigned int>(
psi_map.size());
1103 i != psi_map_size; i++)
1107 for (
unsigned int p=0; p<n_qp; p++)
1113#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
1123 for (
unsigned int p=0; p<n_qp; p++)
1133 libmesh_assert_greater (the_jac, 0.);
1135 this->
JxW[p] = the_jac*qw[p];
1141FACE_EDGE_SHAPE_ERROR(0,init_face_shape_functions)
1142template LIBMESH_EXPORT
void FEMap::init_face_shape_functions<1>(
const std::vector<Point> &,
const Elem *);
1143template LIBMESH_EXPORT
void FEMap::init_face_shape_functions<2>(
const std::vector<Point> &,
const Elem *);
1144template LIBMESH_EXPORT
void FEMap::init_face_shape_functions<3>(
const std::vector<Point> &,
const Elem *);
1146FACE_EDGE_SHAPE_ERROR(0,init_edge_shape_functions)
1147template LIBMESH_EXPORT
void FEMap::init_edge_shape_functions<1>(
const std::vector<Point> &,
const Elem *);
1148template LIBMESH_EXPORT
void FEMap::init_edge_shape_functions<2>(
const std::vector<Point> &,
const Elem *);
1149template LIBMESH_EXPORT
void FEMap::init_edge_shape_functions<3>(
const std::vector<Point> &,
const Elem *);
1153#define REINIT_AND_SIDE_MAPS(_type) \
1154template LIBMESH_EXPORT void FE<1,_type>::reinit(Elem const *, unsigned int, Real, const std::vector<Point> * const, const std::vector<Real> * const); \
1155template LIBMESH_EXPORT void FE<1,_type>::side_map(Elem const *, Elem const *, const unsigned int, const std::vector<Point> &, std::vector<Point> &); \
1156template LIBMESH_EXPORT void FE<2,_type>::reinit(Elem const *, unsigned int, Real, const std::vector<Point> * const, const std::vector<Real> * const); \
1157template LIBMESH_EXPORT void FE<2,_type>::side_map(Elem const *, Elem const *, const unsigned int, const std::vector<Point> &, std::vector<Point> &); \
1158template LIBMESH_EXPORT void FE<2,_type>::edge_map(Elem const *, Elem const *, const unsigned int, const std::vector<Point> &, std::vector<Point> &); \
1159template LIBMESH_EXPORT void FE<2,_type>::edge_reinit(Elem const *, unsigned int, Real, const std::vector<Point> * const, const std::vector<Real> * const); \
1160template LIBMESH_EXPORT void FE<3,_type>::reinit(Elem const *, unsigned int, Real, const std::vector<Point> * const, const std::vector<Real> * const); \
1161template LIBMESH_EXPORT void FE<3,_type>::side_map(Elem const *, Elem const *, const unsigned int, const std::vector<Point> &, std::vector<Point> &); \
1162template LIBMESH_EXPORT void FE<3,_type>::edge_map(Elem const *, Elem const *, const unsigned int, const std::vector<Point> &, std::vector<Point> &); \
1163template LIBMESH_EXPORT void FE<3,_type>::edge_reinit(Elem const *, unsigned int, Real, const std::vector<Point> * const, const std::vector<Real> * const)
1175REINIT_AND_SIDE_MAPS(
CLOUGH);
1179REINIT_AND_SIDE_MAPS(
SCALAR);
1180REINIT_AND_SIDE_MAPS(
XYZ);
1182#ifdef LIBMESH_ENABLE_HIGHER_ORDER_SHAPES
1184REINIT_AND_SIDE_MAPS(
SZABAB);
This is the base class from which all geometric element types are derived.
const Point & point(const unsigned int i) const
virtual unsigned int local_side_node(unsigned int side, unsigned int side_node) const =0
virtual Order default_order() const =0
virtual unsigned int local_edge_node(unsigned int edge, unsigned int edge_node) const =0
Similar to Elem::local_side_node(), but instead of a side id, takes an edge id and a node id on that ...
virtual bool runtime_topology() const
virtual std::unique_ptr< Elem > build_edge_ptr(const unsigned int i)=0
virtual ElemType type() const =0
const Elem * interior_parent() const
dof_id_type node_id(const unsigned int i) const
unsigned int p_level() const
const Elem * neighbor_ptr(unsigned int i) const
virtual std::unique_ptr< Elem > build_side_ptr(const unsigned int i)=0
Real(* shape_second_deriv_ptr)(const FEType fet, const Elem *elem, const unsigned int i, const unsigned int j, const Point &p, const bool add_p_level)
Typedef for pointer to a function that returns FE shape function second derivative values.
static shape_deriv_ptr shape_deriv_function(const unsigned int dim, const FEType &fe_t, const ElemType t)
Real(* shape_deriv_ptr)(const FEType fet, const Elem *elem, const unsigned int i, const unsigned int j, const Point &p, const bool add_p_level)
Typedef for pointer to a function that returns FE shape function derivative values.
static shape_second_deriv_ptr shape_second_deriv_function(const unsigned int dim, const FEType &fe_t, const ElemType t)
Real(* shape_ptr)(const FEType fe_t, const Elem *elem, const unsigned int i, const Point &p, const bool add_p_level)
Typedef for pointer to a function that returns FE shape function values.
static shape_ptr shape_function(const unsigned int dim, const FEType &fe_t, const ElemType t)
static unsigned int n_shape_functions(const unsigned int dim, const FEType &fe_t, const ElemType t)
virtual void compute_face_map(int dim, const std::vector< Real > &qw, const Elem *side)
Same as compute_map, but for a side.
Real dzdxi_map(const unsigned int p) const
Used in FEMap::compute_map(), which should be be usable in derived classes, and therefore protected.
Real dxdxi_map(const unsigned int p) const
Used in FEMap::compute_map(), which should be be usable in derived classes, and therefore protected.
std::vector< RealGradient > dxyzdeta_map
Vector of partial derivatives: d(x)/d(eta), d(y)/d(eta), d(z)/d(eta)
std::vector< Real > curvatures
The mean curvature (= one half the sum of the principal curvatures) on the boundary at the quadrature...
std::vector< std::vector< Real > > dpsidxi_map
Map for the derivative of the side functions, d(psi)/d(xi).
std::vector< Point > xyz
The spatial locations of the quadrature points.
static FEFamily map_fe_type(const Elem &elem)
std::vector< RealGradient > d2xyzdeta2_map
Vector of second partial derivatives in eta: d^2(x)/d(eta)^2.
std::vector< std::vector< Real > > d2psideta2_map
Map for the second derivatives (in eta) of the side shape functions.
bool calculate_d2xyz
Should we calculate mapping hessians?
static Point map_deriv(const unsigned int dim, const Elem *elem, const unsigned int j, const Point &reference_point)
void init_face_shape_functions(const std::vector< Point > &qp, const Elem *side)
Initializes the reference to physical element map for a side.
Real dzdeta_map(const unsigned int p) const
Used in FEMap::compute_map(), which should be be usable in derived classes, and therefore protected.
Real dydeta_map(const unsigned int p) const
Used in FEMap::compute_map(), which should be be usable in derived classes, and therefore protected.
Real dxdeta_map(const unsigned int p) const
Used in FEMap::compute_map(), which should be be usable in derived classes, and therefore protected.
bool calculate_xyz
Should we calculate physical point locations?
std::vector< RealGradient > d2xyzdxi2_map
Vector of second partial derivatives in xi: d^2(x)/d(xi)^2, d^2(y)/d(xi)^2, d^2(z)/d(xi)^2.
bool calculate_dxyz
Should we calculate mapping gradients?
std::vector< std::vector< Real > > psi_map
Map for the side shape functions, psi.
static Point inverse_map(const unsigned int dim, const Elem *elem, const Point &p, const Real tolerance=TOLERANCE, const bool secure=true, const bool extra_checks=true)
std::vector< RealGradient > dxyzdxi_map
Vector of partial derivatives: d(x)/d(xi), d(y)/d(xi), d(z)/d(xi)
std::vector< Real > JxW
Jacobian*Weight values at quadrature points.
std::vector< std::vector< Real > > d2psidxi2_map
Map for the second derivatives (in xi) of the side shape functions.
Real dydxi_map(const unsigned int p) const
Used in FEMap::compute_map(), which should be be usable in derived classes, and therefore protected.
std::vector< std::vector< Real > > d2psidxideta_map
Map for the second (cross) derivatives in xi, eta of the side shape functions.
std::vector< RealGradient > d2xyzdxideta_map
Vector of mixed second partial derivatives in xi-eta: d^2(x)/d(xi)d(eta) d^2(y)/d(xi)d(eta) d^2(z)/d(...
void init_edge_shape_functions(const std::vector< Point > &qp, const Elem *edge)
Same as before, but for an edge.
void compute_edge_map(int dim, const std::vector< Real > &qw, const Elem *side)
Same as before, but for an edge.
std::vector< Point > normals
Normal vectors on boundary at quadrature points.
std::vector< std::vector< Point > > tangents
Tangent vectors on boundary at quadrature points.
void determine_calculations()
Determine which values are to be calculated.
std::vector< std::vector< Real > > dpsideta_map
Map for the derivative of the side function, d(psi)/d(eta).
class FEType hides (possibly multiple) FEFamily and approximation orders, thereby enabling specialize...
virtual void edge_reinit(const Elem *elem, const unsigned int edge, const Real tolerance=TOLERANCE, const std::vector< Point > *const pts=nullptr, const std::vector< Real > *const weights=nullptr) override
Reinitializes all the physical element-dependent data based on the edge.
virtual void reinit(const Elem *elem, const std::vector< Point > *const pts=nullptr, const std::vector< Real > *const weights=nullptr) override
This is at the core of this class.
virtual void side_map(const Elem *elem, const Elem *side, const unsigned int s, const std::vector< Point > &reference_side_points, std::vector< Point > &reference_points) override
Computes the reference space quadrature points on the side of an element based on the side quadrature...
virtual void edge_map(const Elem *elem, const Elem *edge, const unsigned int e, const std::vector< Point > &reference_edge_points, std::vector< Point > &reference_points)
Computes the reference space quadrature points on the side of an element based on the edge quadrature...
A Point defines a location in LIBMESH_DIM dimensional Real space.
TypeVector< typename CompareTypes< T, T2 >::supertype > cross(const TypeVector< T2 > &v) const
LIBMESH_DEVICE_INLINE TypeVector< T > unit() const
LIBMESH_DEVICE_INLINE void add_scaled(const TypeVector< T2 > &, const T &)
Add a scaled value to this vector without creating a temporary.
The libMesh namespace provides an interface to certain functionality in the library.
auto index_range(const T &sizable)
Helper function that returns an IntRange<std::size_t> representing all the indices of the passed-in v...
LIBMESH_ERRORS_IN_LOW_D(CLOUGH)
REINIT_ERROR(1, RAVIART_THOMAS, reinit)
SIDEMAP_ERROR(1, NEDELEC_ONE, side_map)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real