From 1d710b1593d720fbf8b7c3ff5476821395428c30 Mon Sep 17 00:00:00 2001 From: Rene Gassmoeller Date: Fri, 13 Oct 2017 14:47:16 -0600 Subject: [PATCH] Add dummy functions --- include/deal.II/distributed/tria.h | 18 ++++++++++++++++++ source/distributed/tria.cc | 25 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/include/deal.II/distributed/tria.h b/include/deal.II/distributed/tria.h index 499bb5bbfc..2c580fd6db 100644 --- a/include/deal.II/distributed/tria.h +++ b/include/deal.II/distributed/tria.h @@ -934,6 +934,24 @@ namespace parallel void communicate_locally_moved_vertices (const std::vector &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::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::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. diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index 3e45432cf0..77fbb88d62 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -3741,6 +3741,31 @@ namespace parallel } + + template + unsigned int + Triangulation<1,spacedim>::register_data_attach (const std::size_t /*size*/, + const std::function::cell_iterator &, + const typename dealii::Triangulation<1,spacedim>::CellStatus, + void *)> &/*pack_callback*/) + { + Assert (false, ExcNotImplemented()); + return 0; + } + + + + template + void + Triangulation<1,spacedim>::notify_ready_to_unpack (const unsigned int /*offset*/, + const std::function::cell_iterator &, + const typename dealii::Triangulation<1,spacedim>::CellStatus, + const void *)> &/*unpack_callback*/) + { + Assert (false, ExcNotImplemented()); + } + + template const std::vector & Triangulation<1,spacedim>::get_p4est_tree_to_coarse_cell_permutation() const -- 2.39.5