43 #define VOLLOG( l , x ) if( VOLLLvl > l ) *VOLLog << x
44 #define VOLLOG2( l , c , x ) if( ( VOLLLvl > l ) && c ) *VOLLog << x
46 #define VOLLOG( l , x )
47 #define VOLLOG2( l , c , x )
131 inline void SetVOLLog( ostream *outs = 0 ,
const char lvl = 0 );
146 inline void NewDEF(
void );
154 inline bool DoSS(
void );
168 inline void Solve(
void );
193inline void Volume::SetVOLLog( ostream *outs ,
const char lvl )
199 *
VOLLog << std::endl <<
"Volume: tau = " << tauInit <<
" in ["<< tauMin
200 <<
" , -] with ( " << tauFactor <<
" , " << tauIter <<
" ) ~ m = "
225 cHpNum x = ( lastvalue - FiRec ) / ABS( FiRec );
278inline void Volume::Solve(
void )
294 HpNum den = proximity * ( GiNorm + DNorm - 2.0 * GixD );
299 alpha = ( Epsilon - Sigma - proximity * ( GixD - DNorm ) ) / den;
305 alpha = std::min( tau , 1.0 );
Definition Deflection.h:63
char VOLLLvl
the "level of verbosity"
Definition Deflection.h:237
std::ostream * VOLLog
the output stream object
Definition Deflection.h:235
virtual void SetVOLLog(std::ostream *outs=0, const char lvl=0)
Definition Deflection.h:106
SubGrad * Solver
(pointer to) the SubGrad solver
Definition Deflection.h:233
virtual void Format(void)
Definition Deflection.h:117
Index NrIter(void) const
Definition NDOSlver.h:667
HpNum ReadFiVal(cIndex wFi=Inf< Index >())
void GetPar(const int wp, int &value)
Definition SubGrad.h:825
HpNum ReadBestFiVal(cIndex wFi=Inf< Index >())
Volume(SubGrad *slvr, std::istream *iStrm=0)
Definition Volume.h:118
bool DoSS(void)
Definition Volume.h:250
HpNum GetDFLCoeff(void)
Definition Volume.h:243
void NewDEF(void)
Definition Volume.h:207
HpNum Delta(void)
Definition Volume.h:269
void Format(void)
Definition Volume.h:135
const HpNum cHpNum
a read-only HpNum
Definition OPTtypes.h:102
double HpNum
"finer" floating point numbers
Definition OPTtypes.h:98
unsigned int Index
Index in a vector ( >= 0 )
Definition OPTtypes.h:60
static constexpr T Inf(void) noexcept
Inf< T >() = infinity value for T.
Definition OPTUtils.h:357
void DfltdSfInpt(istream *iStrm, T &Param, const T Dflt, const char cmntc='#')
Definition OPTUtils.h:392