]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also update the documentation of hp::MappingCollection::push_back(). 2863/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 25 Jul 2016 19:09:54 +0000 (14:09 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 25 Jul 2016 19:09:54 +0000 (14:09 -0500)
include/deal.II/hp/mapping_collection.h
include/deal.II/hp/q_collection.h

index 2c33579a840c0b7a53c9e9cea2caa396c38c6de6..1832da3da2f2552bc71f1c10aba27ab931acf7eb 100644 (file)
@@ -74,10 +74,16 @@ namespace hp
     MappingCollection (const MappingCollection<dim,spacedim> &mapping_collection);
 
     /**
-     * Adds a new mapping to the MappingCollection.  The mappings have to be
-     * added in the order of the active_fe_indices. Thus the reference to the
-     * mapping object for active_fe_index 0 has to be added first, followed by
-     * the mapping object for active_fe_index 1.
+     * 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 <tt>push_back(MappingQ<dim>(3));</tt>. The internal copy
+     * is later destroyed by this object upon destruction of the entire
+     * collection.
      */
     void push_back (const Mapping<dim,spacedim> &new_mapping);
 
index 42983b33f36c8a228e9077eaf0d28e6a306b8522..9698b348253f655048f29e7a25bad4bc2f5fa5e1 100644 (file)
@@ -80,6 +80,10 @@ namespace hp
      * hp::QCollection objects; they need not even be of the same size in this
      * case.
      *
+     * The same arguments about the order of elements of collections can, by
+     * the way, also be made about the elements of hp::MappingCollection
+     * objects.
+     *
      * This class creates a copy of the given quadrature object, i.e., you can
      * do things like <tt>push_back(QGauss<dim>(3));</tt>. The internal copy
      * is later destroyed by this object upon destruction of the entire

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.