https://mooseframework.inl.gov
Gnuplot.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // MOOSE includes
13 #include "TableOutput.h"
14 
20 class Gnuplot : public TableOutput
21 {
22 public:
24 
34 
38  virtual void output() override;
39 
44  virtual std::string filename() override;
45 
46 private:
48  std::string _extension;
49 };
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:20
virtual std::string filename() override
The filename for the output file.
Definition: Gnuplot.C:35
virtual void output() override
Output the table to a *.csv file.
Definition: Gnuplot.C:41
static InputParameters validParams()
Definition: Gnuplot.C:16
Base class for scalar variables and postprocessors output objects.
Definition: TableOutput.h:28
const InputParameters & parameters() const
Get the parameters of the object.
std::string _extension
Desired file extension.
Definition: Gnuplot.h:48
Gnuplot(const InputParameters &parameters)
Class constructor.
Definition: Gnuplot.C:29