For storing and retrieving timestep data. More...
#include <solution_history.h>
Public Member Functions | |
SolutionHistory () | |
virtual | ~SolutionHistory () |
virtual void | store ()=0 |
virtual void | retrieve ()=0 |
virtual std::unique_ptr< SolutionHistory > | clone () const =0 |
void | set_overwrite_previously_stored (bool val) |
Protected Attributes | |
bool | overwrite_previously_stored |
For storing and retrieving timestep data.
A SolutionHistory class that enables the storage and retrieval of timesteps and (in the future) adaptive steps.
Definition at line 35 of file solution_history.h.
|
inline |
Constructor
Definition at line 42 of file solution_history.h.
|
inlinevirtual |
|
pure virtual |
Cloning function for a std::unique_ptr, pure virtual, used in the setter function in time_solver.C
Implemented in libMesh::MemorySolutionHistory, and libMesh::NoSolutionHistory.
Referenced by libMesh::TimeSolver::set_solution_history().
|
pure virtual |
Function to retrieve a solution, pure virtual
Implemented in libMesh::MemorySolutionHistory, and libMesh::NoSolutionHistory.
|
inline |
Turn on overwrite_previously_stored to overwrite any already-saved data encountered during subsequent store() calls
Definition at line 70 of file solution_history.h.
References overwrite_previously_stored.
|
pure virtual |
Function to store a solution, pure virtual
Implemented in libMesh::MemorySolutionHistory, and libMesh::NoSolutionHistory.
|
protected |
Definition at line 77 of file solution_history.h.
Referenced by set_overwrite_previously_stored(), and libMesh::MemorySolutionHistory::store().