www.mooseframework.org
Classes | Functions
Checkpoint.h File Reference

Go to the source code of this file.

Classes

struct  CheckpointFileNames
 A structure for storing the various output files associated with checkpoint output. More...
 
class  Checkpoint
 

Functions

template<>
InputParameters validParams< Checkpoint > ()
 

Function Documentation

Definition at line 31 of file Checkpoint.C.

32 {
33  // Get the parameters from the base classes
35 
36  // Typical checkpoint options
37  params.addParam<unsigned int>("num_files", 2, "Number of the restart files to save");
38  params.addParam<std::string>(
39  "suffix",
40  "cp",
41  "This will be appended to the file_base to create the directory name for checkpoint files.");
42 
43  // Advanced settings
44  params.addParam<bool>("binary", true, "Toggle the output of binary files");
45  params.addParamNamesToGroup("binary", "Advanced");
46  return params;
47 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
InputParameters validParams< FileOutput >()
Definition: FileOutput.C:28
void addParamNamesToGroup(const std::string &space_delim_names, const std::string group_name)
This method takes a space delimited list of parameter names and adds them to the specified group name...