dune-grid 2.9.0
Public Types | Static Public Member Functions | List of all members
Dune::BackupRestoreFacility< AlbertaGrid< dim, dimworld > > Struct Template Reference

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

Public Types

typedef AlbertaGrid< dim, dimworld > Grid
 

Static Public Member Functions

static void backup (const Grid &grid, const std::string &filename)
 
More...
 
static void backup (const Grid &grid, std::ostream &stream)
 
static Gridrestore (const std::string &filename)
 
static Gridrestore (std::istream &stream)
 

Member Typedef Documentation

◆ Grid

template<int dim, int dimworld>
typedef AlbertaGrid< dim, dimworld > Dune::BackupRestoreFacility< AlbertaGrid< dim, dimworld > >::Grid

Member Function Documentation

◆ backup() [1/2]

template<int dim, int dimworld>
static void Dune::BackupRestoreFacility< AlbertaGrid< dim, dimworld > >::backup ( const Grid grid,
const std::string &  filename 
)
inlinestatic



◆ backup() [2/2]

template<int dim, int dimworld>
static void Dune::BackupRestoreFacility< AlbertaGrid< dim, dimworld > >::backup ( const Grid grid,
std::ostream &  stream 
)
inlinestatic

Note
This method is not available for AlbertGrid. Use try/catch to catch the NotImplemented exception and fall back to the other backup method.

◆ restore() [1/2]

template<int dim, int dimworld>
static Grid * Dune::BackupRestoreFacility< AlbertaGrid< dim, dimworld > >::restore ( const std::string &  filename)
inlinestatic

◆ restore() [2/2]

template<int dim, int dimworld>
static Grid * Dune::BackupRestoreFacility< AlbertaGrid< dim, dimworld > >::restore ( std::istream &  stream)
inlinestatic

Note
This method is not available for AlbertGrid. Use try/catch to catch the NotImplemented exception and fall back to the other restore method.

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