33 const Eigen::VectorXd &position,
Writes polygonal, or triangle meshes to vtk files.
void exportData(std::ofstream &outFile, const mesh::Mesh &mesh)
static void writeVertex(const Eigen::VectorXd &position, std::ostream &outFile)
static void writeHeader(std::ostream &outFile)
static void writeLine(int vertexIndices[2], std::ostream &outFile)
static void initializeWriting(std::ofstream &filestream)
static void writeTetrahedron(int vertexIndices[4], std::ostream &outFile)
void openFile(std::ofstream &outFile, const std::string &filename) const
void exportMesh(std::ofstream &outFile, const mesh::Mesh &mesh)
virtual void doExport(const std::string &name, const std::string &location, const mesh::Mesh &mesh)
Perform writing to VTK file.
static void writeTriangle(int vertexIndices[3], std::ostream &outFile)
void exportGradient(std::ofstream &outFile, const mesh::Mesh &mesh)
Abstract base class of all classes exporting container data structures.
This class provides a lightweight logger.
Container and creator for meshes.
Main namespace of the precice library.