MBDyn-1.7.3
|
#include <stepsol.h>
Public Member Functions | |
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 |
virtual doublereal | TestScale (const NonlinearSolverTest *pTest, doublereal &dCoef) 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) |
virtual void | Residual (VectorHandler *pRes) const =0 |
virtual void | Jacobian (MatrixHandler *pJac) const =0 |
virtual void | Update (const VectorHandler *pSol) const =0 |
Protected Attributes | |
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 |
Private Attributes | |
MyVectorHandler | XTau |
MyVectorHandler | SavedState |
MyVectorHandler | SavedDerState |
bool | bEvalProdCalledFirstTime |
Additional Inherited Members | |
Public Types inherited from StepIntegrator | |
enum | { DIFFERENTIAL = 0, ALGEBRAIC = 1 } |
enum | StepChange { NEWSTEP, REPEATSTEP } |
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 |
ImplicitStepIntegrator::ImplicitStepIntegrator | ( | const integer | MaxIt, |
const doublereal | dT, | ||
const doublereal | dSolutionTol, | ||
const integer | stp, | ||
const integer | sts, | ||
const bool | bmod_res_test | ||
) |
Definition at line 124 of file stepsol.cc.
References NO_OP.
|
virtual |
Definition at line 139 of file stepsol.cc.
References NO_OP.
|
virtual |
Implements NonlinearProblem.
Definition at line 145 of file stepsol.cc.
References ASSERT, bEvalProdCalledFirstTime, copysign(), f0, grad::fabs(), VectorHandler::iGetSize(), VectorHandler::InnerProd(), VectorHandler::Norm(), StepIntegrator::pDM, pXCurr, pXPrimeCurr, VectorHandler::Reset(), MyVectorHandler::Reset(), NonlinearProblem::Residual(), MyVectorHandler::Resize(), SavedDerState, SavedState, VectorHandler::ScalarMul(), MyVectorHandler::ScalarMul(), NonlinearProblem::Update(), DataManager::Update(), and XTau.
|
virtual |
Implements NonlinearProblem.
Reimplemented in StepNIntegrator, and DerivativeSolver.
Definition at line 210 of file stepsol.cc.
References ASSERT, bModResTest, DofOrder::DIFFERENTIAL, NonlinearSolverTest::dScaleCoef(), VectorHandler::iGetSize(), StepIntegrator::pDofs, and pXPrimeCurr.
Referenced by StepNIntegrator::TestScale().
|
mutableprivate |
Definition at line 160 of file stepsol.h.
Referenced by EvalProd().
|
protected |
Definition at line 165 of file stepsol.h.
Referenced by TestScale().
|
protected |
Definition at line 163 of file stepsol.h.
Referenced by ThirdOrderIntegrator::Advance(), DerivativeSolver::Advance(), Step1Integrator::Advance(), Step2Integrator::Advance(), EvalProd(), ThirdOrderIntegrator::Jacobian(), ThirdOrderIntegrator::Predict(), Step1Integrator::PredictDof(), Step2Integrator::PredictDof(), ThirdOrderIntegrator::PredictDof_for_AfterPredict(), ThirdOrderIntegrator::RealPredictDof(), ThirdOrderIntegrator::Residual(), ThirdOrderIntegrator::UpdateDof(), DerivativeSolver::UpdateDof(), and StepNIntegrator::UpdateDof().
|
protected |
Definition at line 164 of file stepsol.h.
Referenced by ThirdOrderIntegrator::Advance(), DerivativeSolver::Advance(), Step1Integrator::Advance(), Step2Integrator::Advance(), EvalProd(), ThirdOrderIntegrator::Jacobian(), ThirdOrderIntegrator::Predict(), Step1Integrator::PredictDof(), Step2Integrator::PredictDof(), ThirdOrderIntegrator::PredictDof_for_AfterPredict(), ThirdOrderIntegrator::RealPredictDof(), ThirdOrderIntegrator::Residual(), TestScale(), ThirdOrderIntegrator::UpdateDof(), DerivativeSolver::UpdateDof(), and StepNIntegrator::UpdateDof().
|
mutableprivate |
Definition at line 159 of file stepsol.h.
Referenced by EvalProd().
|
mutableprivate |
Definition at line 158 of file stepsol.h.
Referenced by EvalProd().
|
mutableprivate |
Definition at line 157 of file stepsol.h.
Referenced by EvalProd().