45 std::vector<std::filesystem::path>
restart;
80 virtual std::string
filename()
override;
108 virtual void output()
override;
Checkpoint(const InputParameters ¶meters)
Class constructor.
A structure for storing the various output files associated with checkpoint output.
bool supportsMaterialPropertyOutput() const override
A virtual function that stores whether output type supports material output.
CheckpointType
Enumerated type for determining what type of checkpoint this is.
bool operator==(const CheckpointFileNames &rhs) const
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.
void validateExecuteOn() const
Determines if the requested values of execute_on are valid for checkpoints.
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::stringstream checkpointInfo() const
Gathers and records information used later for console output.
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.