PLUTO  4.4-patch2
Functions
write_tab.c File Reference

Write tabulated 1D or 2D ascii data files. More...

#include "pluto.h"

Functions

void WriteTabArray (Output *output, char *filename, Grid *grid)
 

Detailed Description

WriteTabArray() provides ascii output for 2-D and 1-D data in tabulated multi-column format:

    .     .         .         .             .
    .     .         .         .             .
    .     .         .         .             .
  x1(i) x2(j)   var_1(i,j)  var_2(i,j)   var_3(i,j) ...
    .     .         .         .             .
    .     .         .         .             .
    .     .         .         .             .

Blocks with different x2 coordinates are separated by a blank row (in more than 1D). One file (with all variables) per output is written to disk. This format does not work in parallel mode and can be used for simple serial runs.

Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
April 6, 2017

Function Documentation

◆ WriteTabArray()

void WriteTabArray ( Output output,
char *  filename,
Grid grid 
)

Write tabulated array.

Parameters
[in]outputa pointer to the output structure corresponding to the tab format
[in]filenamethe output file name
[in]gridpointer to an array of Grid structures