MBDyn-1.7.3
|
#include <stepsol.h>
Public Member Functions | |
StepNIntegrator (const integer MaxIt, const doublereal dT, const doublereal dSolutionTol, const integer stp, const bool bmod_res_test) | |
virtual | ~StepNIntegrator (void) |
virtual void | Residual (VectorHandler *pRes) const |
virtual void | Jacobian (MatrixHandler *pJac) const |
virtual void | Update (const VectorHandler *pSol) const |
virtual doublereal | TestScale (const NonlinearSolverTest *pTest, doublereal &dAlgebraicEqu) const |
Public Member Functions inherited from ImplicitStepIntegrator | |
ImplicitStepIntegrator (const integer MaxIt, const doublereal dT, const doublereal dSolutionTol, const integer stp, const integer sts, const bool bmod_res_test) | |
virtual | ~ImplicitStepIntegrator (void) |
virtual void | EvalProd (doublereal Tau, const VectorHandler &f0, const VectorHandler &w, VectorHandler &z) const |
Public Member Functions inherited from StepIntegrator | |
StepIntegrator (const integer MaxIt, const doublereal dT, const doublereal dSolutionTol, const integer stp, const integer sts) | |
virtual | ~StepIntegrator (void) |
void | SetDataManager (DataManager *pDatMan) |
virtual integer | GetIntegratorNumPreviousStates (void) const |
virtual integer | GetIntegratorNumUnknownStates (void) const |
virtual integer | GetIntegratorMaxIters (void) const |
virtual doublereal | GetIntegratorDTol (void) const |
virtual doublereal | GetIntegratorDSolTol (void) const |
virtual void | OutputTypes (const bool fpred) |
virtual void | SetDriveHandler (const DriveHandler *pDH) |
virtual doublereal | Advance (Solver *pS, const doublereal TStep, const doublereal dAlph, const StepChange StType, std::deque< MyVectorHandler * > &qX, std::deque< MyVectorHandler * > &qXPrime, MyVectorHandler *const pX, MyVectorHandler *const pXPrime, integer &EffIter, doublereal &Err, doublereal &SolErr)=0 |
Public Member Functions inherited from NonlinearProblem | |
virtual | ~NonlinearProblem (void) |
Public Attributes | |
doublereal | db0Differential |
doublereal | db0Algebraic |
Protected Member Functions | |
void | UpdateDof (const int DCount, const DofOrder::Order Order, const VectorHandler *const pSol=0) const |
virtual void | SetCoef (doublereal dT, doublereal dAlpha, enum StepChange NewStep)=0 |
Protected Member Functions inherited from StepIntegrator | |
template<class T > | |
void | UpdateLoop (const T *const t, void(T::*pUpd)(const int DCount, const DofOrder::Order Order, const VectorHandler *const pSol) const, const VectorHandler *const pSol=0) const |
Additional Inherited Members | |
Public Types inherited from StepIntegrator | |
enum | { DIFFERENTIAL = 0, ALGEBRAIC = 1 } |
enum | StepChange { NEWSTEP, REPEATSTEP } |
Protected Attributes inherited from ImplicitStepIntegrator | |
VectorHandler * | pXCurr |
VectorHandler * | pXPrimeCurr |
bool | bModResTest |
Protected Attributes inherited from StepIntegrator | |
DataManager * | pDM |
const DataManager::DofVecType * | pDofs |
bool | outputPred |
integer | MaxIters |
doublereal | dTol |
doublereal | dSolTol |
integer | steps |
integer | unkstates |
StepNIntegrator::StepNIntegrator | ( | const integer | MaxIt, |
const doublereal | dT, | ||
const doublereal | dSolutionTol, | ||
const integer | stp, | ||
const bool | bmod_res_test | ||
) |
Definition at line 446 of file stepsol.cc.
References NO_OP.
|
virtual |
Definition at line 458 of file stepsol.cc.
References NO_OP.
|
virtual |
Implements NonlinearProblem.
Definition at line 472 of file stepsol.cc.
References ASSERT, DataManager::AssJac(), DataManager::AssRes(), db0Differential, MatrixHandler::iGetNumCols(), MatrixHandler::iGetNumRows(), StepIntegrator::pDM, NaiveMatrixHandler::Reset(), Residual(), and Update().
|
virtual |
Implements NonlinearProblem.
Definition at line 464 of file stepsol.cc.
References ASSERT, DataManager::AssRes(), db0Differential, and StepIntegrator::pDM.
Referenced by Jacobian().
|
protectedpure virtual |
Implemented in HopeSolver, MultistepSolver, Step2Integrator, ImplicitEulerIntegrator, and CrankNicolsonIntegrator.
Referenced by Step1Integrator::Advance().
|
virtual |
Reimplemented from ImplicitStepIntegrator.
Definition at line 547 of file stepsol.cc.
References db0Differential, and ImplicitStepIntegrator::TestScale().
|
virtual |
Implements NonlinearProblem.
Definition at line 538 of file stepsol.cc.
References ASSERT, DEBUGCOUTFNAME, StepIntegrator::pDM, DataManager::Update(), UpdateDof(), and StepIntegrator::UpdateLoop().
Referenced by Jacobian().
|
protected |
Definition at line 516 of file stepsol.cc.
References db0Algebraic, db0Differential, DofOrder::DIFFERENTIAL, VectorHandler::IncCoef(), ImplicitStepIntegrator::pXCurr, and ImplicitStepIntegrator::pXPrimeCurr.
Referenced by Update().
doublereal StepNIntegrator::db0Algebraic |
Definition at line 236 of file stepsol.h.
Referenced by CrankNicolsonIntegrator::SetCoef(), ImplicitEulerIntegrator::SetCoef(), MultistepSolver::SetCoef(), HopeSolver::SetCoef(), and UpdateDof().
doublereal StepNIntegrator::db0Differential |
Definition at line 235 of file stepsol.h.
Referenced by CrankNicolsonIntegrator::dPredictState(), ImplicitEulerIntegrator::dPredictState(), CrankNicolsonIntegrator::dPredState(), ImplicitEulerIntegrator::dPredState(), CrankNicolsonIntegrator::dPredStateAlg(), ImplicitEulerIntegrator::dPredStateAlg(), Jacobian(), Residual(), CrankNicolsonIntegrator::SetCoef(), ImplicitEulerIntegrator::SetCoef(), MultistepSolver::SetCoef(), HopeSolver::SetCoef(), TestScale(), and UpdateDof().