www.mooseframework.org
Tecplot.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 TECPLOT_H
16 #define TECPLOT_H
17 
18 // MOOSE includes
19 #include "OversampleOutput.h"
20 
21 // Forward declarations
22 class Tecplot;
23 
24 template <>
26 
30 class Tecplot : public OversampleOutput
31 {
32 public:
37 
38 protected:
43  virtual void output(const ExecFlagType & type) override;
44 
49  virtual std::string filename() override;
50 
51 private:
53  bool _binary;
54 
57 
65  bool & _first_time;
66 };
67 
68 #endif /* TECPLOT_H */
Based class for providing re-positioning and oversampling support to output objects.
InputParameters validParams< Tecplot >()
Definition: Tecplot.C:25
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
bool & _first_time
True if this is the first time the file has been written to, gets set to false after the first call t...
Definition: Tecplot.h:65
virtual void output(const ExecFlagType &type) override
Overload the Output::output method, this is required for Tecplot output due to the method utilized fo...
Definition: Tecplot.C:64
bool _ascii_append
Flag for turning on appending to ASCII files.
Definition: Tecplot.h:56
Class for output data to the TecplotII format.
Definition: Tecplot.h:30
MatType type
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
ExecFlagType
Execution flags - when is the object executed/evaluated.
Definition: MooseTypes.h:90
Tecplot(const InputParameters &parameters)
Class constructor.
Definition: Tecplot.C:47
virtual std::string filename() override
Returns the current filename, this method handles adding the timestep suffix.
Definition: Tecplot.C:87
bool _binary
Flag for binary output.
Definition: Tecplot.h:53