std::vector< std::unique_ptr< NumericVector< Number > > > dual_solution_copies
A vector of pointers to adjoint and old adjoint solutions at the last time step.
~FileSolutionHistory()
Destructor, defaulted out-of-line.
A SolutionHistory class that enables the storage and retrieval of timesteps and (in the future) adapt...
virtual void retrieve(bool is_adjoint_solve, Real time) override
Virtual function retrieve which we will be overriding to retrieve timesteps.
DifferentiableSystem & _system
FileSolutionHistory(DifferentiableSystem &system)
Constructor, reference to system to be passed by user, set the stored_sols iterator to some initial v...
virtual std::unique_ptr< SolutionHistory > clone() const override
Definition of the clone function needed for the setter function.
virtual void store(bool is_adjoint_solve, Real time) override
Virtual function store which we will be overriding to store timesteps.
std::vector< std::unique_ptr< NumericVector< Number > > > old_dual_solution_copies
Subclass of Solution History that stores the solutions and other important vectors onto disk...