bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
kernel::numerics::VtkWriter Class Reference

#include <vtk_writer.h>

Inheritance diagram for kernel::numerics::VtkWriter:
Collaboration diagram for kernel::numerics::VtkWriter:

Public Member Functions

 VtkWriter (const std::string &filename, bool open_file=false)
 Constructor.
 
void write_solution (const Mesh< 2 > &mesh, const DynVec< real_t > &data, const FVDoFManager< 2 > &manager)
 Write the mesh into the file specified in constructor of this class.
 
- Public Member Functions inherited from kernel::numerics::VtkMeshFileWriter
 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.
 

Additional Inherited Members

- Protected Member Functions inherited from kernel::numerics::VtkMeshFileWriter
virtual void write_option (const Mesh< 2 > &mesh, const std::string &name)
 

Constructor & Destructor Documentation

◆ VtkWriter()

kernel::numerics::VtkWriter::VtkWriter ( const std::string &  filename,
bool  open_file = false 
)

Constructor.

Member Function Documentation

◆ write_solution()

void kernel::numerics::VtkWriter::write_solution ( const Mesh< 2 > &  mesh,
const DynVec< real_t > &  data,
const FVDoFManager< 2 > &  manager 
)

Write the mesh into the file specified in constructor of this class.


The documentation for this class was generated from the following files: