cloudy trunk
Loading...
Searching...
No Matches
Macros | Functions | Variables
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()   TotalInsanityAsStub<pid_t>()
 
#define wait(X)   TotalInsanityAsStub<pid_t>()
 

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 ( )    TotalInsanityAsStub<pid_t>()

Definition at line 15 of file optimize_phymir.cpp.

◆ pid_t

#define pid_t   int

Definition at line 14 of file optimize_phymir.cpp.

◆ wait

#define wait (   X)    TotalInsanityAsStub<pid_t>()

Definition at line 16 of file optimize_phymir.cpp.

Function Documentation

◆ optimize_phymir()

void optimize_phymir ( realnum  xc[],
const realnum  del[],
long int  nvarPhymir,
chi2_type ymin,
realnum  toler 
)

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