dune-alugrid 3.0.0
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > > Struct Template Reference

More...

#include <dune/alugrid/common/backuprestore.hh>

Public Types

typedef ALUGrid< dim, dimworld, elType, refineType, Comm > Grid
 

Static Public Member Functions

static std::string createFilename (const std::string &path, const std::string &fileprefix)
 
static void backup (const Grid &grid, const std::string &filename, const ::ALUGrid::MacroFileHeader::Format format=defaultFormat)
 

 
static void backup (const Grid &grid, std::ostream &stream, const ::ALUGrid::MacroFileHeader::Format format=defaultFormat)
 

 
static Gridrestore (const std::string &filename)
 
static Gridrestore (std::istream &stream)
 

Static Public Attributes

static const ::ALUGrid::MacroFileHeader::Format defaultFormat
 

Detailed Description

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm>
struct Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > >

Member Typedef Documentation

◆ Grid

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
typedef ALUGrid< dim, dimworld, elType, refineType, Comm > Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > >::Grid

Member Function Documentation

◆ backup() [1/2]

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
static void Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > >::backup ( const Grid grid,
const std::string &  filename,
const ::ALUGrid::MacroFileHeader::Format  format = defaultFormat 
)
inlinestatic



◆ backup() [2/2]

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
static void Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > >::backup ( const Grid grid,
std::ostream &  stream,
const ::ALUGrid::MacroFileHeader::Format  format = defaultFormat 
)
inlinestatic



◆ createFilename()

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
static std::string Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > >::createFilename ( const std::string &  path,
const std::string &  fileprefix 
)
inlinestatic

◆ restore() [1/2]

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
static Grid * Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > >::restore ( const std::string &  filename)
inlinestatic

◆ restore() [2/2]

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
static Grid * Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > >::restore ( std::istream &  stream)
inlinestatic

Member Data Documentation

◆ defaultFormat

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
const ::ALUGrid::MacroFileHeader::Format Dune::BackupRestoreFacility< ALUGrid< dim, dimworld, elType, refineType, Comm > >::defaultFormat
static
Initial value:
= ::ALUGrid::
MacroFileHeader::defaultFormat

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