cloudy trunk
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
mpi_utilities.cpp File Reference
#include "cddefines.h"
#include "mpi_utilities.h"
#include "save.h"
#include "dynamics.h"
#include "grid.h"
Include dependency graph for mpi_utilities.cpp:

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
 

Function Documentation

◆ append_file()

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().

Here is the call graph for this function:

◆ check_grid_file()

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().

Here is the call graph for this function:

◆ process_output()

void process_output ( )