/home66/gary/public_html/cloudy/c10_branch/source/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.

Defines

#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"

Define Documentation

 
#define fork (  )     TotalInsanityAsStub<pid_t>()

Definition at line 23 of file optimize_phymir.cpp.

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

#define pid_t   int

Definition at line 22 of file optimize_phymir.cpp.

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

#define wait (  )     TotalInsanityAsStub<pid_t>()

Function Documentation

void optimize_phymir ( realnum  xc[],
const realnum  del[],
long int  nvarPhymir,
chi2_type ymin,
realnum  toler 
)
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 764 of file optimize_phymir.cpp.

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

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

Here is the call graph for this function:

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 747 of file optimize_phymir.cpp.

References AS_LOCAL_ONLY, cdEXIT, DEBUG_ENTRY, 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

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 31 of file optimize_phymir.cpp.

Referenced by optimize_phymir().

const char* STATEFILE_BACKUP = "continue.bak"

Definition at line 32 of file optimize_phymir.cpp.

Referenced by optimize_phymir().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1