32 const Eigen::VectorXd &position,
Common class to generate the VTK XML-based formats.
virtual std::string getPieceExtension() const =0
virtual std::string getPieceAttributes(const mesh::Mesh &mesh) const =0
void writeParallelData(std::ostream &out) 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 writeSubFile(const std::string &name, const std::string &location, const mesh::Mesh &mesh) const
Writes the sub file for each rank.
void doExport(const std::string &name, const std::string &location, const mesh::Mesh &mesh) override
Does export. Has to be implemented in subclass.
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 writeParallelFile(const std::string &name, const std::string &location, const mesh::Mesh &mesh) const
Writes the primary file (called only by the primary 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)
virtual void writeParallelCells(std::ostream &out) const =0
Abstract base class of all classes exporting container data structures.
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.
Main namespace of the precice library.