|
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, DEBUG_ENTRY, dynamics, GridPointPrefix(), mode_a, mode_r, open_data(), save, and STATIC.
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(), DEBUG_ENTRY, grid, GridPointPrefix(), ioQQQ, mode_r, NUM_OUTPUT_TYPES, open_data(), save, saveFITSfile(), and toupper().
Referenced by main().
