]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add an instantiation that was previous missing in optimized mode.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 20 Sep 2013 23:00:53 +0000 (23:00 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 20 Sep 2013 23:00:53 +0000 (23:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@30877 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.h
deal.II/source/grid/grid_tools.inst.in

index 870ca7974c226ff48a39a786a810b698dd78a596..cf9bc2661df4ab698d8b484fcdc7814dedeaa74e 100644 (file)
@@ -63,8 +63,8 @@ inconvenience this causes.
   </li>
 
   <li>
-  New: parallel::distributed::Triangulation now supports periodic boundaries. 
-  DoFTools::make_periodicity_constraints and similar functions are now working 
+  New: parallel::distributed::Triangulation now supports periodic boundaries.
+  DoFTools::make_periodicity_constraints and similar functions are now working
   on parallel::distributed::Triangulation objects.
   <br>
   (Tobin Isaac, Craig Michoski, Daniel Arndt, 2013/09/06)
@@ -85,9 +85,16 @@ inconvenience this causes.
 <h3>Specific improvements</h3>
 
 <ol>
+  <li>
+  Changed: GridTools::have_same_coarse_mesh was only instantiated for
+  MGDoFHandler arguments in debug mode. This is now fixed.
+  <br>
+  (Timo Heister, 2013/09/20)
+  </li>
 
   <li>
-  Changed: find_active_cell_around_point now throws the exception ExcPointNotFound
+  Changed: GridTools::find_active_cell_around_point now throws the exception
+  GridTools::ExcPointNotFound
   if the point is outside the Triangulation. This exception can be caught.
   <br>
   (Timo Heister, 2013/09/18)
index 465931c953538800ef5f21bcdef15bdc655f4299..55d2ad39728511200426c56b285c04fe4019ce7b 100644 (file)
@@ -28,7 +28,7 @@ for (deal_II_dimension : DIMENSIONS)
 
 for (X : TRIANGULATION_AND_DOFHANDLERS; deal_II_dimension : DIMENSIONS ; deal_II_space_dimension : SPACE_DIMENSIONS)
 {
-  
+
 #if deal_II_dimension <= deal_II_space_dimension
   namespace GridTools \{
 
@@ -69,6 +69,23 @@ for (X : TRIANGULATION_AND_DOFHANDLERS; deal_II_dimension : DIMENSIONS ; deal_II
 }
 
 
+
+for (deal_II_dimension : DIMENSIONS ; deal_II_space_dimension : SPACE_DIMENSIONS)
+{
+
+#if deal_II_dimension <= deal_II_space_dimension
+  namespace GridTools \{
+  template
+    bool
+    have_same_coarse_mesh (const MGDoFHandler<deal_II_dimension,deal_II_space_dimension> &mesh_1,
+                          const MGDoFHandler<deal_II_dimension,deal_II_space_dimension> &mesh_2);
+
+  \}
+
+  #endif
+}
+
+
 for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
@@ -84,7 +101,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
       volume
       (const Triangulation<deal_II_dimension, deal_II_space_dimension> &,
        const Mapping<deal_II_dimension, deal_II_space_dimension> &);
-    
+
     template
       void delete_unused_vertices (std::vector<Point<deal_II_space_dimension> > &,
                                   std::vector<CellData<deal_II_dimension> > &,
@@ -119,7 +136,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     template
       void partition_triangulation (const unsigned int,
                               Triangulation<deal_II_dimension, deal_II_space_dimension> &);
-    
+
     template
       void partition_triangulation (const unsigned int,
                                    const SparsityPattern &,
@@ -132,9 +149,9 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
       (const hp::MappingCollection<deal_II_dimension, deal_II_space_dimension> &,
        const hp::DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
        const Point<deal_II_space_dimension> &);
-    
 
-    
+
+
     template
       void get_subdomain_association (const Triangulation<deal_II_dimension, deal_II_space_dimension>  &,
                                      std::vector<types::subdomain_id> &);
@@ -143,11 +160,11 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     unsigned int count_cells_with_subdomain_association(
       const Triangulation<deal_II_dimension, deal_II_space_dimension> &,
       const types::subdomain_id);
-    
+
     template
       double
       minimal_cell_diameter (const Triangulation<deal_II_dimension, deal_II_space_dimension> &triangulation);
-    
+
     template
       double
       maximal_cell_diameter (const Triangulation<deal_II_dimension, deal_II_space_dimension> &triangulation);
@@ -158,7 +175,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
        const Triangulation<deal_II_dimension, deal_II_space_dimension> &triangulation_1,
        const Triangulation<deal_II_dimension, deal_II_space_dimension> &triangulation_2,
        Triangulation<deal_II_dimension, deal_II_space_dimension>       &result);
-#if deal_II_dimension == deal_II_space_dimension  
+#if deal_II_dimension == deal_II_space_dimension
     template
     void
     laplace_transform (const std::map<unsigned int,Point<deal_II_dimension> > &new_points,
@@ -171,12 +188,12 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
        Triangulation<deal_II_dimension,deal_II_space_dimension> &triangulation);
 
 #endif
-    
+
     \}
 #endif
 
 
-    
+
   }
 
 
@@ -317,7 +334,7 @@ for (deal_II_dimension : DIMENSIONS ; deal_II_space_dimension : SPACE_DIMENSIONS
           const unsigned int,
           std::vector<std_cxx1x::tuple<parallel::distributed::Triangulation<deal_II_dimension, deal_II_space_dimension>::cell_iterator,
                                        unsigned int,
-                                       parallel::distributed::Triangulation<deal_II_dimension, deal_II_space_dimension>::cell_iterator, 
+                                       parallel::distributed::Triangulation<deal_II_dimension, deal_II_space_dimension>::cell_iterator,
                                        unsigned int> > &);
      \}
    #endif

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.