Class storing multiple libMesh quadrature objects. We assume that quadrature rules are uniquely determined by the element type, quadrature type, and approximation order. There are several places in IBTK where we make this assumption, e.g., we will use data from two quadrature rules assumed to be equal (by this metric) to initialize FEMap objects.
More...
#include <ibtk/QuadratureCache.h>
This class essentially provides a wrapper around std::map to manage libMesh::QBase (and classes inheriting from it) objects.
◆ key_type
Key type. Completely describes (excepting p-refinement) a libMesh quadrature rule.
◆ value_type
Type of values stored by this class that are accessible through operator[].
◆ QuadratureCache()
| IBTK::QuadratureCache::QuadratureCache |
( |
unsigned int |
dim | ) |
|
|
inline |
Constructor. Sets up a cache of Quadrature objects.
- Parameters
-
| dim | The topological dimension of the relevant libMesh::Mesh: see libMesh::MeshBase::mesh_dimension() for more information. |
◆ operator[]()
Return a reference to a Quadrature object that matches the specified quadrature rule type and order.
- Parameters
-
| quad_key | a tuple of enums that completely describes a libMesh quadrature rule. |
◆ clear()
| void IBTK::QuadratureCache::clear |
( |
| ) |
|
|
inline |
◆ d_dim
| unsigned int IBTK::QuadratureCache::d_dim |
|
protected |
Topological dimension of the FE mesh.
◆ d_quadratures
| std::map<key_type, std::unique_ptr<libMesh::QBase> > IBTK::QuadratureCache::d_quadratures |
|
protected |
Managed libMesh::Quadrature objects.
The documentation for this class was generated from the following file: