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

Go to the source code of this file.

Classes

class  Gnuplot
 Based class for adding basic filename support to output base class. More...
 

Functions

template<>
InputParameters validParams< Gnuplot > ()
 

Function Documentation

template<>
InputParameters validParams< Gnuplot > ( )

Definition at line 20 of file Gnuplot.C.

21 {
22  // Get the parameters from the parent object
24 
25  // Set an enum for the possible file extensions
26  MooseEnum ext("png ps gif", "png", true);
27  params.addParam<MooseEnum>("extension", ext, "GNU plot file extension");
28 
29  return params;
30 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
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< TableOutput >()
Definition: TableOutput.C:32