16#ifndef dealii_q_collection_h
17#define dealii_q_collection_h
76 template <
class... QTypes>
103 template <
int dim_in>
134 template <
int dim_in>
137 for (
unsigned int i = 0; i < other.
size(); ++i)
144 template <
class... QTypes>
152 const auto q_pointers = {
154 for (
const auto p : q_pointers)
159 const auto q_pointers = {
160 (
reinterpret_cast<const Quadrature<1> *
>(&quadrature_objects))...};
161 for (
const auto p : q_pointers)
177 ExcMessage(
"You can't call this function for an empty collection"));
179 unsigned int max = 0;
180 for (
unsigned int i = 0; i < this->size(); ++i)
181 max =
std::max(max, this->
operator[](i).size());
192 const unsigned int n_quadratures = this->size();
193 if (n_quadratures != q_collection.
size())
196 for (
unsigned int i = 0; i < n_quadratures; ++i)
197 if ((this->
operator[](i) == q_collection[i]) ==
false)
206 template <
int dim_in>
209 this->push_back(quadrature);
214 template <
int dim_in>
unsigned int size() const
bool operator==(const QCollection< dim > &q_collection) const
QCollection(const QTypes &...quadrature_objects)
unsigned int max_n_quadrature_points() const
void push_back(const Quadrature< dim_in > &new_quadrature)
QCollection(const QCollection< dim_in > &other)
QCollection(const Quadrature< dim_in > &quadrature)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define DeclException0(Exception0)
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
static ::ExceptionBase & ExcNoQuadrature()
static ::ExceptionBase & ExcMessage(std::string arg1)
::VectorizedArray< Number, width > max(const ::VectorizedArray< Number, width > &, const ::VectorizedArray< Number, width > &)