#include <dune/grid/spgrid/backuprestore.hh>
◆ CollectiveCommunication
template<class ct , int dim, template< int > class Ref, class Comm >
◆ Grid
template<class ct , int dim, template< int > class Ref, class Comm >
◆ backup() [1/3]
template<class ct , int dim, template< int > class Ref, class Comm >
write a hierarchic grid to disk
- Parameters
-
[in] | grid | grid to write |
[in] | path | filename of the file to create |
◆ backup() [2/3]
template<class ct , int dim, template< int > class Ref, class Comm >
write a hierarchic grid to disk
- Parameters
-
[in] | grid | grid to write |
[in] | path | path to write the file to |
[in] | fileprefix | prefix of the file name |
◆ backup() [3/3]
template<class ct , int dim, template< int > class Ref, class Comm >
write a hierarchic grid into a stream
- Parameters
-
[in] | grid | grid to write |
[in] | stream | std::stream to write the grid to |
◆ restore() [1/3]
template<class ct , int dim, template< int > class Ref, class Comm >
read a hierarchic grid from disk
- Parameters
-
[in] | filename | name of the file to read |
[in] | comm | collective communication (optional) |
- Returns
- a pointer to the grid (allocated by new)
◆ restore() [2/3]
template<class ct , int dim, template< int > class Ref, class Comm >
read a hierarchic grid from disk
- Parameters
-
[in] | path | path to write the file to |
[in] | fileprefix | prefix of the file name |
[in] | comm | collective communication (optional) |
- Returns
- a pointer to the grid (allocated by new)
◆ restore() [3/3]
template<class ct , int dim, template< int > class Ref, class Comm >
read a hierarchic grid from a stream
- Parameters
-
[in] | stream | std::stream to read the grid from |
[in] | comm | collective communication (optional) |
The documentation for this struct was generated from the following file: