https://mooseframework.inl.gov
VTKOutput.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 VTKOutput : public SampledOutput
19 {
20 public:
22 
28 
29  bool supportsMaterialPropertyOutput() const override { return true; }
30 
31 protected:
35  virtual void output() override;
36 
40  virtual std::string filename() override;
41 
42 private:
44  bool _binary;
45 };
bool supportsMaterialPropertyOutput() const override
A virtual function that stores whether output type supports material output.
Definition: VTKOutput.h:29
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
Definition: VTKOutput.C:18
bool _binary
Flag for using binary compression.
Definition: VTKOutput.h:44
Based class for providing re-positioning and oversampling support to output objects.
Definition: SampledOutput.h:39
virtual std::string filename() override
Return the file name with the *.vtk extension.
Definition: VTKOutput.C:59
virtual void output() override
Perform the output of VTKOutput.
Definition: VTKOutput.C:43
const InputParameters & parameters() const
Get the parameters of the object.
VTKOutput(const InputParameters &parameters)
Class constructor.
Definition: VTKOutput.C:33