LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Namespaces | Macros
NLSolver.cc File Reference
#include <iostream>
#include <limits>
#include <algorithm>
#include "lsst/meas/algorithms/shapelet/NLSolver.h"

Go to the source code of this file.

Namespaces

 lsst
 < multiple inclusion guard macro
 
 lsst::meas
 
 lsst::meas::algorithms
 
 lsst::meas::algorithms::shapelet
 

Macros

#define dbg   if(_nlOut) (*_nlOut)
 
#define xdbg   if(_verbose >= 1 && _nlOut) (*_nlOut)
 
#define xxdbg   if(_verbose >= 2 && _nlOut) (*_nlOut)
 
#define CHECKF(normInfF)
 
#define CHECKG(normInfG)
 
#define SHOWFAILFG
 
#define CHECKSTEP(normH)
 

Macro Definition Documentation

#define CHECKF (   normInfF)
Value:
do { \
double checkfTemp = (normInfF); \
if (!(checkfTemp > _fTol)) { \
dbg<<"Found ||f|| ~= 0\n"; \
dbg<<"||f||_inf = "<<checkfTemp<<" < "<<_fTol<<std::endl; \
return true; \
} \
} while (false)
if(width!=gim.getWidth()||height!=gim.getHeight()||x0!=gim.getX0()||y0!=gim.getY0())
Definition: saturated.cc:47
#define dbg
Definition: NLSolver.cc:37

Definition at line 1269 of file NLSolver.cc.

#define CHECKG (   normInfG)
Value:
do { \
double checkgTemp = (normInfG); \
if (!(checkgTemp > _gTol)) { \
dbg<<"Found local minimum of ||f||\n"; \
dbg<<"||g||_inf = "<<checkgTemp<<" < "<<_gTol<<std::endl; \
return true; \
} \
} while (false)
if(width!=gim.getWidth()||height!=gim.getHeight()||x0!=gim.getX0()||y0!=gim.getY0())
Definition: saturated.cc:47
#define dbg
Definition: NLSolver.cc:37

Definition at line 1279 of file NLSolver.cc.

#define CHECKSTEP (   normH)
Value:
do { \
double checkStepTemp1 = (normH); \
double checkStepTemp2 = _minStep*(x.norm()+_minStep); \
if (!(checkStepTemp1 > checkStepTemp2)) { \
dbg<<"Step size became too small\n"; \
dbg<<"||h|| = "<<checkStepTemp1<<" < "<<checkStepTemp2<<std::endl; \
return false; \
} \
} while (false)
if(width!=gim.getWidth()||height!=gim.getHeight()||x0!=gim.getX0()||y0!=gim.getY0())
Definition: saturated.cc:47
int x
#define dbg
Definition: NLSolver.cc:37
#define SHOWFAILFG
Definition: NLSolver.cc:1289

Definition at line 1295 of file NLSolver.cc.

#define dbg   if(_nlOut) (*_nlOut)

Definition at line 37 of file NLSolver.cc.

#define SHOWFAILFG
Value:
do { \
dbg<<"||f||_inf = "<<f.TMV_normInf()<<" !< "<<_fTol<<std::endl; \
dbg<<"||g||_inf = "<<g.TMV_normInf()<<" !< "<<_gTol<<std::endl; \
} while (false)
#define dbg
Definition: NLSolver.cc:37

Definition at line 1289 of file NLSolver.cc.

#define xdbg   if(_verbose >= 1 && _nlOut) (*_nlOut)

Definition at line 38 of file NLSolver.cc.

#define xxdbg   if(_verbose >= 2 && _nlOut) (*_nlOut)

Definition at line 39 of file NLSolver.cc.