https://mooseframework.inl.gov
Tecplot.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 "SampledOutput.h"
14 
18 class Tecplot : public SampledOutput
19 {
20 public:
22 
27 
28  bool supportsMaterialPropertyOutput() const override { return true; }
29 
30 protected:
35  virtual void output() override;
36 
41  virtual std::string filename() override;
42 
43 private:
45  bool _binary;
46 
49 
57  bool & _first_time;
58 };
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
Based class for providing re-positioning and oversampling support to output objects.
Definition: SampledOutput.h:39
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:57
bool _ascii_append
Flag for turning on appending to ASCII files.
Definition: Tecplot.h:48
Class for output data to the TecplotII format.
Definition: Tecplot.h:18
bool supportsMaterialPropertyOutput() const override
A virtual function that stores whether output type supports material output.
Definition: Tecplot.h:28
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:45