37 const Eigen::VectorXd &position,
virtual std::string getPieceExtension() const =0
virtual std::string getPieceAttributes(const mesh::Mesh &mesh) const =0
void writeParallelData(std::ostream &out) const
std::string parallelPieceFilenameFor(int index, int rank) const
static void writeLine(const mesh::Edge &edge, std::ostream &outFile)
virtual std::string getVTKFormat() const =0
void exportData(std::ostream &outFile, const mesh::Mesh &mesh) const
virtual void exportConnectivity(std::ostream &outFile, const mesh::Mesh &mesh) const =0
void exportPoints(std::ostream &outFile, const mesh::Mesh &mesh) const
void writeParallelFile(int index, double time)
Writes the primary file (called only by the primary rank)
std::string serialPieceFilename(int index) const
void exportSeries() const final override
static void writeTriangle(const mesh::Triangle &triangle, std::ostream &outFile)
std::vector< std::string > _scalarDataNames
List of names of all scalar data on mesh.
virtual std::string getParallelExtension() const =0
static void writeTetrahedron(const mesh::Tetrahedron &tetra, std::ostream &outFile)
std::vector< std::string > _vectorDataNames
List of names of all vector data on mesh.
void exportGradient(const mesh::PtrData data, const int dataDim, std::ostream &outFile) const
void writeSubFile(int index, double time)
Writes the sub file for each rank.
void processDataNamesAndDimensions(const mesh::Mesh &mesh)
Stores scalar and vector data names in string vectors Needed for writing primary file and sub files.
static void writeVertex(const Eigen::VectorXd &position, std::ostream &outFile)
void doExport(int index, double time) final override
Export the mesh and writes files.
ExportXML(std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size)
virtual void writeParallelCells(std::ostream &out) const =0
Export(std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size)
This class provides a lightweight logger.
Linear edge of a mesh, defined by two Vertex objects.
Container and creator for meshes.
Tetrahedron of a mesh, defined by 4 vertices.
Triangle of a mesh, defined by three vertices.
provides Import and Export of the coupling mesh and data.
provides Mesh, Data and primitives.
std::shared_ptr< Data > PtrData
contains the time interpolation logic.