www.mooseframework.org
Tecplot.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "OversampleOutput.h"
14 
18 class Tecplot : public OversampleOutput
19 {
20 public:
22 
27 
28 protected:
33  virtual void output() override;
34 
39  virtual std::string filename() override;
40 
41 private:
43  bool _binary;
44 
47 
55  bool & _first_time;
56 };
Based class for providing re-positioning and oversampling support to output objects.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual void output() override
Overload the Output::output method, this is required for Tecplot output due to the method utilized fo...
Definition: Tecplot.C:64
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:55
bool _ascii_append
Flag for turning on appending to ASCII files.
Definition: Tecplot.h:46
Class for output data to the TecplotII format.
Definition: Tecplot.h:18
static InputParameters validParams()
Definition: Tecplot.C:21
const InputParameters & parameters() const
Get the parameters of the object.
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:43