Cloudy Data Archive|
Cloudy
Spectral Synthesis Code for Astrophysics
|
#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"
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 |
| exit_type cdMain | ( | int | argc, |
| const char * | argv[] ) |
cdMain: this is the main entry point for Cloudy
References AS_LOCAL_ONLY_TRY, ASSERT, called, cdDrive(), cdExecTime(), cdEXIT, cdInit(), cdInput(), cdMemory(), cdNwcns(), cdOutput(), cdPrepareExit(), cdRead(), cpu, DEBUG_ENTRY, ES_BAD_ALLOC, ES_BAD_ASSERT, ES_BOTCHES, ES_BUS_ERROR, ES_CLOUDY_ABORT, ES_DOMAIN_ERROR, ES_FAILURE, ES_FP_EXCEPTION, ES_ILLEGAL_INSTRUCTION, ES_OUT_OF_RANGE, ES_SEGFAULT, ES_SUCCESS, ES_UNKNOWN_EXCEPTION, ES_UNKNOWN_SIGNAL, ES_WARNINGS, FALLTHROUGH, fprintf(), grid, input, ioQQQ, ioStdin, iteration, lgBigBotch, lgInputEOF(), lgMonitorsOK, MS_GRID, MS_POST_GRID, MyAssert(), NULL, nzone, open_data(), optimize, print_delimiter(), prt, read_whole_line(), save, Split(), SPM_RELAX, TotalInsanity(), trimTrailingWhiteSpace(), and trimWhiteSpace().
Referenced by 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, FileSize(), 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(), optimize, process_output(), ran, and save.

|
inline |
|
static |
Referenced by main().