OpenPFC  0.1.4
Phase Field Crystal simulation framework
Loading...
Searching...
No Matches
vtk_writer.hpp File Reference

VTK ImageData format writer for visualization. More...

#include "openpfc/results_writer.hpp"
#include <array>
#include <fstream>
#include <iomanip>
#include <mpi.h>
#include <sstream>
#include <string>
#include <vector>
Include dependency graph for vtk_writer.hpp:

Go to the source code of this file.

Classes

class  pfc::VTKWriter
 VTK ImageData format writer. More...
 

Detailed Description

VTK ImageData format writer for visualization.

VTKWriter outputs simulation fields in VTK ImageData format (.vti files), which can be directly opened in ParaView, VisIt, or other VTK-compatible visualization tools.

Supports:

  • Serial output (single .vti file)
  • Parallel output (.pvti master + .vti pieces per rank)
  • Real and complex field data
  • Binary format (base64-encoded) for compact output