17 params.
addParam<NonlinearSystemName>(
18 "nonlinear_system_name",
20 "Option to select which nonlinear system's solution shall be stored.");
27 declareRestartableDataWithContext<
Snapshots>(
"accumulated_snapshots", (
void *)&comm())),
28 _nonlinear_system_number(
29 _fe_problem.nlSysNum(getParam<NonlinearSystemName>(
"nonlinear_system_name")))
44 ") solutions so we cannot find any with index (" + std::to_string(local_i) +
void dataLoad(std::istream &stream, SnapshotContainerBase::Snapshots &v, void *context)
const NumericVector< Number > & getSnapshot(unsigned int local_i) const
Return one of the stored snapshot vectors.
static InputParameters validParams()
void storeHelper(std::ostream &stream, P &data, void *context)
Snapshots & _accumulated_data
Dynamic container for snapshot vectors.
static InputParameters validParams()
Storage for the snapshots.
void dataStore(std::ostream &stream, SnapshotContainerBase::Snapshots &v, void *context)
SnapshotContainerBase(const InputParameters ¶meters)
static const std::string v
virtual void initialSetup() override
virtual void execute() override
class infix_ostream_iterator if void
void loadHelper(std::istream &stream, P &data, void *context)
T & addPointer(std::unique_ptr< T > &&ptr)
virtual std::unique_ptr< NumericVector< Number > > collectSnapshot()=0
Clone the current snapshot vector.