|
preCICE v3.3.0
|
#include <ExportVTP.hpp>
Public Member Functions | |
| ExportVTP (std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size) | |
| Public Member Functions inherited from precice::io::ExportXML | |
| ExportXML (std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size) | |
| void | doExport (int index, double time) final override |
| Export the mesh and writes files. | |
| void | exportSeries () const final override |
| Public Member Functions inherited from precice::io::Export | |
| virtual | ~Export ()=default |
| Export (std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size) | |
| Export (const Export &)=delete | |
| Export (Export &&)=delete | |
| Export & | operator= (const Export &)=delete |
| Export & | operator= (Export &&)=delete |
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 Types inherited from precice::io::Export | |
| enum struct | ExportKind : bool { TimeWindows , Iterations } |
| 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) |
| Protected Member Functions inherited from precice::io::Export | |
| bool | isParallel () const |
| std::string | formatIndex (int index) const |
| bool | keepExport (int index) const |
| void | writeSeriesFile (std::string_view filename) const |
| void | recordExport (std::string filename, double time) |
| Protected Attributes inherited from precice::io::Export | |
| std::string | _participantName |
| std::string | _location |
| const mesh::Mesh *const | _mesh |
| ExportKind | _kind |
| int | _frequency |
| int | _rank |
| int | _size |
| std::vector< Record > | _records |
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 24 of file ExportVTP.hpp.
| precice::io::ExportVTP::ExportVTP | ( | std::string_view | participantName, |
| std::string_view | location, | ||
| const mesh::Mesh & | mesh, | ||
| ExportKind | kind, | ||
| int | frequency, | ||
| int | rank, | ||
| int | size ) |
|
overrideprivatevirtual |
Implements precice::io::ExportXML.
Definition at line 57 of file ExportVTP.cpp.
|
overrideprivatevirtual |
Implements precice::io::ExportXML.
Definition at line 26 of file ExportVTP.cpp.
|
overrideprivatevirtual |
Implements precice::io::ExportXML.
Definition at line 36 of file ExportVTP.cpp.
|
overrideprivatevirtual |
Implements precice::io::ExportXML.
Definition at line 31 of file ExportVTP.cpp.
|
overrideprivatevirtual |
Implements precice::io::ExportXML.
Definition at line 21 of file ExportVTP.cpp.
|
overrideprivatevirtual |
Implements precice::io::ExportXML.
Definition at line 45 of file ExportVTP.cpp.
|
mutableprivate |
Definition at line 36 of file ExportVTP.hpp.