www.mooseframework.org
Public Member Functions | Public Attributes | List of all members
Backup Class Reference

Helper class to hold streams for Backup and Restore operations. More...

#include <Backup.h>

Public Member Functions

 Backup ()
 

Public Attributes

std::stringstream _system_data
 Stream for holding binary blob data for the simulation. More...
 
std::vector< std::unique_ptr< std::stringstream > > _restartable_data
 Vector of streams for holding individual thread data for the simulation. More...
 

Detailed Description

Helper class to hold streams for Backup and Restore operations.

Definition at line 21 of file Backup.h.

Constructor & Destructor Documentation

◆ Backup()

Backup::Backup ( )

Definition at line 17 of file Backup.C.

17  : _restartable_data(libMesh::n_threads())
18 {
19  for (auto & data_ptr : _restartable_data)
20  data_ptr = libmesh_make_unique<std::stringstream>();
21 }
std::vector< std::unique_ptr< std::stringstream > > _restartable_data
Vector of streams for holding individual thread data for the simulation.
Definition: Backup.h:34

Member Data Documentation

◆ _restartable_data

std::vector<std::unique_ptr<std::stringstream> > Backup::_restartable_data

Vector of streams for holding individual thread data for the simulation.

Definition at line 34 of file Backup.h.

Referenced by Backup(), dataLoad(), and dataStore().

◆ _system_data

std::stringstream Backup::_system_data

Stream for holding binary blob data for the simulation.

Definition at line 29 of file Backup.h.

Referenced by dataLoad(), and dataStore().


The documentation for this class was generated from the following files: