#include <TimeStepControl.h>
|  | 
|  | Factor (Solver *s, doublereal dReductionFactor, doublereal iStepsBeforeReduction, doublereal dRaiseFactor, doublereal iStepsBeforeRaise, doublereal iMinIters, doublereal iMaxIters) | 
|  | 
|  | ~Factor (void) | 
|  | 
| doublereal | dGetNewStepTime (StepIntegrator::StepChange Why, doublereal iPerformedIters) | 
|  | 
| void | SetDriveHandler (const DriveHandler *driveHandler) | 
|  | 
| void | Init (integer iMaxIterations, doublereal dMinTimeStep, const DriveOwner &MaxTimeStep, doublereal dInitialTimeStep) | 
|  | 
|  | TimeStepControl (void) | 
|  | 
| virtual | ~TimeStepControl (void) | 
|  | 
Definition at line 102 of file TimeStepControl.h.
 
Definition at line 176 of file TimeStepControl.cc.
References NO_OP.
static const doublereal dDefaultMinTimeStep
doublereal dReductionFactor
doublereal iStepsAfterRaise
doublereal iStepsAfterReduction
doublereal iStepsBeforeReduction
doublereal iWeightedPerformedIters
doublereal iStepsBeforeRaise
 
 
 
Implements TimeStepControl.
Definition at line 200 of file TimeStepControl.cc.
References ASSERT, bLastChance, TimeStepControl::dCurrTimeStep, DriveOwner::dGet(), dMinTimeStep, dRaiseFactor, dReductionFactor, iMaxIters, iMinIters, iStepsAfterRaise, iStepsAfterReduction, iStepsBeforeRaise, iStepsBeforeReduction, iWeightedPerformedIters, MaxTimeStep, MBDYN_EXCEPT_ARGS, StepIntegrator::NEWSTEP, and StepIntegrator::REPEATSTEP.
doublereal dReductionFactor
#define MBDYN_EXCEPT_ARGS
doublereal iStepsAfterRaise
doublereal iStepsAfterReduction
doublereal iStepsBeforeReduction
#define ASSERT(expression)
doublereal iWeightedPerformedIters
doublereal dGet(const doublereal &dVar) const 
doublereal iStepsBeforeRaise
 
 
 
Implements TimeStepControl.
Definition at line 255 of file TimeStepControl.cc.
References TimeStepControl::dCurrTimeStep, dDefaultMinTimeStep, DriveOwner::dGet(), dMinTimeStep, iMaxIters, iMinIters, MBDYN_EXCEPT_ARGS, DriveCaller::pCopy(), DriveOwner::pGetDriveCaller(), and DriveOwner::Set().
  262                 silent_cerr(
"error: maximum number of iterations " << 
iMaxIters << 
" less than or equal to minimum " << 
iMinIters << std::endl);
 
  269                         && dInitialMaxTimeStep == std::numeric_limits<doublereal>::max())
 
  271                 silent_cerr(
"warning: maximum time step not set; the initial time step value " << dInitialTimeStep << 
" will be used" << std::endl);
 
  275                 silent_cerr(
"warning: minimum time step not set; the initial time step value " << dInitialTimeStep << 
" will be used" << std::endl);
 
  280                 silent_cerr(
"warning: minimum time step " << 
dMinTimeStep << 
"is equal to (initial) maximum time step " << dInitialMaxTimeStep << 
"; no time step adaptation will take place" << std::endl);
 
  283                 silent_cerr(
"error: minimum time step " << 
dMinTimeStep << 
"is greater than (initial) maximum time step " << dInitialMaxTimeStep << std::endl);
 
static const doublereal dDefaultMinTimeStep
#define MBDYN_EXCEPT_ARGS
DriveCaller * pGetDriveCaller(void) const 
virtual DriveCaller * pCopy(void) const =0
void Set(const DriveCaller *pDC)
doublereal dGet(const doublereal &dVar) const 
 
 
 
  
  | 
        
          | void Factor::SetDriveHandler | ( | const DriveHandler * | driveHandler | ) |  |  | inlinevirtual | 
 
 
The documentation for this class was generated from the following files: