Initialize PLUTO. More...
#include "pluto.h"Functions | |
| void | Initialize (int argc, char *argv[], Data *data, Input *input, Grid *grid, Cmd_Line *cmd_line) |
Initialize() performs a number of initialization tasks before starting the main computation loop.
More precisely, it completes the following sequence of steps:
The function GetDecompMode() sets the parallel domain decomposition mode which can be equal to
| void Initialize | ( | int | argc, |
| char * | argv[], | ||
| Data * | data, | ||
| Input * | input, | ||
| Grid * | grid, | ||
| Cmd_Line * | cmd_line | ||
| ) |
Initialize computational grid, domain decomposition and memory allocation. Also, set initial conditions and output attributes.
| [in] | argc | |
| [in] | argv | |
| [in/out] | data | |
| [in] | grid | pointer to an array of Grid structures |
1.8.2