libMesh
|
HistoryData subclass that provides a struct to store history data such as timestamps, mesh, primal and adjoint filenames and timestep sizes. More...
#include <file_history_data.h>
Public Types | |
typedef std::map< Real, std::unique_ptr< HistoryData > > | map_type |
typedef map_type::iterator | stored_data_iterator |
Public Member Functions | |
FileHistoryData (DifferentiableSystem &system) | |
~FileHistoryData () | |
std::string & | get_mesh_filename () |
std::string & | get_primal_filename () |
std::string & | get_adjoint_filename () |
void | set_mesh_filename (std::string &mesh_name) |
void | set_primal_filename (std::string &primal_sol_name) |
void | set_adjoint_filename (std::string &adjoint_sol_name) |
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 |
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 Attributes | |
DifferentiableSystem & | _system |
std::string | mesh_filename |
std::string | primal_filename |
std::string | adjoint_filename |
HistoryData subclass that provides a struct to store history data such as timestamps, mesh, primal and adjoint filenames and timestep sizes.
Definition at line 18 of file file_history_data.h.
|
inherited |
Definition at line 54 of file history_data.h.
|
inherited |
Definition at line 55 of file history_data.h.
|
inline |
Definition at line 22 of file file_history_data.h.
|
inline |
Definition at line 24 of file file_history_data.h.
|
inline |
Definition at line 33 of file file_history_data.h.
References adjoint_filename.
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inline |
Definition at line 30 of file file_history_data.h.
References primal_filename.
|
inlineinherited |
Definition at line 33 of file history_data.h.
References libMesh::HistoryData::time_stamp.
Referenced by libMesh::MemoryHistoryData::store_primal_solution(), and store_primal_solution().
|
overridevirtual |
Implements libMesh::HistoryData.
Definition at line 93 of file file_history_data.C.
References _system, adjoint_filename, libMesh::System::get_equation_systems(), libMesh::READ, libMesh::EquationSystems::read(), libMesh::EquationSystems::READ_ADDITIONAL_DATA, and libMesh::EquationSystems::READ_DATA.
|
overridevirtual |
Implements libMesh::HistoryData.
Definition at line 87 of file file_history_data.C.
References _system, libMesh::System::get_equation_systems(), primal_filename, libMesh::READ, libMesh::EquationSystems::read(), libMesh::EquationSystems::READ_ADDITIONAL_DATA, and libMesh::EquationSystems::READ_DATA.
|
overridevirtual |
Implements libMesh::HistoryData.
Definition at line 79 of file file_history_data.C.
References _system, libMesh::System::get_equation_systems(), libMesh::libmesh_assert(), libMesh::HistoryData::previously_stored, primal_filename, libMesh::WRITE, libMesh::EquationSystems::write(), libMesh::EquationSystems::WRITE_ADDITIONAL_DATA, and libMesh::EquationSystems::WRITE_DATA.
|
inline |
Definition at line 42 of file file_history_data.h.
References adjoint_filename.
|
inlineinherited |
Definition at line 46 of file history_data.h.
References libMesh::HistoryData::deltat_at.
Referenced by libMesh::MemoryHistoryData::store_primal_solution(), and store_primal_solution().
|
inline |
|
inlineinherited |
|
inline |
Definition at line 39 of file file_history_data.h.
References primal_filename.
|
inlineinherited |
|
overridevirtual |
Implements libMesh::HistoryData.
Definition at line 70 of file file_history_data.C.
References _system, adjoint_filename, libMesh::System::get_equation_systems(), libMesh::HistoryData::time_stamp, libMesh::WRITE, libMesh::EquationSystems::write(), libMesh::EquationSystems::WRITE_ADDITIONAL_DATA, and libMesh::EquationSystems::WRITE_DATA.
|
overridevirtual |
Implements libMesh::HistoryData.
Definition at line 26 of file file_history_data.C.
References _system, libMesh::HistoryData::deltat_at, libMesh::System::get_equation_systems(), libMesh::libmesh_assert(), libMesh::HistoryData::previously_stored, primal_filename, libMesh::HistoryData::time_stamp, libMesh::WRITE, libMesh::EquationSystems::write(), libMesh::EquationSystems::WRITE_ADDITIONAL_DATA, and libMesh::EquationSystems::WRITE_DATA.
|
overridevirtual |
Implements libMesh::HistoryData.
Definition at line 45 of file file_history_data.C.
References _system, libMesh::HistoryData::deltat_at, libMesh::System::get_equation_systems(), libMesh::HistoryData::get_time_stamp(), libMesh::HistoryData::previously_stored, primal_filename, libMesh::HistoryData::set_deltat_at(), libMesh::DifferentiableSystem::time_solver, libMesh::HistoryData::time_stamp, libMesh::WRITE, libMesh::EquationSystems::write(), libMesh::EquationSystems::WRITE_ADDITIONAL_DATA, and libMesh::EquationSystems::WRITE_DATA.
|
private |
Definition at line 56 of file file_history_data.h.
Referenced by retrieve_adjoint_solution(), retrieve_primal_solution(), rewrite_stored_solution(), store_adjoint_solution(), store_initial_solution(), and store_primal_solution().
|
private |
Definition at line 61 of file file_history_data.h.
Referenced by get_adjoint_filename(), retrieve_adjoint_solution(), set_adjoint_filename(), and store_adjoint_solution().
|
protectedinherited |
|
private |
Definition at line 59 of file file_history_data.h.
Referenced by get_mesh_filename(), and set_mesh_filename().
|
protectedinherited |
Definition at line 79 of file history_data.h.
Referenced by libMesh::HistoryData::get_previously_stored(), libMesh::MemoryHistoryData::retrieve_vectors(), libMesh::MemoryHistoryData::rewrite_stored_solution(), rewrite_stored_solution(), libMesh::HistoryData::set_previously_stored(), libMesh::MemoryHistoryData::store_initial_solution(), store_initial_solution(), libMesh::MemoryHistoryData::store_primal_solution(), and store_primal_solution().
|
private |
Definition at line 60 of file file_history_data.h.
Referenced by get_primal_filename(), retrieve_primal_solution(), rewrite_stored_solution(), set_primal_filename(), store_initial_solution(), and store_primal_solution().
|
protectedinherited |
Definition at line 73 of file history_data.h.
Referenced by libMesh::HistoryData::get_time_stamp(), libMesh::HistoryData::set_time_stamp(), store_adjoint_solution(), libMesh::MemoryHistoryData::store_initial_solution(), store_initial_solution(), libMesh::MemoryHistoryData::store_primal_solution(), and store_primal_solution().