|
Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"#include "version.h"#include "optimize.h"#include "service.h"#include "ran.h"
Macros | |
| #define | pid_t int |
| #define | fork() |
| #define | wait(X) |
Functions | |
| template<class T> | |
| bool | WR_ITEM (const T &x, FILE *io) |
| template<class T> | |
| bool | RD_ITEM (T &x, FILE *io) |
| 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 fork | ( | ) |
Referenced by phymir_state< X, Y, NP, NSTR >::p_execute_job().
| #define pid_t int |
| #define wait | ( | X | ) |
Referenced by phymir_state< X, Y, NP, NSTR >::p_barrier(), and phymir_state< X, Y, NP, NSTR >::p_execute_job().
| void optimize_phymir | ( | realnum | xc[], |
| const realnum | del[], | ||
| long int | nvarPhymir, | ||
| chi2_type * | ymin, | ||
| realnum | toler ) |
References append_file(), AS_LOCAL_ONLY_TRY, AS_TRY, cdEXIT, phymir_state< X, Y, NP, NSTR >::continue_from_state(), cpu, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), phymir_state< X, Y, NP, NSTR >::init_state_file_name(), phymir_state< X, Y, NP, NSTR >::init_strings(), phymir_state< X, Y, NP, NSTR >::initial_run(), Singleton< t_version >::Inst(), ioQQQ, phymir_state< X, Y, NP, NSTR >::lgMaxIterExceeded(), LIMPAR, max(), min(), phymir_state< X, Y, NP, NSTR >::noptim(), NULL, open_data(), optimize, optimize_func(), phymir_state< X, Y, NP, NSTR >::optimize_with_restart(), PHYMIR_FORK, PHYMIR_MPI, PHYMIR_SEQ, ran, STATEFILE, STATEFILE_BACKUP, phymir_state< X, Y, NP, NSTR >::xmax(), phymir_state< X, Y, NP, NSTR >::xmin(), phymir_state< X, Y, NP, NSTR >::xval(), and phymir_state< X, Y, NP, NSTR >::yval().

|
inline |
Referenced by phymir_state< X, Y, NP, NSTR >::p_rd_state().
|
inline |
Referenced by phymir_state< X, Y, NP, NSTR >::p_wr_state().
| 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.
Referenced by optimize_phymir().
| const char* STATEFILE_BACKUP = "continue.bak" |
Referenced by optimize_phymir().