cloudy trunk
Loading...
Searching...
No Matches
optimize_phymir.cpp File Reference
#include "cddefines.h"
#include "version.h"
#include "optimize.h"
#include "mpi_utilities.h"
Include dependency graph for optimize_phymir.cpp:

Go to the source code of this file.

Macros

#define pid_t   int
#define fork()
#define wait(X)

Functions

void wr_block (const void *, size_t, const char *)
void rd_block (void *, size_t, const char *)
void optimize_phymir (realnum xc[], const realnum del[], long int nvarPhymir, chi2_type *ymin, realnum toler)

Variables

const char * STATEFILE = "continue.pmr"
const char * STATEFILE_BACKUP = "continue.bak"

Macro Definition Documentation

◆ fork

#define fork ( )
Value:

Definition at line 15 of file optimize_phymir.cpp.

Referenced by phymir_state< X, Y, NP, NSTR >::p_execute_job().

◆ pid_t

#define pid_t   int

Definition at line 14 of file optimize_phymir.cpp.

Referenced by phymir_state< X, Y, NP, NSTR >::p_execute_job().

◆ wait

Function Documentation

◆ optimize_phymir()

◆ rd_block()

void rd_block ( void * ptr,
size_t len,
const char * fnam )
inline

rd_block: read <len> bytes of data into buffer <*ptr> from unformatted file <fnam>

Definition at line 756 of file optimize_phymir.cpp.

References AS_LOCAL_ONLY, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and open_data().

Referenced by phymir_state< X, Y, NP, NSTR >::p_process_output().

Here is the call graph for this function:

◆ wr_block()

void wr_block ( const void * ptr,
size_t len,
const char * fnam )
inline

wr_block: write <len> bytes of data from buffer <*ptr> into unformatted file <fnam>

Definition at line 739 of file optimize_phymir.cpp.

References AS_LOCAL_ONLY, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and open_data().

Referenced by phymir_state< X, Y, NP, NSTR >::p_execute_job_parallel().

Here is the call graph for this function:

Variable Documentation

◆ STATEFILE

const char* STATEFILE = "continue.pmr"

this is the name of the file that optimize_phymir automatically creates containing information to continue the optimization at a later time.

Definition at line 23 of file optimize_phymir.cpp.

Referenced by optimize_phymir().

◆ STATEFILE_BACKUP

const char* STATEFILE_BACKUP = "continue.bak"

Definition at line 24 of file optimize_phymir.cpp.

Referenced by optimize_phymir().