1 #ifndef DUNE_GRID_COMMON_BACKUPRESTORE_HH
2 #define DUNE_GRID_COMMON_BACKUPRESTORE_HH
4 #include <dune/common/exceptions.hh>
37 template<
class Gr
id >
48 static void backup (
const Grid &grid,
const std::string &path,
const std::string &fileprefix )
50 DUNE_THROW( NotImplemented,
"backup / restore not implemented." );
62 static void backup (
const Grid &grid,
const std::ostream &stream )
64 DUNE_THROW( NotImplemented,
"backup / restore not implemented." );
76 static Grid *
restore (
const std::string &path,
const std::string &fileprefix )
78 DUNE_THROW( NotImplemented,
"backup / restore not implemented." );
91 DUNE_THROW( NotImplemented,
"backup / restore not implemented." );
97 #endif // #ifndef DUNE_GRID_COMMON_BACKUPRESTORE_HH