Functions

output_tab.c File Reference

Functions for writing output in tabular format. More...

Go to the source code of this file.

Functions

void output_tab_1d (MeshS *pM, OutputS *pOut, int nl, int nd)
 Writes 1D data.
void output_tab_2d (MeshS *pM, OutputS *pOut, int nl, int nd)
 Writes 2D data.
void output_tab_3d (MeshS *pM, OutputS *pOut, int nl, int nd)
 Writes 3D data.
void output_tab (MeshS *pM, OutputS *pOut)
 Open file, call 1D/2D/3D writer; called by data_ouput.

Detailed Description

Functions for writing output in tabular format.

PURPOSE: Functions for writing output in tabular format. With SMR, dumps are made for all levels and domains, unless nlevel and ndomain are specified in <output> blocks.

CONTAINS PUBLIC FUNCTIONS:

PRIVATE FUNCTION PROTOTYPES:

Definition in file output_tab.c.


Function Documentation

void output_tab ( MeshS pM,
OutputS pOut 
)

Open file, call 1D/2D/3D writer; called by data_ouput.

Definition at line 43 of file output_tab.c.

References MeshS::Domain, MeshS::DomainsPerLevel, DomainS::Grid, OutputS::ndim, OutputS::ndomain, OutputS::nlevel, MeshS::NLevels, output_tab_1d(), output_tab_2d(), and output_tab_3d().

Here is the call graph for this function:

void output_tab_1d ( MeshS pM,
OutputS pOut,
int  nl,
int  nd 
)

Writes 1D data.

Note x-coordinate is just i-index.

Definition at line 75 of file output_tab.c.

References ath_error(), ath_fname(), OutputS::dat_fmt, data, MeshS::Domain, free_1d_array(), OutputS::gmax, OutputS::gmin, DomainS::Grid, OutputS::id, minmax1(), OutputS::num, nx1, OutData1(), and MeshS::outfilename.

Referenced by output_tab().

Here is the call graph for this function:

Here is the caller graph for this function:

void output_tab_2d ( MeshS pM,
OutputS pOut,
int  nl,
int  nd 
)

Writes 2D data.

Note x/y-coordinate is just i/j-index.

Definition at line 140 of file output_tab.c.

References ath_error(), ath_fname(), OutputS::dat_fmt, data, MeshS::Domain, free_2d_array(), OutputS::gmax, OutputS::gmin, DomainS::Grid, OutputS::id, minmax2(), OutputS::num, nx1, nx2, OutData2(), and MeshS::outfilename.

Referenced by output_tab().

Here is the call graph for this function:

Here is the caller graph for this function:

void output_tab_3d ( MeshS pM,
OutputS pOut,
int  nl,
int  nd 
)

Writes 3D data.

Note x/y/z-coordinate is just i/j/k-index

Definition at line 214 of file output_tab.c.

References ath_error(), ath_fname(), OutputS::dat_fmt, data, MeshS::Domain, free_3d_array(), OutputS::gmax, OutputS::gmin, DomainS::Grid, OutputS::id, minmax3(), OutputS::num, nx1, nx2, nx3, OutData3(), and MeshS::outfilename.

Referenced by output_tab().

Here is the call graph for this function:

Here is the caller graph for this function: