6 # ifdef LINSOLVERS_RETAIN_MEMORY
8 # pragma message("LINSOLVERS_RETAIN_MEMORY is not safe in a multithreaded environment and should be turned off!")
10 # warning LINSOLVERS_RETAIN_MEMORY is not safe in a multithreaded environment and should be turned off!
16 m_RingIndex(ringIndex),
52 for (
int i=0; i<nx; i++) {
56 double dx = pt.
x() - cx;
57 double dy = pt.
y() - cy;
58 double rcalc = sqrt(dx*dx + dy*dy);
75 for (
int i=0; i<npts; i++) {
78 double dx = pt.
x() -
m_X0;
79 double dy = pt.
y() -
m_Y0;
81 rsum += sqrt(dx*dx + dy*dy);
85 double info[LM_INFO_SZ];
94 NULL, info, NULL, NULL,
this);
int countPowderRingPoints() const
void evaluate(double *parm, double *xv, int np, int nx)
QxrdCenterFinder * m_CenterFinder
QxrdPowderPoint powderRingPoint(int i) const
static void staticEvaluate(double *parm, double *xv, int np, int nx, void *adata)