PLUTO  4.4-patch2
Functions
write_vtk_proc.c File Reference

Write data in VTK format (single proc mode) More...

#include "pluto.h"

Functions

void WriteVTKProcFile (double ***U, int nx1, int nx2, int nx3, char *filename)
 

Detailed Description

This function write a 3D array with given size in serial mode. It can be called separately from each processor, by supplying a valid filename. Useful for debugging purposes since it can be used to write the entrire mesh, including ghost zone values. No grid information is used, just the cell index.

Reference

http://www.vtk.org/VTK/img/file-formats.pdf

Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
Aug 20, 2020

Function Documentation

◆ WriteVTKProcFile()

void WriteVTKProcFile ( double ***  U,
int  nx1,
int  nx2,
int  nx3,
char *  filename 
)

Write VTK file in serial mode only.

Parameters
[in]Uan array in double precision
[in]nx1...nx3the array size
[in]filenamea string containing the filename