MBDyn-1.7.3
|
#include <stepsol.h>
Public Member Functions | |
Step1Integrator (const integer MaxIt, const doublereal dT, const doublereal dSolutionTol, const bool bmod_res_test) | |
virtual | ~Step1Integrator (void) |
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) |
Public Member Functions inherited from StepNIntegrator | |
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) |
Public Member Functions inherited from NonlinearProblem | |
virtual | ~NonlinearProblem (void) |
Protected Member Functions | |
void | PredictDof (const int DCount, const DofOrder::Order Order, const VectorHandler *const pSol=0) const |
virtual void | Predict (void) |
virtual doublereal | dPredictDerivative (const doublereal &dXm1, const doublereal &dXPm1, DofOrder::Order o=DofOrder::DIFFERENTIAL) const =0 |
virtual doublereal | dPredictState (const doublereal &dXm1, const doublereal &dXP, const doublereal &dXPm1, DofOrder::Order o=DofOrder::DIFFERENTIAL) const =0 |
virtual doublereal | dPredDer (const doublereal &dXm1, const doublereal &dXPm1) const =0 |
virtual doublereal | dPredState (const doublereal &dXm1, const doublereal &dXP, const doublereal &dXPm1) const =0 |
virtual doublereal | dPredDerAlg (const doublereal &dXm1, const doublereal &dXPm1) const =0 |
virtual doublereal | dPredStateAlg (const doublereal &dXm1, const doublereal &dXP, const doublereal &dXPm1) const =0 |
Protected Member Functions inherited from StepNIntegrator | |
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 |
Protected Attributes | |
VectorHandler * | pXPrev |
VectorHandler * | pXPrimePrev |
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 |
Additional Inherited Members | |
Public Types inherited from StepIntegrator | |
enum | { DIFFERENTIAL = 0, ALGEBRAIC = 1 } |
enum | StepChange { NEWSTEP, REPEATSTEP } |
Public Attributes inherited from StepNIntegrator | |
doublereal | db0Differential |
doublereal | db0Algebraic |
Step1Integrator::Step1Integrator | ( | const integer | MaxIt, |
const doublereal | dT, | ||
const doublereal | dSolutionTol, | ||
const bool | bmod_res_test | ||
) |
Definition at line 560 of file stepsol.cc.
References NO_OP.
|
virtual |
Definition at line 571 of file stepsol.cc.
References NO_OP.
|
virtual |
Implements StepIntegrator.
Definition at line 623 of file stepsol.cc.
References DataManager::AfterConvergence(), DataManager::AfterPredict(), ASSERT, DataManager::dGetTime(), StepIntegrator::dSolTol, StepIntegrator::dTol, DataManager::iGetNumDofs(), DataManager::LinkToSolution(), StepIntegrator::MaxIters, StepIntegrator::outputPred, StepIntegrator::pDM, Solver::pGetNonlinearSolver(), Predict(), ImplicitStepIntegrator::pXCurr, pXPrev, ImplicitStepIntegrator::pXPrimeCurr, pXPrimePrev, StepNIntegrator::SetCoef(), and NonlinearSolver::Solve().
|
protectedpure virtual |
Implemented in ImplicitEulerIntegrator, and CrankNicolsonIntegrator.
Referenced by PredictDof().
|
protectedpure virtual |
Implemented in ImplicitEulerIntegrator, and CrankNicolsonIntegrator.
Referenced by PredictDof().
|
protectedpure virtual |
Implemented in ImplicitEulerIntegrator, and CrankNicolsonIntegrator.
|
protectedpure virtual |
Implemented in ImplicitEulerIntegrator, and CrankNicolsonIntegrator.
|
protectedpure virtual |
Implemented in ImplicitEulerIntegrator, and CrankNicolsonIntegrator.
Referenced by PredictDof().
|
protectedpure virtual |
Implemented in ImplicitEulerIntegrator, and CrankNicolsonIntegrator.
Referenced by PredictDof().
|
protectedvirtual |
Definition at line 615 of file stepsol.cc.
References ASSERT, DEBUGCOUTFNAME, StepIntegrator::pDM, PredictDof(), and StepIntegrator::UpdateLoop().
Referenced by Advance().
|
protected |
Definition at line 581 of file stepsol.cc.
References DofOrder::ALGEBRAIC, DofOrder::DIFFERENTIAL, dPredDer(), dPredDerAlg(), dPredState(), dPredStateAlg(), MBDYN_EXCEPT_ARGS, VectorHandler::PutCoef(), ImplicitStepIntegrator::pXCurr, pXPrev, ImplicitStepIntegrator::pXPrimeCurr, and pXPrimePrev.
Referenced by Predict().
|
protected |
Definition at line 270 of file stepsol.h.
Referenced by Advance(), and PredictDof().
|
protected |
Definition at line 271 of file stepsol.h.
Referenced by Advance(), and PredictDof().