SPH
Public Member Functions | List of all members
VtkOutput Class Reference

XML-based output format used by Visualization ToolKit (VTK) More...

#include <Output.h>

Inheritance diagram for VtkOutput:
IOutput Polymorphic

Public Member Functions

 VtkOutput (const OutputFile &fileMask, const Flags< OutputQuantityFlag > flags)
 
virtual Expected< Pathdump (const Storage &storage, const Statistics &stats) override
 Saves data from particle storage into the file. More...
 
- Public Member Functions inherited from IOutput
 IOutput (const OutputFile &fileMask)
 Constructs output given the file name of the output. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Additional Inherited Members

- Protected Attributes inherited from IOutput
OutputFile paths
 

Detailed Description

XML-based output format used by Visualization ToolKit (VTK)

See https://www.vtk.org/VTK/img/file-formats.pdf

Definition at line 454 of file Output.h.

Constructor & Destructor Documentation

◆ VtkOutput()

VtkOutput::VtkOutput ( const OutputFile fileMask,
const Flags< OutputQuantityFlag flags 
)

Definition at line 1095 of file Output.cpp.

Member Function Documentation

◆ dump()

Expected< Path > VtkOutput::dump ( const Storage storage,
const Statistics stats 
)
overridevirtual

Saves data from particle storage into the file.

Returns the filename of the dump, generated from file mask given in constructor, or an error message in case writing the output file failed.

Implements IOutput.

Definition at line 1103 of file Output.cpp.


The documentation for this class was generated from the following files: