|
METHOD
|
#include <saveData.h>


Public Member Functions | |
| virtual void | saveCons ()=0 |
| virtual void | savePrims ()=0 |
| virtual void | saveAux ()=0 |
| virtual void | saveDomain ()=0 |
| virtual void | saveConsts ()=0 |
| SaveData (Data *data, int test=0) | |
| virtual | ~SaveData () |
| virtual void | saveAll (bool timeSeries=false)=0 |
| virtual void | saveVar (string variable, int num=1)=0 |
Public Attributes | |
| Data * | d |
| int | Nouts |
| int | Ncount |
| int | test |
| char | dir [50] |
| char | app [50] |
Class used to save simulation data
Definition at line 23 of file saveData.h.
|
inline |
Constructor.
| *data | pointer to the Data class |
| test | integer flagging if we are in the 'Examples' directory or not, Only used for running the given examples, can ignore otherwise. |
Definition at line 64 of file saveData.h.
|
inlinevirtual |
Destructor.
Definition at line 73 of file saveData.h.
|
pure virtual |
Saves all cons, prims, aux and constant data.
| [in] | timeSeries | flags whether the saved data is final or transient |
Implemented in ParallelSaveData, SerialSaveDataHDF5, ParallelSaveDataHDF5, and SerialSaveData.
|
pure virtual |
Saves the auxiliary vector state.
Implemented in ParallelSaveData, SerialSaveDataHDF5, ParallelSaveDataHDF5, and SerialSaveData.
|
pure virtual |
Saves the conserved vector state.
Implemented in ParallelSaveData, SerialSaveDataHDF5, ParallelSaveDataHDF5, and SerialSaveData.
|
pure virtual |
Saves the constant data.
Implemented in ParallelSaveData, SerialSaveDataHDF5, ParallelSaveDataHDF5, and SerialSaveData.
|
pure virtual |
Saves the domain coordinates.
Implemented in ParallelSaveData, SerialSaveDataHDF5, ParallelSaveDataHDF5, and SerialSaveData.
|
pure virtual |
Saves the primitive vector state.
Implemented in ParallelSaveData, SerialSaveDataHDF5, ParallelSaveDataHDF5, and SerialSaveData.
|
pure virtual |
Saves user specified variable.
var| [in] | variable | Defines the variable the user wants to save. Should match a variable label |
| [in] | num | number of user-specified variables to save in total (required for consistent numbering of files) |
Implemented in ParallelSaveData, SerialSaveDataHDF5, ParallelSaveDataHDF5, and SerialSaveData.
| char SaveData::app[50] |
String appendix to add to end of file names.
Definition at line 50 of file saveData.h.
| Data* SaveData::d |
Pointer to Data class containing global simulation data.
Definition at line 27 of file saveData.h.
| char SaveData::dir[50] |
String path to the directory in which to write files.
Definition at line 50 of file saveData.h.
| int SaveData::Ncount |
Which user defined variable is this?
Definition at line 30 of file saveData.h.
| int SaveData::Nouts |
Number of output files.
Definition at line 30 of file saveData.h.
| int SaveData::test |
Flags if we are running one of the given examples.
Definition at line 30 of file saveData.h.