PLUTO Test Problems  4.4-patch2
Functions
main.random.c File Reference

PLUTO main function. More...

Functions

int main (int argc, char *argv[])
 

Detailed Description

The file main.c contains the PLUTO main function and several other top-level routines. main() provides basic code initialization, handles the the principal integration loop and calls the output driver write_data.c. Other useful functions contained in this file are Integrate() which does the actual integration, NextTimeStep() responsible for computing the next time step based on the information available at the last time level.

The standard integration loop consists of the following steps:

Author
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
Date
April 9, 2018

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Start PLUTO, initialize functions, define data structures and handle the main integration loop.

Parameters
[in]argcArgument counts.
[in]argvArray of pointers to the strings.
Returns
This function return 0 on normal exit.