46 std::vector<std::filesystem::path>
restart;
75 virtual std::string
filename()
override;
91 virtual void output()
override;
Checkpoint(const InputParameters ¶meters)
Class constructor.
A structure for storing the various output files associated with checkpoint output.
CheckpointType
Enumerated type for determining what type of checkpoint this is.
Stores the stateful material properties computed by materials.
std::string checkpoint
Filename for CheckpointIO file (the mesh)
void updateCheckpointFiles(CheckpointFileNames file_struct)
const std::string _suffix
Directory suffix.
virtual bool shouldOutput() override
Determines if the checkpoint should write out to a file.
virtual std::string filename() override
Returns the base filename for the checkpoint files.
CheckpointType _checkpoint_type
Determines if this checkpoint is an autosave, and what kind of autosave it is.
virtual void output() override
Outputs a checkpoint file.
std::vector< std::filesystem::path > restart
Filenames for restartable data.
std::deque< CheckpointFileNames > _file_names
Vector of checkpoint filename structures.
const InputParameters & parameters() const
Get the parameters of the object.
An outputter with filename support.
std::string directory() const
Retrieve the checkpoint output directory.
static InputParameters validParams()
void setAutosaveFlag(CheckpointType flag)
Sets the autosave flag manually if the object has already been initialized.
unsigned int _num_files
Max no. of output files to store.