37 std::unique_ptr<ResourceManager> m_vtk_resources_lock;
40 VTKHandle(std::shared_ptr<walberla::vtk::VTKOutput> sp,
int ec,
bool en)
48 m_vtk_resources_lock.reset();
51 std::shared_ptr<walberla::vtk::VTKOutput>
ptr;
77 std::string
const &reason)
78 :
std::runtime_error(
"VTKOutput object '" + vtk_uid +
"' " + reason) {}
std::shared_ptr< walberla::vtk::VTKOutput > ptr
VTKHandle(std::shared_ptr< walberla::vtk::VTKOutput > sp, int ec, bool en)
vtk_runtime_error(std::string const &vtk_uid, std::string const &reason)
std::unique_ptr< ResourceManager > get_vtk_dependent_resources()
Get a lock on waLBerla's global resources for VTK.
EKOutputVTK
EK statistics to write to VTK files.
OutputVTK
LB statistics to write to VTK files.
EKPoissonOutputVTK
EK Poisson solver statistics to write to VTK files.