PLUTO
4.4-patch2
|
Read runtime information from pluto.ini. More...
#include "pluto.h"
Functions | |
int | RuntimeSetup (Runtime *runtime, cmdLine *cmd_line, char *ini_file) |
void | GetOutputFrequency (Output *output, const char *output_format) |
void | RuntimeSet (Runtime *runtime) |
Runtime * | RuntimeGet (void) |
Parse and read runtime information from the initialization file pluto.ini (default) and sets value of the runtime structure.
void GetOutputFrequency | ( | Output * | output, |
const char * | output_format | ||
) |
Set the intervals between output files. This can be done in three different ways:
However, dn and dclock are mutually exclusive.
Runtime* RuntimeGet | ( | void | ) |
Return a pointer to runtime structure.
void RuntimeSet | ( | Runtime * | runtime | ) |
Store a static copy of the runtime structure for later access.
int RuntimeSetup | ( | Runtime * | runtime, |
cmdLine * | cmd_line, | ||
char * | ini_file | ||
) |
Open and parse the runtime initialization file. Assign values to the runtime structure.
[out] | runtime | pointer to a Runtime structure |
[in] | cmd_line | pointer to a cmdLine structure (useful, e.g., to resize the domain using the -xres option) |
[in] | ini_file | the name of the initialization file (default is "pluto.ini") specified with the -i option. |