Xyce
6.1
|
#include <N_NLS_DampedNewton.h>
Public Member Functions | |
DampedNewton (const IO::CmdParse &cp) | |
~DampedNewton () | |
bool | setOptions (const Util::OptionBlock &OB) |
bool | setTranOptions (const Util::OptionBlock &OB) |
bool | setHBOptions (const Util::OptionBlock &OB) |
bool | setNLPOptions (const Util::OptionBlock &OB) |
bool | initializeAll () |
int | solve (NonLinearSolver *nlsTmpPtr=NULL) |
int | takeFirstSolveStep (NonLinearSolver *nlsTmpPtr=NULL) |
int | takeOneSolveStep () |
int | getNumIterations () const |
int | getDebugLevel () const |
bool | getScreenOutputFlag () const |
double | getDebugMinTime () const |
double | getDebugMaxTime () const |
int | getDebugMinTimeStep () const |
int | getDebugMaxTimeStep () const |
bool | getMMFormat () const |
int | getContinuationStep () const |
int | getParameterNumber () const |
bool | isFirstContinuationParam () const |
bool | isFirstSolveComplete () const |
void | setAnalysisMode (AnalysisMode mode) |
double | getMaxNormF () const |
int | getMaxNormFindex () const |
![]() | |
NonLinearSolver (const IO::CmdParse &cp) | |
virtual | ~NonLinearSolver () |
bool | getMatrixFreeFlag () const |
void | setMatrixFreeFlag (bool matrixFreeFlag) |
virtual bool | setLocaOptions (const Util::OptionBlock &OB) |
virtual bool | setTwoLevelLocaOptions (const Util::OptionBlock &OB) |
virtual bool | setTwoLevelOptions (const Util::OptionBlock &OB) |
virtual bool | setTwoLevelTranOptions (const Util::OptionBlock &OB) |
virtual bool | setLinsolOptions (const Util::OptionBlock &OB) |
virtual bool | setDCOPRestartOptions (const Util::OptionBlock &OB) |
virtual bool | setICOptions (const Util::OptionBlock &OB) |
virtual bool | setNodeSetOptions (const Util::OptionBlock &OB) |
virtual bool | registerLinearSystem (Linear::System *ptr) |
virtual bool | registerAnalysisManager (Analysis::AnalysisManager *tmp_anaIntPtr) |
virtual bool | registerNonlinearEquationLoader (Loader::NonlinearEquationLoader *ptr) |
virtual bool | registerTIADataStore (TimeIntg::DataStore *ptr) |
virtual bool | registerParallelMgr (N_PDS_Manager *ptr) |
bool | registerRHSVector (Linear::Vector *ptr) |
bool | registerTwoLevelSolver (TwoLevelNewton *ptr) |
bool | registerParamMgr (ParamMgr *ptr) |
bool | registerPrecondFactory (const Linear::PrecondFactory *ptr) |
bool | registerOutputMgr (IO::OutputMgr *outPtr) |
bool | registerInitialConditionsManager (IO::InitialConditionsManager *outPtr) |
virtual bool | getLocaFlag () |
virtual int | getNumResidualLoads () |
virtual int | getNumJacobianLoads () |
virtual int | getNumLinearSolves () |
virtual int | getNumFailedLinearSolves () |
virtual int | getNumJacobianFactorizations () |
virtual unsigned int | getTotalNumLinearIters () |
virtual double | getTotalLinearSolveTime () |
virtual double | getTotalResidualLoadTime () |
virtual double | getTotalJacobianLoadTime () |
virtual TwoLevelNewtonMode | getCouplingMode () |
virtual void | resetAll (AnalysisMode mode) |
virtual void | setReturnCodes (const ReturnCodes &retCodesTmp) |
virtual bool | enableSensitivity () |
void | debugOutput1 (Linear::Matrix &jacobian, Linear::Vector &rhs) |
void | debugOutput3 (Linear::Vector &dxVector, Linear::Vector &xVector) |
void | debugOutputDAE () |
void | debugOutputJDX_VOLTLIM () |
void | setDebugFlags (int output_step_number, double time) |
virtual bool | applyJacobian (const Linear::Vector &input, Linear::Vector &result) |
Private Member Functions | |
void | updateWeights_ () |
void | printHeader_ (std::ostream &os) |
void | printFooter_ (std::ostream &os) |
void | printStepInfo_ (std::ostream &os, int step) |
bool | rhs_ () |
bool | newton_ () |
void | direction_ () |
void | updateX_ () |
bool | computeStepLength_ () |
bool | divide_ () |
bool | backtrack_ () |
bool | fullNewton_ () |
bool | simpleBacktrack_ () |
bool | simpleBt_ (double gsinit, double finit) |
double | constrain_ () |
void | setForcing_ (const double) |
void | evalModNewton_ () |
int | converged_ () |
void | resetCountersAndTimers_ () |
Private Attributes | |
double | resConvRate_ |
Convergence Rate. More... | |
double | wtUpdateConvRate_ |
Weighted convergence Rate. More... | |
ConstraintBT * | nlConstraintPtr_ |
Constraint object pointer. More... | |
double | normRHS_ |
double | maxNormRHS_ |
int | maxNormRHSindex_ |
double | normRHS_init_ |
double | normDX_ |
double | wtNormDX_ |
double | normRHS_rel_ |
double | normSoln_ |
double | stepLength_ |
double | BTUpper_ |
double | BTLower_ |
double | constraintFactor_ |
unsigned | nlStep_ |
unsigned | newtonStep_ |
unsigned | modNewtonStep_ |
unsigned | descentStep_ |
unsigned | searchStep_ |
Linear::Vector * | searchDirectionPtr_ |
Pointer to direction vector. More... | |
Linear::Vector * | tmpVectorPtr_ |
int | iNumCalls_ |
double | delta_ |
bool | loadJacobianFlag_ |
bool | firstTime |
double | initialDeltaXTol |
NLParams | nlParams |
double | etaOld |
double | nlResNormOld |
double | tmpConvRate |
bool | linearStatus_ |
int | count |
Definition at line 67 of file N_NLS_DampedNewton.h.
Xyce::Nonlinear::DampedNewton::DampedNewton | ( | const IO::CmdParse & | cp | ) |
Definition at line 86 of file N_NLS_DampedNewton.C.
Xyce::Nonlinear::DampedNewton::~DampedNewton | ( | ) |
Definition at line 133 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1415 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1149 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1736 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1612 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1041 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1197 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1529 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1503 of file N_NLS_DampedNewton.C.
|
virtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 1843 of file N_NLS_DampedNewton.C.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 246 of file N_NLS_DampedNewton.h.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 276 of file N_NLS_DampedNewton.h.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 296 of file N_NLS_DampedNewton.h.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 266 of file N_NLS_DampedNewton.h.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 286 of file N_NLS_DampedNewton.h.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 104 of file N_NLS_DampedNewton.h.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 107 of file N_NLS_DampedNewton.h.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 306 of file N_NLS_DampedNewton.h.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 236 of file N_NLS_DampedNewton.h.
|
virtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 1851 of file N_NLS_DampedNewton.C.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 256 of file N_NLS_DampedNewton.h.
|
virtual |
Reimplemented from Xyce::Nonlinear::NonLinearSolver.
Definition at line 224 of file N_NLS_DampedNewton.C.
|
virtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 1835 of file N_NLS_DampedNewton.C.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 344 of file N_NLS_DampedNewton.h.
|
privatevirtual |
Reimplemented from Xyce::Nonlinear::NonLinearSolver.
Definition at line 1016 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 282 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 267 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 295 of file N_NLS_DampedNewton.C.
|
inlineprivatevirtual |
Reimplemented from Xyce::Nonlinear::NonLinearSolver.
Definition at line 333 of file N_NLS_DampedNewton.h.
|
privatevirtual |
Reimplemented from Xyce::Nonlinear::NonLinearSolver.
Definition at line 991 of file N_NLS_DampedNewton.C.
|
inlinevirtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 324 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 1774 of file N_NLS_DampedNewton.C.
|
virtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 187 of file N_NLS_DampedNewton.C.
|
virtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 205 of file N_NLS_DampedNewton.C.
|
virtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 152 of file N_NLS_DampedNewton.C.
|
virtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 170 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1274 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 1334 of file N_NLS_DampedNewton.C.
|
virtual |
Implements Xyce::Nonlinear::NonLinearSolver.
Definition at line 369 of file N_NLS_DampedNewton.C.
|
virtual |
Reimplemented from Xyce::Nonlinear::NonLinearSolver.
Definition at line 602 of file N_NLS_DampedNewton.C.
|
virtual |
Reimplemented from Xyce::Nonlinear::NonLinearSolver.
Definition at line 817 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 315 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 974 of file N_NLS_DampedNewton.C.
|
private |
Definition at line 178 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 177 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 181 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 228 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 207 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 193 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 222 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 217 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 218 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 205 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 226 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 210 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 156 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 157 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 190 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 187 of file N_NLS_DampedNewton.h.
|
private |
Constraint object pointer.
Definition at line 152 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 220 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 223 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 184 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 162 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 155 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 159 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 168 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 171 of file N_NLS_DampedNewton.h.
|
private |
Convergence Rate.
Definition at line 146 of file N_NLS_DampedNewton.h.
|
private |
Pointer to direction vector.
Definition at line 200 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 196 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 174 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 224 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 203 of file N_NLS_DampedNewton.h.
|
private |
Definition at line 165 of file N_NLS_DampedNewton.h.
|
private |
Weighted convergence Rate.
Definition at line 149 of file N_NLS_DampedNewton.h.