From: Rene Gassmoeller Date: Fri, 13 Oct 2017 20:47:16 +0000 (-0600) Subject: Add dummy functions X-Git-Tag: v9.0.0-rc1~953^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d710b1593d720fbf8b7c3ff5476821395428c30;p=dealii.git Add dummy functions --- 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