]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add dummy p::d::Tria<1>::load() and save()
authorDenis Davydov <davydden@gmail.com>
Wed, 28 Feb 2018 15:39:37 +0000 (16:39 +0100)
committerDenis Davydov <davydden@gmail.com>
Thu, 1 Mar 2018 00:20:46 +0000 (01:20 +0100)
include/deal.II/distributed/tria.h
source/distributed/tria.cc

index 8affbe831a8dc8b53e8e669da510ea4d8e902cc2..0682dbe48a2491c17303e9cb5ae4054e65da507b 100644 (file)
@@ -948,6 +948,17 @@ namespace parallel
       void
       communicate_locally_moved_vertices (const std::vector<bool> &vertex_locally_moved);
 
+      /**
+       * This function is not implemented, but needs to be present for the compiler.
+       */
+      void load(const char *filename,
+                const bool autopartition = true);
+
+      /**
+       * This function is not implemented, but needs to be present for the compiler.
+       */
+      void save(const char *filename) const;
+
       /**
        * This function is not implemented, but needs to be present for the compiler.
        */
index 3803f876319d10c40c4e1fe87b387179e97035fa..e343cce94e69037b569d9cc86e5a5ce6b8d942f2 100644 (file)
@@ -3822,6 +3822,24 @@ namespace parallel
       Assert (false, ExcNotImplemented());
       return std::vector<bool>();
     }
+
+
+
+    template <int spacedim>
+    void
+    Triangulation<1,spacedim>::load(const char *,
+                                    const bool)
+    {
+      Assert (false, ExcNotImplemented());
+    }
+
+    template <int spacedim>
+    void
+    Triangulation<1,spacedim>::save(const char *) const
+    {
+      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.