| libMesh
    | 
MemoryHistoryData provides a data structure to store memory history data. More...
#include <memory_history_data.h>
| Public Types | |
| typedef map_type::iterator | stored_data_iterator | 
| Public Member Functions | |
| MemoryHistoryData (DifferentiableSystem &system) | |
| ~MemoryHistoryData () | |
| virtual void | store_initial_solution () override | 
| virtual void | store_primal_solution (stored_data_iterator stored_datum) override | 
| virtual void | store_adjoint_solution () override | 
| virtual void | rewrite_stored_solution () override | 
| virtual void | retrieve_primal_solution () override | 
| virtual void | retrieve_adjoint_solution () override | 
| void | store_vectors () | 
| void | retrieve_vectors () | 
| unsigned int | get_time_stamp () | 
| Real | get_deltat_at () | 
| bool | get_previously_stored () | 
| void | set_time_stamp (unsigned int time_stamp_val) | 
| void | set_deltat_at (Real deltat_at_val) | 
| void | set_previously_stored (bool previously_stored_val) | 
| Protected Attributes | |
| unsigned int | time_stamp | 
| Real | deltat_at | 
| bool | previously_stored | 
| Private Types | |
| typedef std::map< std::string, std::unique_ptr< NumericVector< Number > > > | map_type | 
| typedef map_type::iterator | stored_vecs_iterator | 
| Private Attributes | |
| DifferentiableSystem & | _system | 
| map_type | stored_vecs | 
| stored_vecs_iterator | stored_vec | 
MemoryHistoryData provides a data structure to store memory history data.
This is a companion class to MemorySolutionHistory.
Definition at line 16 of file memory_history_data.h.
| 
 | private | 
Definition at line 41 of file memory_history_data.h.
| 
 | inherited | 
Definition at line 55 of file history_data.h.
| 
 | private | 
Definition at line 42 of file memory_history_data.h.
| 
 | inline | 
Definition at line 21 of file memory_history_data.h.
| 
 | inline | 
Definition at line 24 of file memory_history_data.h.
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
Definition at line 33 of file history_data.h.
References libMesh::HistoryData::time_stamp.
Referenced by store_primal_solution(), and libMesh::FileHistoryData::store_primal_solution().
| 
 | overridevirtual | 
Implements libMesh::HistoryData.
Definition at line 71 of file memory_history_data.C.
References retrieve_vectors().
| 
 | overridevirtual | 
Implements libMesh::HistoryData.
Definition at line 66 of file memory_history_data.C.
References retrieve_vectors().
| void libMesh::MemoryHistoryData::retrieve_vectors | ( | ) | 
Definition at line 101 of file memory_history_data.C.
References _system, libMesh::System::get_vector(), libMesh::libmesh_assert(), libMesh::HistoryData::previously_stored, libMesh::System::solution, and stored_vecs.
Referenced by retrieve_adjoint_solution(), and retrieve_primal_solution().
| 
 | overridevirtual | 
Implements libMesh::HistoryData.
Definition at line 58 of file memory_history_data.C.
References libMesh::libmesh_assert(), libMesh::HistoryData::previously_stored, and store_vectors().
| 
 | inlineinherited | 
Definition at line 46 of file history_data.h.
References libMesh::HistoryData::deltat_at.
Referenced by store_primal_solution(), and libMesh::FileHistoryData::store_primal_solution().
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | overridevirtual | 
Implements libMesh::HistoryData.
Definition at line 53 of file memory_history_data.C.
| 
 | overridevirtual | 
Implements libMesh::HistoryData.
Definition at line 22 of file memory_history_data.C.
References libMesh::HistoryData::deltat_at, libMesh::libmesh_assert(), libMesh::HistoryData::previously_stored, store_vectors(), and libMesh::HistoryData::time_stamp.
| 
 | overridevirtual | 
Implements libMesh::HistoryData.
Definition at line 36 of file memory_history_data.C.
References _system, libMesh::HistoryData::deltat_at, libMesh::HistoryData::get_time_stamp(), libMesh::HistoryData::previously_stored, libMesh::HistoryData::set_deltat_at(), store_vectors(), libMesh::DifferentiableSystem::time_solver, and libMesh::HistoryData::time_stamp.
| void libMesh::MemoryHistoryData::store_vectors | ( | ) | 
Definition at line 76 of file memory_history_data.C.
References _system, libMesh::System::project_solution_on_reinit(), libMesh::System::solution, stored_vecs, libMesh::System::vector_preservation(), libMesh::System::vectors_begin(), and libMesh::System::vectors_end().
Referenced by rewrite_stored_solution(), store_initial_solution(), and store_primal_solution().
| 
 | private | 
Definition at line 39 of file memory_history_data.h.
Referenced by retrieve_vectors(), store_primal_solution(), and store_vectors().
| 
 | protectedinherited | 
Definition at line 76 of file history_data.h.
Referenced by libMesh::HistoryData::get_deltat_at(), libMesh::HistoryData::set_deltat_at(), store_initial_solution(), libMesh::FileHistoryData::store_initial_solution(), store_primal_solution(), and libMesh::FileHistoryData::store_primal_solution().
| 
 | protectedinherited | 
Definition at line 79 of file history_data.h.
Referenced by libMesh::HistoryData::get_previously_stored(), retrieve_vectors(), rewrite_stored_solution(), libMesh::FileHistoryData::rewrite_stored_solution(), libMesh::HistoryData::set_previously_stored(), store_initial_solution(), libMesh::FileHistoryData::store_initial_solution(), store_primal_solution(), and libMesh::FileHistoryData::store_primal_solution().
| 
 | private | 
Definition at line 47 of file memory_history_data.h.
| 
 | private | 
Definition at line 46 of file memory_history_data.h.
Referenced by retrieve_vectors(), and store_vectors().
| 
 | protectedinherited | 
Definition at line 73 of file history_data.h.
Referenced by libMesh::HistoryData::get_time_stamp(), libMesh::HistoryData::set_time_stamp(), libMesh::FileHistoryData::store_adjoint_solution(), store_initial_solution(), libMesh::FileHistoryData::store_initial_solution(), store_primal_solution(), and libMesh::FileHistoryData::store_primal_solution().
 1.8.14
 1.8.14