16 #ifndef dealii_q_collection_h 17 #define dealii_q_collection_h 71 template <
class... QTypes>
72 explicit QCollection(
const QTypes &... quadrature_objects);
156 template <
class... QTypes>
160 "Not all of the input arguments of this function " 161 "are derived from Quadrature<dim>!");
166 const auto q_pointers = {
168 for (
const auto p : q_pointers)
188 ExcMessage(
"You can't call this function for an empty collection"));
191 for (
unsigned int i = 0; i <
quadratures.size(); ++i)
214 const unsigned int n_quadratures =
size();
215 if (n_quadratures != q_collection.
size())
218 for (
unsigned int i = 0; i < n_quadratures; ++i)
std::size_t memory_consumption() const
#define AssertIndexRange(index, range)
std::vector< std::shared_ptr< const Quadrature< dim > > > quadratures
const Quadrature< dim > & operator[](const unsigned int index) const
static ::ExceptionBase & ExcMessage(std::string arg1)
unsigned int max_n_quadrature_points() const
#define Assert(cond, exc)
#define DeclException0(Exception0)
unsigned int size() const
#define DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_OPEN
static ::ExceptionBase & ExcNoQuadrature()
void push_back(const Quadrature< dim > &new_quadrature)
bool operator==(const QCollection< dim > &q_collection) const
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)