|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
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) |
| write a hierarchic grid to disk | |
| static void | backup (const Grid &, std::ostream &) |
| write a hierarchic grid to disk | |
| static Grid * | restore (const std::string &filename) |
| read a hierarchic grid from disk | |
| static Grid * | restore (std::istream &) |
| read a hierarchic grid from disk | |
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>
|
inlinestatic |
write a hierarchic grid to disk
- Parameters
-
[in] grid grid to write [in] filename filename of the file to create
- Note
- This method might create multiple files based on the filename plus internal extension.
- This method is not available for AlbertGrid. Use try/catch to catch the NotImplemented exception and fall back to the other backup method.
◆ backup() [2/2]
template<int dim, int dimworld>
|
inlinestatic |
write a hierarchic grid to disk
- Parameters
-
[in] grid grid to write [in] filename filename of the file to create
- Note
- This method might create multiple files based on the filename plus internal extension.
◆ restore() [1/2]
template<int dim, int dimworld>
|
inlinestatic |
read a hierarchic grid from disk
- Parameters
-
[in] filename filename of the file to read
- Returns
- a pointer to the grid (allocated by new)
- Note
- This method might require multiple files based on the filename plus some extension.
◆ restore() [2/2]
template<int dim, int dimworld>
|
inlinestatic |
read a hierarchic grid from disk
- Parameters
-
[in] filename filename of the file to read
- Returns
- a pointer to the grid (allocated by new)
- Note
- This method might require multiple files based on the filename plus some extension.
- 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:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8