dune-grid 2.10
Loading...
Searching...
No Matches
Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > > Struct Template Reference

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

Inheritance diagram for Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >:
Inheritance graph

Public Types

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

Static Public Member Functions

template<class Output>
static void backup (const Grid &grid, const Output &filename_or_stream)
 Backup the grid to file or stream.
template<class Input>
static Gridrestore (const Input &filename_or_stream)
 Restore the grid from file or 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()

template<class HostGrid, class CoordFunction, class Allocator>
template<class Output>
void Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >::backup ( const Grid & grid,
const Output & filename_or_stream )
inlinestatic

Backup the grid to file or stream.

◆ restore()

template<class HostGrid, class CoordFunction, class Allocator>
template<class Input>
Grid * Dune::BackupRestoreFacility< GeometryGrid< HostGrid, CoordFunction, Allocator > >::restore ( const Input & filename_or_stream)
inlinestatic

Restore the grid from file or stream.


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