PLUTO  4.4-patch2
Data Fields
Output Struct Reference

#include <structs.h>

Data Fields

int type
 
int nvar
 
int cgs
 
int nfile
 
int dn
 
int stag_var [MAX_OUTPUT_VARS]
 
int dump_var [MAX_OUTPUT_VARS]
 
int field_dim [MAX_OUTPUT_VARS]
 
char mode [32]
 
char ** var_name
 
char ext [8]
 
char dir [256]
 
double dt
 
double dclock
 
double *** V [MAX_OUTPUT_VARS]
 
char fill [140]
 

Detailed Description

The Output structure contains essential information for I/O.

Field Documentation

◆ cgs

int cgs

(Fluid only) When set to 1, save data in c.g.s units

◆ dclock

double dclock

Time increment in clock hours.

◆ dir

char dir[256]

Output directory name

◆ dn

int dn

Step increment between outputs.

◆ dt

double dt

Time increment between outputs.

◆ dump_var

int dump_var[MAX_OUTPUT_VARS]

(Fluid only) Include/exclude variables being written.

◆ ext

char ext[8]

File extension (.flt, .dbl, etc...)

◆ field_dim

int field_dim[MAX_OUTPUT_VARS]

(Particle only) The dimensionality of the field being written (scalar = 1, array > 1)

◆ fill

char fill[140]

Useless, just to make the structure size a power of 2

◆ mode

char mode[32]

(Fluid only) Single or multiple files.

◆ nfile

int nfile

Current number being saved.

◆ nvar

int nvar

(Fluid only) Total # of vars that can potentially be written. This is the same for all kind of outputs

◆ stag_var

int stag_var[MAX_OUTPUT_VARS]

(Fluid only). Centered or staggered variable - same for all outputs.

◆ type

int type

Output data format (DBL, FLT, VTK, ...).

◆ V

double*** V[MAX_OUTPUT_VARS]

(Fluid only) Array of pointers to 3D arrays to be written - same for all outputs.

◆ var_name

char** var_name

(Fluid only) Variable names. Same for all output types.


The documentation for this struct was generated from the following file: