Functions

ath_files.c File Reference

Function for creating descriptive output filenames. More...

Go to the source code of this file.

Functions

char * ath_fname (const char *path, const char *basename, const char *levstr, const char *domstr, const int dlen, const int idump, const char *id, const char *ext)
 Creates descriptive output filenames.

Detailed Description

Function for creating descriptive output filenames.

PURPOSE: Function for creating descriptive output filenames with form:

where

CONTAINS PUBLIC FUNCTIONS: ath_fname()

Definition in file ath_files.c.


Function Documentation

char * ath_fname ( const char *  path,
const char *  basename,
const char *  levstr,
const char *  domstr,
const int  dlen,
const int  idump,
const char *  id,
const char *  ext 
)

Creates descriptive output filenames.

Creates filenames with form

  • [path]<basename>[-lev#][-dom#][.idump][.id].<ext>

Used by most of the dump_*() and output_*() functions.

Definition at line 41 of file ath_files.c.

Referenced by compute_l1_error(), dump_binary(), dump_history(), dump_particle_binary(), dump_restart(), dump_tab_cons(), dump_tab_prim(), dump_vtk(), dump_vtksub(), out_ktab(), output_pdf(), output_pgm(), output_ppm(), output_tab_1d(), output_tab_2d(), output_tab_3d(), output_vtk_2d(), output_vtk_3d(), and Userwork_after_loop().

Here is the caller graph for this function: