Definition at line 288 of file TimeStepControl.cc.
Implements TimeStepRead.
Definition at line 294 of file TimeStepControl.cc.
References HighParser::ErrValueOutOfRange< T >::Get(), HighParser::GetInt(), IncludeParser::GetLineData(), HighParser::GetReal(), HighParser::IsArg(), and MBDynErrBase::what().
303 silent_cerr(
"error: invalid reduction factor " << e.
Get() <<
" (must be positive and less than (or equal to) one) [" << e.
what() <<
"] at line " << HP.
GetLineData() << std::endl);
307 integer iStepsBeforeReduction = 1;
312 silent_cerr(
"error: invalid number of steps before reduction " << e.
Get() <<
" (must be greater than zero) [" << e.
what() <<
"] at line " << HP.
GetLineData() << std::endl);
321 silent_cerr(
"error: invalid increase factor " << e.
Get() <<
" (must be greater than (or equal to) one) [" << e.
what() <<
"] at line " << HP.
GetLineData() << std::endl);
330 silent_cerr(
"error: invalid number of steps before increase " << e.
Get() <<
" (must be greater than zero) [" << e.
what() <<
"] at line " << HP.
GetLineData() << std::endl);
338 silent_cerr(
"error: invalid number of minimum iterations " << e.
Get() <<
" (must be greater than zero) [" << e.
what() <<
"] at line " << HP.
GetLineData() << std::endl);
348 silent_cerr(
"error: invalid number of maximum iterations " << e.
Get() <<
" (must be greater than zero) [" << e.
what() <<
"] at line " << HP.
GetLineData() << std::endl);
354 return new Factor(s, dReductionFactor,
355 iStepsBeforeReduction,
virtual integer GetInt(integer iDefval=0)
const char * what(void) const
virtual HighParser::ErrOut GetLineData(void) const
virtual doublereal GetReal(const doublereal &dDefval=0.0)
The documentation for this class was generated from the following file: