www.mooseframework.org
Gnuplot.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef GNUPLOT_H
16 #define GNUPLOT_H
17 
18 // MOOSE includes
19 #include "TableOutput.h"
20 
21 // Forward declarations
22 class Gnuplot;
23 
24 template <>
26 
32 class Gnuplot : public TableOutput
33 {
34 public:
44 
48  virtual void output(const ExecFlagType & type) override;
49 
54  virtual std::string filename() override;
55 
56 private:
58  std::string _extension;
59 };
60 
61 #endif /* GNUPLOT_H */
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Based class for adding basic filename support to output base class.
Definition: Gnuplot.h:32
InputParameters validParams< Gnuplot >()
Definition: Gnuplot.C:20
virtual std::string filename() override
The filename for the output file.
Definition: Gnuplot.C:38
virtual void output(const ExecFlagType &type) override
Output the table to a *.csv file.
Definition: Gnuplot.C:44
MatType type
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
Base class for scalar variables and postprocessors output objects.
Definition: TableOutput.h:39
ExecFlagType
Execution flags - when is the object executed/evaluated.
Definition: MooseTypes.h:90
std::string _extension
Desired file extension.
Definition: Gnuplot.h:58
Gnuplot(const InputParameters &parameters)
Class constructor.
Definition: Gnuplot.C:32