]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add dummy functions 5241/head
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Fri, 13 Oct 2017 20:47:16 +0000 (14:47 -0600)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Fri, 13 Oct 2017 20:47:16 +0000 (14:47 -0600)
include/deal.II/distributed/tria.h
source/distributed/tria.cc

index 499bb5bbfcbdb997cf8c4609ff4825ffcf9a43ae..2c580fd6db4833fde437a2d5122b5b33c7af5b73 100644 (file)
@@ -934,6 +934,24 @@ 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.
+       */
+      unsigned int
+      register_data_attach (const std::size_t size,
+                            const std::function<void (const typename dealii::Triangulation<1,spacedim>::cell_iterator &,
+                                                      const typename dealii::Triangulation<1,spacedim>::CellStatus,
+                                                      void *)> &pack_callback);
+
+      /**
+       * This function is not implemented, but needs to be present for the compiler.
+       */
+      void
+      notify_ready_to_unpack (const unsigned int offset,
+                              const std::function<void (const typename dealii::Triangulation<1,spacedim>::cell_iterator &,
+                                                        const typename dealii::Triangulation<1,spacedim>::CellStatus,
+                                                        const void *)> &unpack_callback);
+
       /**
        * Dummy arrays. This class isn't usable but the compiler wants to see
        * these variables at a couple places anyway.
index 3e45432cf0872c3f0afb9b69cddc1fcb816d5941..77fbb88d6294673dab71823df0231db01d1be396 100644 (file)
@@ -3741,6 +3741,31 @@ namespace parallel
     }
 
 
+
+    template <int spacedim>
+    unsigned int
+    Triangulation<1,spacedim>::register_data_attach (const std::size_t /*size*/,
+                                                     const std::function<void (const typename dealii::Triangulation<1,spacedim>::cell_iterator &,
+                                                         const typename dealii::Triangulation<1,spacedim>::CellStatus,
+                                                         void *)> &/*pack_callback*/)
+    {
+      Assert (false, ExcNotImplemented());
+      return 0;
+    }
+
+
+
+    template <int spacedim>
+    void
+    Triangulation<1,spacedim>::notify_ready_to_unpack (const unsigned int /*offset*/,
+                                                       const std::function<void (const typename dealii::Triangulation<1,spacedim>::cell_iterator &,
+                                                           const typename dealii::Triangulation<1,spacedim>::CellStatus,
+                                                           const void *)> &/*unpack_callback*/)
+    {
+      Assert (false, ExcNotImplemented());
+    }
+
+
     template <int spacedim>
     const std::vector<types::global_dof_index> &
     Triangulation<1,spacedim>::get_p4est_tree_to_coarse_cell_permutation() const

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.