PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
A vtk writer for simple point data and complex fem mesh data. More...
#include <vtkParticleReader.h>
Public Member Functions | |
VtkParticleReader (const std::string &filename) | |
Constructor. | |
Mesh data | |
vtkSmartPointer< vtkXMLUnstructuredGridReader > | d_reader_p |
XML unstructured grid writer. | |
vtkSmartPointer< vtkUnstructuredGrid > | d_grid_p |
Unstructured grid. | |
void | readNodes (model::ModelData *model) |
Writes the nodes to the file. | |
void | close () |
Closes the file and store it to the hard disk. | |
A vtk writer for simple point data and complex fem mesh data.
Definition at line 31 of file vtkParticleReader.h.
|
explicit |
Constructor.
filename | Name of the vtk file (with/without .vtu extension) |
Definition at line 32 of file vtkParticleReader.cpp.
References util::io::checkAndCreateNewFilename(), and d_reader_p.
void rw::reader::VtkParticleReader::close | ( | ) |
Closes the file and store it to the hard disk.
Definition at line 113 of file vtkParticleReader.cpp.
void rw::reader::VtkParticleReader::readNodes | ( | model::ModelData * | model | ) |
Writes the nodes to the file.
model | ModelData class object |
Definition at line 41 of file vtkParticleReader.cpp.
|
private |
Unstructured grid.
Definition at line 59 of file vtkParticleReader.h.
|
private |
XML unstructured grid writer.
Definition at line 56 of file vtkParticleReader.h.
Referenced by VtkParticleReader().