21 #ifndef fiber_double_quadrature_descriptor_hpp
22 #define fiber_double_quadrature_descriptor_hpp
24 #include "element_pair_topology.hpp"
26 #include "../common/common.hpp"
28 #include <boost/tuple/tuple_comparison.hpp>
48 using boost::tuples::make_tuple;
59 bool operator!=(
const DoubleQuadratureDescriptor& other)
const {
60 return !operator==(other);
64 operator<< (std::ostream& dest,
const DoubleQuadratureDescriptor& obj)
66 dest << obj.topology <<
" " << obj.testOrder <<
" " << obj.trialOrder;
71 inline size_t tbb_hasher(
const DoubleQuadratureDescriptor& d)
73 const ElementPairTopology& t = d.topology;
74 return (t.testVertexCount - 3) + 2 *
75 ((t.trialVertexCount - 3) + 2 *
76 (t.testSharedVertex0 + 4 *
77 (t.trialSharedVertex0 + 4 *
78 (t.testSharedVertex1 + 4 *
79 (t.trialSharedVertex1 + 4 *
Configuration of a pair of elements.
Definition: element_pair_topology.hpp:35
ElementPairTopology topology
Element pair configuration.
Definition: double_quadrature_descriptor.hpp:39
Parameters of a quadrature rule used in the evaluation of integrals over pairs of elements...
Definition: double_quadrature_descriptor.hpp:36
int testOrder
Degree of accuracy of the quadrature rule used on the test element.
Definition: double_quadrature_descriptor.hpp:42
int trialOrder
Degree of accuracy of the quadrature rule used on the trial element.
Definition: double_quadrature_descriptor.hpp:45