Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
maincl.cpp File Reference
#include "cddefines.h"
#include "cddrive.h"
#include "input.h"
#include "prt.h"
#include "save.h"
#include "called.h"
#include "monitor_results.h"
#include "grid.h"
#include "service.h"
#include "ran.h"
Include dependency graph for maincl.cpp:

Functions

exit_type cdMain (int argc, const char *argv[])
 
void print_delimiter (long nOptimiz)
 
int main (int argc, char *argv[])
 

Variables

static const uint64 default_seed = 0xc7f8f57fe95956a8ULL
 

Function Documentation

◆ cdMain()

◆ main()

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

main: this is a wrapper around cdMain. It takes care of the MPI stuff for non-MPI runs, this should do nothing more than call cdMain and exit.

References cdMain(), cpu, DEBUG_ENTRY, default_seed, ES_SUCCESS, EXIT_FAILURE, load_balance::finalize(), fprintf(), grid, GridPointPrefix(), ioQQQ, max(), MPI_Barrier, MPI_Bcast, MPI_Comm_rank, MPI_Comm_size, MPI_Finalize, MPI_Init, MS_GRID, MS_POST_GRID, load_balance::next_job(), open_data(), optimize, process_output(), ran, and save.

Here is the call graph for this function:

◆ print_delimiter()

void print_delimiter ( long nOptimiz)
inline

References fprintf(), and ioQQQ.

Referenced by cdMain().

Here is the call graph for this function:

Variable Documentation

◆ default_seed

const uint64 default_seed = 0xc7f8f57fe95956a8ULL
static

Referenced by main().