/home66/gary/public_html/cloudy/c08_branch/source/optimize_func.cpp File Reference

#include "cddefines.h"
#include "init.h"
#include "lines.h"
#include "prt.h"
#include "called.h"
#include "radius.h"
#include "input.h"
#include "cloudy.h"
#include "cddrive.h"
#include "optimize.h"
#include "grid.h"

Include dependency graph for optimize_func.cpp:

Go to the source code of this file.

Defines

#define MAXCAT   4

Functions

STATIC double chi2_func (double, double, double)
double optimize_func (realnum param[])


Define Documentation

#define MAXCAT   4

Referenced by optimize_func().


Function Documentation

STATIC double chi2_func ( double  ,
double  ,
double   
)

Definition at line 416 of file optimize_func.cpp.

References cdEXIT, DEBUG_ENTRY, ioQQQ, MIN2, and POW2.

Referenced by optimize_func().

double optimize_func ( realnum  param[]  ) 

optimize_func actual function called during evaluation of optimization run

Definition at line 18 of file optimize_func.cpp.

References ASSERT, cap4(), cdEXIT, cdLine(), cdTemp(), cdWarnings(), chi2_func(), t_optimize::chLineLabel, t_optimize::chTempLab, t_optimize::chTempWeight, cloudy(), DEBUG_ENTRY, grid, t_optimize::ionTemp, ioQQQ, t_LineSave::ipNormWavL, t_grid::lgGrid, t_LineSave::lgLineEmergent, t_optimize::lgOptimFlow, t_optimize::lgOptimize, t_optimize::lgOptLin, t_optimize::lgOptTemp, LineSave, LineSv, MAX2, MAXCAT, MIN2, t_optimize::nlobs, NOBSLM, t_optimize::nOptimiz, t_optimize::nTempObs, t_optimize::nvary, optimize, PrintE82(), prt_wl(), t_optimize::SavGenericData, t_LineSave::ScaleNormLine, t_optimize::temp_error, t_optimize::temp_obs, t_optimize::varmax, t_optimize::varmin, vary_input(), t_optimize::vparm, t_optimize::vpused, wavelength, t_optimize::wavelength, t_optimize::xLineInt_error, t_optimize::xLineInt_Obs, and zero().

Referenced by evalf().

Here is the call graph for this function:


Generated on Mon Feb 16 12:09:50 2009 for cloudy by  doxygen 1.4.7