From ffded85b88d9d225a5b381295cdf09dd8e234960 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Wed, 28 Feb 2018 16:39:37 +0100 Subject: [PATCH] add dummy p::d::Tria<1>::load() and save() --- include/deal.II/distributed/tria.h | 11 +++++++++++ source/distributed/tria.cc | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/include/deal.II/distributed/tria.h b/include/deal.II/distributed/tria.h index 8affbe831a..0682dbe48a 100644 --- a/include/deal.II/distributed/tria.h +++ b/include/deal.II/distributed/tria.h @@ -948,6 +948,17 @@ 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. + */ + 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. */ diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index 3803f87631..e343cce94e 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -3822,6 +3822,24 @@ namespace parallel Assert (false, ExcNotImplemented()); return std::vector(); } + + + + template + void + Triangulation<1,spacedim>::load(const char *, + const bool) + { + Assert (false, ExcNotImplemented()); + } + + template + void + Triangulation<1,spacedim>::save(const char *) const + { + Assert (false, ExcNotImplemented()); + } + } } -- 2.39.5