16 #ifndef dealii__q_collection_h 17 #define dealii__q_collection_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/subscriptor.h> 21 #include <deal.II/base/quadrature.h> 22 #include <deal.II/base/memory_consumption.h> 23 #include <deal.II/fe/fe.h> 26 #include <deal.II/base/std_cxx11/shared_ptr.h> 28 DEAL_II_NAMESPACE_OPEN
106 unsigned int size ()
const;
132 std::vector<std_cxx11::shared_ptr<const Quadrature<dim> > >
quadratures;
144 return quadratures.size();
154 Assert (quadratures.size() > 0,
155 ExcMessage (
"You can't call this function for an empty collection"));
158 for (
unsigned int i=0; i<quadratures.size(); ++i)
159 if (quadratures[i]->size() > m)
160 m = quadratures[i]->size();
172 Assert (index < quadratures.size (),
174 return *quadratures[index];
213 quadratures (q_collection.quadratures)
223 return (
sizeof(*
this) +
240 DEAL_II_NAMESPACE_CLOSE
std::size_t memory_consumption() const
static ::ExceptionBase & ExcIndexRange(int arg1, int arg2, int arg3)
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
std_cxx11::enable_if< std_cxx11::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)
static ::ExceptionBase & ExcNoQuadrature()
std::vector< std_cxx11::shared_ptr< const Quadrature< dim > > > quadratures
void push_back(const Quadrature< dim > &new_quadrature)