Subclass of Solution History that stores the solutions and other important vectors in memory.
virtual void retrieve() override
Virtual function retrieve which we will be overriding to retrieve timesteps.
virtual void store() override
Virtual function store which we will be overriding to store timesteps.
virtual std::unique_ptr< SolutionHistory > clone() const override
Definition of the clone function needed for the setter function.
list_type::iterator stored_solutions_iterator
list_type stored_solutions
stored_solutions_iterator stored_sols
std::map< std::string, std::unique_ptr< NumericVector< Number > > > map_type
Typedef for Stored Solutions iterator, a list of pairs of the current system time,...
MemorySolutionHistory(System &system_)
Constructor, reference to system to be passed by user, set the stored_sols iterator to some initial v...
A SolutionHistory class that enables the storage and retrieval of timesteps and (in the future) adapt...
std::list< std::pair< Real, map_type > > list_type