https://mooseframework.inl.gov
Classes | Functions
SnapshotContainerBase.h File Reference

Go to the source code of this file.

Classes

class  SnapshotContainerBase
 Base class for storing and managing numerical data like solutions, residuals, and Jacobians. More...
 
class  SnapshotContainerBase::Snapshots
 Storage for the snapshots. More...
 

Functions

void dataStore (std::ostream &stream, SnapshotContainerBase::Snapshots &v, void *context)
 
void dataLoad (std::istream &stream, SnapshotContainerBase::Snapshots &v, void *context)
 

Function Documentation

◆ dataLoad()

void dataLoad ( std::istream &  stream,
SnapshotContainerBase::Snapshots v,
void context 
)

Definition at line 63 of file SnapshotContainerBase.C.

64 {
65  loadHelper(stream, static_cast<UniqueStorage<NumericVector<Number>> &>(v), context);
66 }
static const std::string v
Definition: NS.h:84
void loadHelper(std::istream &stream, P &data, void *context)

◆ dataStore()

void dataStore ( std::ostream &  stream,
SnapshotContainerBase::Snapshots v,
void context 
)

Definition at line 57 of file SnapshotContainerBase.C.

58 {
59  storeHelper(stream, static_cast<UniqueStorage<NumericVector<Number>> &>(v), context);
60 }
void storeHelper(std::ostream &stream, P &data, void *context)
static const std::string v
Definition: NS.h:84