From: Denis Davydov Date: Wed, 28 Feb 2018 15:39:37 +0000 (+0100) Subject: add dummy p::d::Tria<1>::load() and save() X-Git-Tag: v9.0.0-rc1~372^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffded85b88d9d225a5b381295cdf09dd8e234960;p=dealii.git add dummy p::d::Tria<1>::load() and save() --- 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()); + } + } }