Read runtime information from pluto.ini. More...
#include "pluto.h"
Functions | |
static void | GetOutputFrequency (Output *, char *) |
int | Setup (Input *input, Cmd_Line *cmd_line, char *ini_file) |
Parse and read runtime information from the initialization file pluto.ini (default) and sets value of the input structure.
|
static |
Set the intervals between output files. This can be done in three different ways:
However, dn and dclock are mutually exclusive.
int Setup | ( | Input * | input, |
Cmd_Line * | cmd_line, | ||
char * | ini_file | ||
) |
Open and parse the initialization file. Assign values to the input structure.
[out] | input | pointer to an Input structure |
[in] | cmd_line | pointer to a Cmd_Line 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. |