35#ifndef VERTEXMESHWRITER_HPP_
36#define VERTEXMESHWRITER_HPP_
39template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
44#define _BACKWARD_BACKWARD_WARNING_H 1
45#include <vtkDoubleArray.h>
46#include <vtkCellData.h>
47#include <vtkPointData.h>
48#include <vtkConvexPointSet.h>
49#include <vtkPolygon.h>
50#include <vtkUnstructuredGrid.h>
51#include <vtkUnstructuredGridWriter.h>
52#include <vtkXMLUnstructuredGridWriter.h>
53#include <vtkDataCompressor.h>
56#include "VertexMesh.hpp"
57#include "AbstractMeshWriter.hpp"
61template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
64template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
70template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
104 const std::string& rBaseName,
105 const bool clearOutputDir=
true);
142 void AddCellData(std::string dataName, std::vector<double> dataPayload);
150 void AddPointData(std::string dataName, std::vector<double> dataPayload);
vtkUnstructuredGrid * mpVtkUnstructedMesh
ElementData GetNextElement()
std::vector< double > GetNextNode()
void AddPointData(std::string dataName, std::vector< double > dataPayload)
void MakeVtkMesh(VertexMesh< ELEMENT_DIM, SPACE_DIM > &rMesh)
void WriteVtkUsingMesh(VertexMesh< ELEMENT_DIM, SPACE_DIM > &rMesh, std::string stamp="")
MeshWriterIterators< ELEMENT_DIM, SPACE_DIM > * mpIters
unsigned mNodeMapCurrentIndex
VertexMesh< ELEMENT_DIM, SPACE_DIM > * mpMesh
void AddCellData(std::string dataName, std::vector< double > dataPayload)
VertexElementData GetNextElementWithFaces()
void WriteFilesUsingMesh(VertexMesh< ELEMENT_DIM, SPACE_DIM > &rMesh)