PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
initialize.c File Reference

Initialize PLUTO. More...

#include "pluto.h"

Functions

void Initialize (int argc, char *argv[], Data *data, Input *input, Grid *grid, Cmd_Line *cmd_line)
 

Detailed Description

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

Author
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
Date
Aug 16, 2012

Function Documentation

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.

Parameters
[in]argc
[in]argv
[in/out]data
[in]gridpointer to an array of Grid structures
Returns
This function has no return value.