* Returns the number of mapping
* objects stored in this container.
*/
- unsigned int n_mappings () const;
+ unsigned int size () const;
/**
* Returns the mapping object which
* collection.
*/
const Mapping<dim> &
- get_mapping (const unsigned int index) const;
+ operator[] (const unsigned int index) const;
/**
* Determine an estimate for the
template <int dim>
inline
unsigned int
- MappingCollection<dim>::n_mappings () const
+ MappingCollection<dim>::size () const
{
return mappings.size();
}
const unsigned int active_fe_index) const
{
return new ::FEValues<dim> (
- this->mapping_collection.get_mapping (active_fe_index), fe,
+ this->mapping_collection[active_fe_index], fe,
this->q_collection[active_fe_index], this->update_flags);
}
const unsigned int active_fe_index) const
{
return new ::FEFaceValues<dim> (
- this->mapping_collection.get_mapping (active_fe_index), fe,
+ this->mapping_collection[active_fe_index], fe,
this->q_collection[active_fe_index], this->update_flags);
}
const unsigned int active_fe_index) const
{
return new ::FESubfaceValues<dim> (
- this->mapping_collection.get_mapping (active_fe_index), fe,
+ this->mapping_collection[active_fe_index], fe,
this->q_collection[active_fe_index], this->update_flags);
}
}