https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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}
void loadHelper(std::istream &stream, P &data, void *context)
const double v

◆ 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)