]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Implementation of copy constructor.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 23 Feb 2006 14:34:50 +0000 (14:34 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 23 Feb 2006 14:34:50 +0000 (14:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@12473 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/mapping_q.h

index 82df1bda2c9ee574f087d9bcc37f2bbf182cbe15..f6f4d01ba8526b1d15b193211bfbf4b682811863 100644 (file)
@@ -46,6 +46,16 @@ class MappingQ : public MappingQ1<dim>
                                      */
     MappingQ (const unsigned int p);
 
+                                    /**
+                                     * Copy constructor. Performs a
+                                     * deep copy, i.e. duplicates
+                                     * what #tensor_pols points to
+                                     * instead of simply copying the
+                                     * #tensor_pols pointer as done
+                                     * by a default copy constructor.
+                                     */
+    MappingQ (const MappingQ<dim> &mapping);
+
                                     /**
                                      * Destructor.
                                      */

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.