* Returns the number of quadrature
* pointers stored in this object.
*/
- unsigned int n_quadratures () const;
+ unsigned int size () const;
/**
* Returns a reference to the
* collection.
*/
const Quadrature<dim> &
- get_quadrature (const unsigned int index) const;
+ operator[] (const unsigned int index) const;
/**
* Adds a new quadrature rule to the
template <int dim>
inline
unsigned int
- QCollection<dim>::n_quadratures () const
+ QCollection<dim>::size () const
{
return quadratures.size();
}
{
return new ::FEValues<dim> (
this->mapping_collection.get_mapping (active_fe_index), fe,
- this->q_collection.get_quadrature (active_fe_index),
- this->update_flags);
+ this->q_collection[active_fe_index], this->update_flags);
}
{
return new ::FEFaceValues<dim> (
this->mapping_collection.get_mapping (active_fe_index), fe,
- this->q_collection.get_quadrature (active_fe_index),
- this->update_flags);
+ this->q_collection[active_fe_index], this->update_flags);
}
{
return new ::FESubfaceValues<dim> (
this->mapping_collection.get_mapping (active_fe_index), fe,
- this->q_collection.get_quadrature (active_fe_index),
- this->update_flags);
+ this->q_collection[active_fe_index], this->update_flags);
}
}
template <int dim>
inline
const Quadrature<dim> &
- QCollection<dim>::get_quadrature (const unsigned int index) const
+ QCollection<dim>::operator[] (const unsigned int index) const
{
// if we have only a single quadrature
// that was given during construction,