]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed value instead of reference. 422/head
authorLuca Heltai <luca.heltai@sissa.it>
Mon, 12 Jan 2015 14:02:48 +0000 (15:02 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Mon, 12 Jan 2015 14:02:48 +0000 (15:02 +0100)
include/deal.II/grid/tria.h
source/grid/tria.cc

index db4e1ed16481adf526f8e9dd3f191b2b22baf7d1..54c013541949ab21639b0a00c3fe37c936c18ac8 100644 (file)
@@ -1628,26 +1628,24 @@ public:
   void set_manifold (const types::manifold_id number);
 
   /**
-   * Set the manifold_id of all of cells and faces to the given
-   * argument.
+   * Set the manifold_id of all cells and faces to the given argument.
    *
    * @ingroup manifold
    *
    * @see
    * @ref GlossManifoldIndicator "Glossary entry on manifold indicators"
    */
-  void set_all_manifold_ids (const types::manifold_id &number);
+  void set_all_manifold_ids (const types::manifold_id number);
 
   /**
-   * Set the manifold_id of all of boundary faces to the given
-   * argument.
+   * Set the manifold_id of all boundary faces to the given argument.
    *
    * @ingroup manifold
    *
    * @see
    * @ref GlossManifoldIndicator "Glossary entry on manifold indicators"
    */
-  void set_all_manifold_ids_on_boundary (const types::manifold_id &number);
+  void set_all_manifold_ids_on_boundary (const types::manifold_id number);
 
 
   /**
index 785a5408b708bc0d3029a798a911b6c7d91a263a..f4b9f7ea877b38fa7dc558b68d79ae3d964197c4 100644 (file)
@@ -8772,7 +8772,7 @@ Triangulation<dim, spacedim>::set_manifold (const types::manifold_id m_number)
 
 template <int dim, int spacedim>
 void
-Triangulation<dim, spacedim>::set_all_manifold_ids (const types::manifold_id &m_number)
+Triangulation<dim, spacedim>::set_all_manifold_ids (const types::manifold_id m_number)
 {
   typename Triangulation<dim,spacedim>::active_cell_iterator
   cell=this->begin_active(), endc=this->end();
@@ -8784,7 +8784,7 @@ Triangulation<dim, spacedim>::set_all_manifold_ids (const types::manifold_id &m_
 
 template <int dim, int spacedim>
 void
-Triangulation<dim, spacedim>::set_all_manifold_ids_on_boundary (const types::manifold_id &m_number)
+Triangulation<dim, spacedim>::set_all_manifold_ids_on_boundary (const types::manifold_id m_number)
 {
   typename Triangulation<dim,spacedim>::active_cell_iterator
   cell=this->begin_active(), endc=this->end();

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.