preCICE v3.1.1
Loading...
Searching...
No Matches
Private Member Functions | Private Attributes | List of all members
precice::io::ExportVTP Class Reference

#include <ExportVTP.hpp>

Inheritance diagram for precice::io::ExportVTP:
[legend]
Collaboration diagram for precice::io::ExportVTP:
[legend]

Private Member Functions

std::string getVTKFormat () const override
 
std::string getParallelExtension () const override
 
std::string getPieceExtension () const override
 
std::string getPieceAttributes (const mesh::Mesh &mesh) const override
 
void writeParallelCells (std::ostream &out) const override
 
void exportConnectivity (std::ostream &outFile, const mesh::Mesh &mesh) const override
 

Private Attributes

logging::Logger _log {"io::ExportVTP"}
 

Additional Inherited Members

- Public Member Functions inherited from precice::io::ExportXML
void doExport (const std::string &name, const std::string &location, const mesh::Mesh &mesh) override
 Does export. Has to be implemented in subclass.
 
- Public Member Functions inherited from precice::io::Export
virtual ~Export ()=default
 
 Export ()=default
 
 Export (const Export &)=delete
 
 Export (Export &&)=delete
 
Exportoperator= (const Export &)=delete
 
Exportoperator= (Export &&)=delete
 
- Static Public Member Functions inherited from precice::io::ExportXML
static void writeVertex (const Eigen::VectorXd &position, std::ostream &outFile)
 
static void writeLine (const mesh::Edge &edge, std::ostream &outFile)
 
static void writeTriangle (const mesh::Triangle &triangle, std::ostream &outFile)
 
static void writeTetrahedron (const mesh::Tetrahedron &tetra, std::ostream &outFile)
 

Detailed Description

Exporter for VTP and PVTP.

Writes meshes to VTP piece files. Parallel participants additionally write a PVTP file. The naming scheme allows to import these files into Paraview as time series.

Definition at line 27 of file ExportVTP.hpp.

Member Function Documentation

◆ exportConnectivity()

void precice::io::ExportVTP::exportConnectivity ( std::ostream & outFile,
const mesh::Mesh & mesh ) const
overrideprivatevirtual

Implements precice::io::ExportXML.

Definition at line 46 of file ExportVTP.cpp.

Here is the call graph for this function:

◆ getParallelExtension()

std::string precice::io::ExportVTP::getParallelExtension ( ) const
overrideprivatevirtual

Implements precice::io::ExportXML.

Definition at line 15 of file ExportVTP.cpp.

◆ getPieceAttributes()

std::string precice::io::ExportVTP::getPieceAttributes ( const mesh::Mesh & mesh) const
overrideprivatevirtual

Implements precice::io::ExportXML.

Definition at line 25 of file ExportVTP.cpp.

Here is the call graph for this function:

◆ getPieceExtension()

std::string precice::io::ExportVTP::getPieceExtension ( ) const
overrideprivatevirtual

Implements precice::io::ExportXML.

Definition at line 20 of file ExportVTP.cpp.

◆ getVTKFormat()

std::string precice::io::ExportVTP::getVTKFormat ( ) const
overrideprivatevirtual

Implements precice::io::ExportXML.

Definition at line 10 of file ExportVTP.cpp.

◆ writeParallelCells()

void precice::io::ExportVTP::writeParallelCells ( std::ostream & out) const
overrideprivatevirtual

Implements precice::io::ExportXML.

Definition at line 34 of file ExportVTP.cpp.

Member Data Documentation

◆ _log

logging::Logger precice::io::ExportVTP::_log {"io::ExportVTP"}
mutableprivate

Definition at line 29 of file ExportVTP.hpp.


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