dune-grid  2.5.1
Public Types | Static Public Member Functions | List of all members
Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > > Struct Template Reference

#include <dune/grid/geometrygrid/backuprestore.hh>

Public Types

typedef GeometryGrid< HostGrid, CoordFunction, Allocator > Grid
 
typedef BackupRestoreFacility< HostGrid > HostBackupRestoreFacility
 

Static Public Member Functions

static void backup (const Grid &grid, const std::string &path, const std::string &fileprefix)
 
static void backup (const Grid &grid, const std::ostream &stream)
 
static Gridrestore (const std::string &path, const std::string &fileprefix)
 
static Gridrestore (const std::istream &stream)
 

Member Typedef Documentation

◆ Grid

template<class HostGrid , class CoordFunction , class Allocator >
typedef GeometryGrid< HostGrid, CoordFunction, Allocator > Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >::Grid

◆ HostBackupRestoreFacility

template<class HostGrid , class CoordFunction , class Allocator >
typedef BackupRestoreFacility< HostGrid > Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >::HostBackupRestoreFacility

Member Function Documentation

◆ backup() [1/2]

template<class HostGrid , class CoordFunction , class Allocator >
static void Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >::backup ( const Grid grid,
const std::string &  path,
const std::string &  fileprefix 
)
inlinestatic

◆ backup() [2/2]

template<class HostGrid , class CoordFunction , class Allocator >
static void Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >::backup ( const Grid grid,
const std::ostream &  stream 
)
inlinestatic

◆ restore() [1/2]

template<class HostGrid , class CoordFunction , class Allocator >
static Grid* Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >::restore ( const std::string &  path,
const std::string &  fileprefix 
)
inlinestatic

◆ restore() [2/2]

template<class HostGrid , class CoordFunction , class Allocator >
static Grid* Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >::restore ( const std::istream &  stream)
inlinestatic

The documentation for this struct was generated from the following file: