]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Another non-MPI fix 1485/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 31 Aug 2015 08:32:48 +0000 (10:32 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 31 Aug 2015 08:32:48 +0000 (10:32 +0200)
include/deal.II/distributed/shared_tria.h
source/distributed/shared_tria.cc

index 9d8a676a59219f96ac121b192d84e5078a90368d..33fcfc7c5aaa68f9792ef8a92e1533595b2c8292 100644 (file)
@@ -121,7 +121,7 @@ namespace parallel
      * library even if it is disabled.
      *
      * Since the constructor of this class is private, no such objects
-     * can actually be created if we don't have p4est available.
+     * can actually be created if MPI is not available.
      */
     template <int dim, int spacedim = dim>
     class Triangulation : public dealii::parallel::Triangulation<dim,spacedim>
@@ -131,13 +131,6 @@ namespace parallel
        * Constructor.
        */
       Triangulation ();
-    public:
-
-      /**
-       * Destructor.
-       */
-      virtual ~Triangulation ();
-
     };
   }
 
index 84b0a97130497c84a1e085cd061eb5121e04d9eb..02d4c9995128e93933d56537b1fbc1807d1390e1 100644 (file)
@@ -96,13 +96,8 @@ namespace parallel
   {
     template <int dim, int spacedim>
     Triangulation<dim,spacedim>::Triangulation ()
-    {
-      Assert (false, ExcNotImplemented());
-    }
-
-
-    template <int dim, int spacedim>
-    Triangulation<dim,spacedim>::~Triangulation ()
+      :
+      dealii::parallel::Triangulation<dim,spacedim>(MPI_COMM_SELF)
     {
       Assert (false, ExcNotImplemented());
     }

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.