Peano
Loading...
Searching...
No Matches
convert::output::VTUWriter Class Reference

#include <VTUWriter.h>

Inheritance diagram for convert::output::VTUWriter:
Collaboration diagram for convert::output::VTUWriter:

Public Member Functions

 VTUWriter (const std::string &directory, const std::string &outputFileWithoutExtention)
virtual ~VTUWriter () override
virtual void writeFile (const convert::data::Variable &variable, const std::vector< convert::data::PatchData > &data) override
 Our writers write only one variable at a time even though the Peano file format can hold multiple variables/sets.
Public Member Functions inherited from convert::output::Writer
virtual ~Writer ()=default

Static Private Member Functions

static int xyzToIndex (int x, int y, int z, int verticesPerAxis)
 Helper function that we use extensively when we map a patch within one cell onto an unstructured grid fragment.

Private Attributes

const std::string & _outputFileWithoutExtension
const std::string & _directory

Static Private Attributes

static tarch::logging::Log _log
 Meta file write.

Detailed Description

Definition at line 35 of file VTUWriter.h.

Constructor & Destructor Documentation

◆ VTUWriter()

convert::output::VTUWriter::VTUWriter ( const std::string & directory,
const std::string & outputFileWithoutExtention )

◆ ~VTUWriter()

virtual convert::output::VTUWriter::~VTUWriter ( )
overridevirtual

Member Function Documentation

◆ writeFile()

virtual void convert::output::VTUWriter::writeFile ( const convert::data::Variable & variable,
const std::vector< convert::data::PatchData > & data )
overridevirtual

Our writers write only one variable at a time even though the Peano file format can hold multiple variables/sets.

Implements convert::output::Writer.

◆ xyzToIndex()

int convert::output::VTUWriter::xyzToIndex ( int x,
int y,
int z,
int verticesPerAxis )
staticprivate

Helper function that we use extensively when we map a patch within one cell onto an unstructured grid fragment.

Field Documentation

◆ _directory

const std::string& convert::output::VTUWriter::_directory
private

Definition at line 54 of file VTUWriter.h.

Referenced by exahype2.api.Project.Project::generate_Peano4_project().

◆ _log

tarch::logging::Log convert::output::VTUWriter::_log
staticprivate

Meta file write.

Definition at line 51 of file VTUWriter.h.

◆ _outputFileWithoutExtension

const std::string& convert::output::VTUWriter::_outputFileWithoutExtension
private

Definition at line 53 of file VTUWriter.h.


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