www.mooseframework.org
Functions
Exodus.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< Exodus > ()
 

Function Documentation

template<>
InputParameters validParams< Exodus > ( )

Definition at line 30 of file Exodus.C.

31 {
32  // Get the base class parameters
34  params += AdvancedOutput::enableOutputTypes("nodal elemental scalar postprocessor input");
35 
36  // Enable sequential file output (do not set default, the use_displace criteria relies on
37  // isParamValid, see Constructor)
38  params.addParam<bool>("sequence",
39  "Enable/disable sequential file output (enabled by default "
40  "when 'use_displace = true', otherwise defaults to false");
41 
42  // Select problem dimension for mesh output
43  params.addParam<bool>("use_problem_dimension",
44  "Use the problem dimension to the mesh output. "
45  "Set to false when outputting lower dimensional "
46  "meshes embedded in a higher dimensional space.");
47 
48  // Set the default padding to 3
49  params.set<unsigned int>("padding") = 3;
50 
51  // Add description for the Exodus class
52  params.addClassDescription("Object for output data in the Exodus II format");
53 
54  // Flag for overwriting at each timestep
55  params.addParam<bool>("overwrite",
56  false,
57  "When true the latest timestep will overwrite the "
58  "existing file, so only a single timestep exists.");
59 
60  // Set outputting of the input to be on by default
61  params.set<MultiMooseEnum>("execute_input_on") = "initial";
62 
63  // Return the InputParameters
64  return params;
65 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< OversampleOutput >()
static InputParameters enableOutputTypes(const std::string &names=std::string())
A method for enabling individual output type control.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...