Write the given Mesh object in a VTK format.
More...
#include <vtk_mesh_file_writer.h>
|
| | VtkMeshFileWriter (const std::string &filename, bool open_file=false) |
| | Constructor.
|
| |
| void | write_mesh (const Mesh< 2 > &mesh) |
| | Write the mesh into the file specified in constructor of this class.
|
| |
| void | write_mesh (const Mesh< 2 > &mesh, const VtkMeshMeshCellOptions &options) |
| | Write the mesh into the file specified in constructor of this class.
|
| |
| void | write_mesh (const Mesh< 2 > &mesh, const std::vector< real_t > &cell_values, const std::string &option_name) |
| | Write the mesh into the file specified in the constructor of this class and also append the given cell values.
|
| |
| virtual void | write_header () override |
| | Write the header of the file. By default some information such as date and time the file was created is written.
|
| |
Write the given Mesh object in a VTK format.
◆ VtkMeshFileWriter()
| kernel::numerics::VtkMeshFileWriter::VtkMeshFileWriter |
( |
const std::string & |
filename, |
|
|
bool |
open_file = false |
|
) |
| |
◆ write_header()
| void kernel::numerics::VtkMeshFileWriter::write_header |
( |
| ) |
|
|
overridevirtual |
Write the header of the file. By default some information such as date and time the file was created is written.
◆ write_mesh() [1/3]
| void kernel::numerics::VtkMeshFileWriter::write_mesh |
( |
const Mesh< 2 > & |
mesh | ) |
|
Write the mesh into the file specified in constructor of this class.
◆ write_mesh() [2/3]
| void kernel::numerics::VtkMeshFileWriter::write_mesh |
( |
const Mesh< 2 > & |
mesh, |
|
|
const std::vector< real_t > & |
cell_values, |
|
|
const std::string & |
option_name |
|
) |
| |
Write the mesh into the file specified in the constructor of this class and also append the given cell values.
◆ write_mesh() [3/3]
Write the mesh into the file specified in constructor of this class.
◆ write_option()
| void kernel::numerics::VtkMeshFileWriter::write_option |
( |
const Mesh< 2 > & |
mesh, |
|
|
const std::string & |
name |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following files: