PLUTO
4.4-patch2
|
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) |
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
void WriteVTKProcFile | ( | double *** | U, |
int | nx1, | ||
int | nx2, | ||
int | nx3, | ||
char * | filename | ||
) |
Write VTK file in serial mode only.
[in] | U | an array in double precision |
[in] | nx1...nx3 | the array size |
[in] | filename | a string containing the filename |