https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18class Tecplot : public SampledOutput
19{
20public:
22
27
28 bool supportsMaterialPropertyOutput() const override { return true; }
29
30protected:
35 virtual void output() override;
36
41 virtual std::string filename() override;
42
43private:
45 bool _binary;
46
49
58};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Based class for providing re-positioning and oversampling support to output objects.
Class for output data to the TecplotII format.
Definition Tecplot.h:19
virtual std::string filename() override
Returns the current filename, this method handles adding the timestep suffix.
Definition Tecplot.C:87
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
static InputParameters validParams()
Definition Tecplot.C:21
bool _ascii_append
Flag for turning on appending to ASCII files.
Definition Tecplot.h:48
bool _binary
Flag for binary output.
Definition Tecplot.h:45
bool supportsMaterialPropertyOutput() const override
A virtual function that stores whether output type supports material output.
Definition Tecplot.h:28
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