template<int dim, int spacedim = dim>
class hp::MappingCollection< dim, spacedim >
This class implements a collection of mapping objects in the same way as the hp::FECollection implements a collection of finite element classes.
It implements the concepts stated in the hp Collections module described in the doxygen documentation.
Although it is recommended to supply an appropriate mapping for each finite element kind used in a hp-computation, the MappingCollection class implements a conversion constructor from a single mapping. Therefore it is possible to offer only a single mapping to the hp::FEValues class instead of a hp::MappingCollection. This is for the convenience of the user, as many simple geometries do not require different mappings along the boundary to achieve optimal convergence rates. Hence providing a single mapping object will usually suffice. See the hp::FEValues class for the rules which mapping will be selected for a given cell.
- Oliver Kayser-Herold, 2005
Definition at line 42 of file dof_tools.h.
template<int dim, int spacedim>
Adds a new mapping to the MappingCollection. Generally, you will want to use the same order for mappings as for the elements of the hp::FECollection object you use. However, the same considerations as discussed with the hp::QCollection::push_back() function also apply in the current context.
This class creates a copy of the given mapping object, i.e., you can do things like
push_back(MappingQ<dim>(3));. The internal copy is later destroyed by this object upon destruction of the entire collection.
Definition at line 75 of file mapping_collection.cc.