5 #ifndef DUNE_GRID_COMMON_BACKUPRESTORE_HH 6 #define DUNE_GRID_COMMON_BACKUPRESTORE_HH 8 #include <dune/common/exceptions.hh> 41 template<
class Gr
id >
53 DUNE_THROW( NotImplemented,
"backup / restore not implemented." );
67 DUNE_THROW( NotImplemented,
"backup / restore not implemented." );
80 DUNE_THROW( NotImplemented,
"backup / restore not implemented." );
93 DUNE_THROW( NotImplemented,
"backup / restore not implemented." );
100 template<
class Gr
id >
107 #endif // #ifndef DUNE_GRID_COMMON_BACKUPRESTORE_HH Grid abstract base classThis class is the base class for all grid implementations. Although no virtual functions are used we call it abstract since its methods do not contain an implementation but forward to the methods of the derived class via the Barton-Nackman trick.
Definition: common/grid.hh:375
facility for writing and reading grids
Definition: common/backuprestore.hh:42
static Grid * restore(const std::string &)
read a hierarchic grid from disk
Definition: common/backuprestore.hh:78
Include standard header files.
Definition: agrid.hh:59
static Grid * restore(std::istream &)
read a hierarchic grid from a stream
Definition: common/backuprestore.hh:91
static void backup(const Grid &, const std::string &)
write a hierarchic grid to disk
Definition: common/backuprestore.hh:51
static void backup(const Grid &, std::ostream &)
write a hierarchic grid into a stream
Definition: common/backuprestore.hh:65