]> https://gitweb.dealii.org/ - dealii.git/commitdiff
class name in SmartPointer
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 28 Mar 2005 17:49:28 +0000 (17:49 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 28 Mar 2005 17:49:28 +0000 (17:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@10253 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/intergrid_map.h
deal.II/deal.II/source/grid/intergrid_map.cc

index f95fb5b40fb3935968788edf89cf7e33a92f6038..237422c9b1376b96b63d784bbb6e89eafe6598e0 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -146,6 +146,13 @@ class InterGridMap
                                      */
     typedef typename GridClass<dim>::cell_iterator cell_iterator;
 #endif
+                                    /**
+                                     * Constructor setting the class
+                                     * name arguments in the
+                                     * SmartPointer members.
+                                     */
+    InterGridMap();
+    
                                     /**
                                      * Create the mapping between the two
                                      * grids.
index e8175a282722098c016082b88eca3fd9d1934015..56181c37301f34ef97adaca540f8032646fbb547 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -52,6 +52,16 @@ get_n_levels (const Triangulation<dim> &grid)
 }
 
 
+template <template <int> class GridClass, int dim>
+InterGridMap<GridClass,dim>::InterGridMap ()
+               :
+               source_grid(0, typeid(*this).name()),
+               destination_grid(0, typeid(*this).name())
+{}
+
+
+
+
 template <template <int> class GridClass, int dim>
 void InterGridMap<GridClass,dim>::make_mapping (const GridClass<dim> &source_grid,
                                                const GridClass<dim> &destination_grid) 

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.