13 #include "libmesh/petsc_vector.h" 14 #include "libmesh/petsc_matrix.h" 43 virtual void execute()
override;
const Snapshots & getSnapshots() const
Return the whole snapshot container.
void dataStore(std::ostream &stream, SnapshotContainerBase::Snapshots &v, void *context)
const NumericVector< Number > & getSnapshot(unsigned int local_i) const
Return one of the stored snapshot vectors.
void dataLoad(std::istream &stream, SnapshotContainerBase::Snapshots &v, void *context)
virtual void finalize() override
Snapshots & _accumulated_data
Dynamic container for snapshot vectors.
static InputParameters validParams()
Base class for storing and managing numerical data like solutions, residuals, and Jacobians...
Storage for the snapshots.
SnapshotContainerBase(const InputParameters ¶meters)
virtual void initialize() override
static const std::string v
virtual void initialSetup() override
virtual void execute() override
const InputParameters & parameters() const
const unsigned int _nonlinear_system_number
The nonlinear system's number whose solution shall be collected.
virtual std::unique_ptr< NumericVector< Number > > collectSnapshot()=0
Clone the current snapshot vector.