|
cloudy trunk
|
#include "cddefines.h"#include "mpi_utilities.h"#include "save.h"#include "dynamics.h"#include "grid.h"
Go to the source code of this file.
Namespaces | |
| namespace | MPI |
Functions | |
| STATIC void | check_grid_file (const string &fnam, int j, int ipPun) |
| void | process_output () |
| void | append_file (FILE *dest, const char *source) |
Variables | |
| t_MPI | MPI::COMM_WORLD |
| void append_file | ( | FILE * | dest, |
| const char * | source | ||
| ) |
append_file: append output produced on file <source> to open file descriptor <dest>
Definition at line 218 of file mpi_utilities.cpp.
References AS_LOCAL_ONLY_TRY, DEBUG_ENTRY, open_data(), and source.
Referenced by optimize_phymir(), phymir_state< X, Y, NP, NSTR >::p_process_output(), and process_output().

| STATIC void check_grid_file | ( | const string & | fnam, |
| int | j, | ||
| int | ipPun | ||
| ) |
check_grid_file: check whether the save file is present and is terminated by a GRID_DELIMIT string
Definition at line 158 of file mpi_utilities.cpp.
References AS_LOCAL_ONLY_TRY, t_save::chHashString, DEBUG_ENTRY, dynamics, GridPointPrefix(), t_save::lg_separate_iterations, t_save::lgFITS, t_save::lgHashEndIter, t_dynamics::lgTimeDependentStatic, mode_a, mode_r, open_data(), and save.
Referenced by process_output().

| void process_output | ( | ) |
process_output: concatenate output files produced in MPI grid run
Definition at line 55 of file mpi_utilities.cpp.
References append_file(), AS_LOCAL_ONLY, AS_LOCAL_ONLY_TRY, ASSERT, check_grid_file(), t_save::chFilenamePrefix, t_save::chRedirectPrefix, DEBUG_ENTRY, t_save::FITStype, grid, GridPointPrefix(), ioQQQ, t_save::lgSaveToSeparateFiles, mode_r, t_save::nsave, NUM_OUTPUT_TYPES, open_data(), save, saveFITSfile(), t_grid::totNumModels, and toupper().
Referenced by main().
