Xyce
6.1
|
#include <N_NLS_Manager.h>
Classes | |
struct | Manager_DCOPRestartOptionsReg |
struct | Manager_HBOptionsReg |
struct | Manager_ICOptionsReg |
struct | Manager_LocaOptionsReg |
struct | Manager_LSOptionsReg |
struct | Manager_NodeSetOptionsReg |
struct | Manager_OptionsReg |
struct | Manager_SensitivityOptionsReg |
struct | Manager_SensOptionsReg |
struct | Manager_TimeOptionsReg |
struct | Manager_TranOptionsReg |
struct | Manager_TwoLvlOptionsReg |
struct | Manager_TwoLvlTranOptionsReg |
Public Member Functions | |
Manager (N_IO_CmdParse &cp) | |
~Manager () | |
bool | setOptions (const N_UTL_OptionBlock &OB) |
bool | setTimeOptions (const N_UTL_OptionBlock &OB) |
bool | setTranOptions (const N_UTL_OptionBlock &OB) |
bool | setHBOptions (const N_UTL_OptionBlock &OB) |
bool | getHBOptions (N_UTL_OptionBlock &HBOB) |
bool | setTwoLevelOptions (const N_UTL_OptionBlock &OB) |
bool | setTwoLevelTranOptions (const N_UTL_OptionBlock &OB) |
bool | setSensOptions (const N_UTL_OptionBlock &OB) |
bool | setSensitivityOptions (const N_UTL_OptionBlock &OB) |
bool | setLinSolOptions (const N_UTL_OptionBlock &OB) |
bool | setLocaOptions (const N_UTL_OptionBlock &OB) |
bool | setTwoLevelLocaOptions (const N_UTL_OptionBlock &OB) |
bool | setDCOPRestartOptions (const N_UTL_OptionBlock &OB) |
bool | setICOptions (const N_UTL_OptionBlock &OB) |
bool | setNodeSetOptions (const N_UTL_OptionBlock &OB) |
bool | registerLoader (N_LOA_Loader *ptr) |
bool | registerOutputMgr (N_IO_OutputMgr *outputPtr) |
bool | registerRHSVector (N_LAS_Vector *ptr) |
bool | registerLinearSystem (N_LAS_System *ptr) |
bool | registerPrecondFactory (const RCP< N_LAS_PrecondFactory > &ptr) |
bool | registerAnalysisManager (N_ANP_AnalysisManager *ptr) |
bool | registerTopology (N_TOP_Topology *topPtr) |
bool | registerPkgOptionsMgr (N_IO_PkgOptionsMgr *pkgOptPtr) |
bool | registerParallelMgr (N_PDS_Manager *pdsMgrPtr) |
bool | registerTIADataStore (N_TIA_DataStore *tiaDSPtr) |
void | setReturnCodes (const ReturnCodes &retCodeTmp) |
ReturnCodes | getReturnCodes () const |
bool | initializeAll () |
int | solve () |
bool | isFirstContinuationParam () |
bool | isFirstSolveComplete () |
int | getContinuationStep () |
bool | getLocaFlag () |
int | getNumIterations () |
int | getNumResidualLoads () |
int | getNumJacobianLoads () |
int | getNumLinearSolves () |
int | getNumFailedLinearSolves () |
int | getNumJacobianFactorizations () |
unsigned int | getTotalNumLinearIters () |
double | getTotalLinearSolveTime () |
double | getTotalResidualLoadTime () |
double | getTotalJacobianLoadTime () |
void | setAnalysisMode (AnalysisMode mode) |
void | resetAll (AnalysisMode mode) |
int | getCouplingMode () |
bool | getTwoLevelSolveFlag () |
void | getNonLinInfo (NonLinInfo &nlInfo) |
bool | enableSensitivity () |
bool | icSensitivity (std::vector< double > &objectiveVec, std::vector< double > &dOdpVec, std::vector< double > &dOdpAdjVec, std::vector< double > &scaled_dOdpVec, std::vector< double > &scaled_dOdpAdjVec) |
bool | calcSensitivity (std::vector< double > &objectiveVec, std::vector< double > &dOdpVec, std::vector< double > &dOdpAdjVec, std::vector< double > &scaled_dOdpVec, std::vector< double > &scaled_dOdpAdjVec) |
bool | obtainConductances (const std::map< std::string, double > &inputMap, std::vector< double > &outputVector, std::vector< std::vector< double > > &jacobian) |
bool | obtainConductances (const std::string &isoName, std::vector< std::vector< double > > &jacobian) |
void | setMatrixFreeFlag (bool matrixFreeFlag) |
void | allocateTranSolver () |
double | getMaxNormF () const |
int | getMaxNormFindex () const |
Private Member Functions | |
bool | allocateSolver_ () |
void | usingNox_ () |
bool | setupSensitivity_ () |
Private Attributes | |
bool | matrixFreeFlag_ |
NonLinearSolver * | nlsPtr_ |
ConductanceExtractor * | conductanceExtractorPtr_ |
Sensitivity * | nlsSensitivityPtr_ |
N_TOP_Topology * | topPtr_ |
N_ANP_AnalysisManager * | anaIntPtr_ |
N_LOA_Loader * | loaderPtr_ |
N_LAS_System * | lasSysPtr_ |
N_LAS_Vector * | rhsVecPtr_ |
N_IO_OutputMgr * | outputPtr_ |
N_PDS_Manager * | pdsMgrPtr_ |
RCP< N_LAS_PrecondFactory > | lasPrecPtr_ |
N_IO_CmdParse & | commandLine_ |
N_IO_PkgOptionsMgr * | pkgOptMgrPtr_ |
N_TIA_DataStore * | dsPtr_ |
bool | twoLevelNewtonFlag_ |
bool | noxFlag_ |
bool | noxFlagInner_ |
bool | noxFlagTransient_ |
std::map< std::string, N_UTL_OptionBlock > | optionBlockMap_ |
bool | setupSensFlag_ |
bool | initializeAllFlag_ |
ReturnCodes | retCodes_ |
Teuchos::RefCountPtr < N_UTL_Expression > | exprPtr |
Definition at line 95 of file N_NLS_Manager.h.
Xyce::Nonlinear::Manager::Manager | ( | N_IO_CmdParse & | cp | ) |
Definition at line 84 of file N_NLS_Manager.C.
Xyce::Nonlinear::Manager::~Manager | ( | ) |
Definition at line 119 of file N_NLS_Manager.C.
|
private |
Definition at line 522 of file N_NLS_Manager.C.
void Xyce::Nonlinear::Manager::allocateTranSolver | ( | ) |
Definition at line 706 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::calcSensitivity | ( | std::vector< double > & | objectiveVec, |
std::vector< double > & | dOdpVec, | ||
std::vector< double > & | dOdpAdjVec, | ||
std::vector< double > & | scaled_dOdpVec, | ||
std::vector< double > & | scaled_dOdpAdjVec | ||
) |
Definition at line 1139 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::enableSensitivity | ( | ) |
Definition at line 1094 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getContinuationStep | ( | ) |
Definition at line 790 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getCouplingMode | ( | ) |
Definition at line 829 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::getHBOptions | ( | N_UTL_OptionBlock & | HBOB | ) |
Definition at line 259 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::getLocaFlag | ( | ) |
Definition at line 803 of file N_NLS_Manager.C.
double Xyce::Nonlinear::Manager::getMaxNormF | ( | ) | const |
Definition at line 864 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getMaxNormFindex | ( | ) | const |
Definition at line 878 of file N_NLS_Manager.C.
void Xyce::Nonlinear::Manager::getNonLinInfo | ( | NonLinInfo & | nlInfo | ) |
Definition at line 842 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getNumFailedLinearSolves | ( | ) |
Definition at line 980 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getNumIterations | ( | ) |
Definition at line 816 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getNumJacobianFactorizations | ( | ) |
Definition at line 1006 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getNumJacobianLoads | ( | ) |
Definition at line 954 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getNumLinearSolves | ( | ) |
Definition at line 967 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::getNumResidualLoads | ( | ) |
Definition at line 941 of file N_NLS_Manager.C.
ReturnCodes Xyce::Nonlinear::Manager::getReturnCodes | ( | ) | const |
Definition at line 1253 of file N_NLS_Manager.C.
double Xyce::Nonlinear::Manager::getTotalJacobianLoadTime | ( | ) |
Definition at line 1045 of file N_NLS_Manager.C.
double Xyce::Nonlinear::Manager::getTotalLinearSolveTime | ( | ) |
Definition at line 1019 of file N_NLS_Manager.C.
unsigned int Xyce::Nonlinear::Manager::getTotalNumLinearIters | ( | ) |
Definition at line 993 of file N_NLS_Manager.C.
double Xyce::Nonlinear::Manager::getTotalResidualLoadTime | ( | ) |
Definition at line 1032 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::getTwoLevelSolveFlag | ( | ) |
bool Xyce::Nonlinear::Manager::icSensitivity | ( | std::vector< double > & | objectiveVec, |
std::vector< double > & | dOdpVec, | ||
std::vector< double > & | dOdpAdjVec, | ||
std::vector< double > & | scaled_dOdpVec, | ||
std::vector< double > & | scaled_dOdpAdjVec | ||
) |
Definition at line 1114 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::initializeAll | ( | ) |
Definition at line 674 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::isFirstContinuationParam | ( | ) |
Definition at line 763 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::isFirstSolveComplete | ( | ) |
Definition at line 776 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::obtainConductances | ( | const std::map< std::string, double > & | inputMap, |
std::vector< double > & | outputVector, | ||
std::vector< std::vector< double > > & | jacobian | ||
) |
Definition at line 1324 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::obtainConductances | ( | const std::string & | isoName, |
std::vector< std::vector< double > > & | jacobian | ||
) |
Definition at line 1361 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerAnalysisManager | ( | N_ANP_AnalysisManager * | ptr | ) |
Definition at line 415 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerLinearSystem | ( | N_LAS_System * | ptr | ) |
Definition at line 387 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerLoader | ( | N_LOA_Loader * | ptr | ) |
Definition at line 359 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerOutputMgr | ( | N_IO_OutputMgr * | outputPtr | ) |
Definition at line 373 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerParallelMgr | ( | N_PDS_Manager * | pdsMgrPtr | ) |
Definition at line 202 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerPkgOptionsMgr | ( | N_IO_PkgOptionsMgr * | pkgOptPtr | ) |
Definition at line 145 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerPrecondFactory | ( | const RCP< N_LAS_PrecondFactory > & | ptr | ) |
Definition at line 401 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerRHSVector | ( | N_LAS_Vector * | ptr | ) |
Definition at line 345 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerTIADataStore | ( | N_TIA_DataStore * | tiaDSPtr | ) |
Definition at line 1222 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::registerTopology | ( | N_TOP_Topology * | topPtr | ) |
Definition at line 1208 of file N_NLS_Manager.C.
void Xyce::Nonlinear::Manager::resetAll | ( | AnalysisMode | mode | ) |
Definition at line 928 of file N_NLS_Manager.C.
void Xyce::Nonlinear::Manager::setAnalysisMode | ( | AnalysisMode | mode | ) |
Definition at line 914 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setDCOPRestartOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 1282 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setHBOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 245 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setICOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 1296 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setLinSolOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 273 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setLocaOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 287 of file N_NLS_Manager.C.
void Xyce::Nonlinear::Manager::setMatrixFreeFlag | ( | bool | matrixFreeFlag | ) |
Definition at line 1346 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setNodeSetOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 1310 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 216 of file N_NLS_Manager.C.
void Xyce::Nonlinear::Manager::setReturnCodes | ( | const ReturnCodes & | retCodeTmp | ) |
Definition at line 1236 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setSensitivityOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 1076 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setSensOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 1058 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setTimeOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 1268 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setTranOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 231 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setTwoLevelLocaOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 301 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setTwoLevelOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 315 of file N_NLS_Manager.C.
bool Xyce::Nonlinear::Manager::setTwoLevelTranOptions | ( | const N_UTL_OptionBlock & | OB | ) |
Definition at line 330 of file N_NLS_Manager.C.
|
private |
Definition at line 1170 of file N_NLS_Manager.C.
int Xyce::Nonlinear::Manager::solve | ( | ) |
Definition at line 891 of file N_NLS_Manager.C.
|
private |
Definition at line 429 of file N_NLS_Manager.C.
|
private |
Definition at line 366 of file N_NLS_Manager.h.
|
private |
Definition at line 374 of file N_NLS_Manager.h.
|
private |
Definition at line 362 of file N_NLS_Manager.h.
|
private |
Definition at line 378 of file N_NLS_Manager.h.
|
private |
Definition at line 399 of file N_NLS_Manager.h.
|
private |
Definition at line 394 of file N_NLS_Manager.h.
|
private |
Definition at line 372 of file N_NLS_Manager.h.
|
private |
Definition at line 368 of file N_NLS_Manager.h.
|
private |
Definition at line 367 of file N_NLS_Manager.h.
|
private |
Definition at line 191 of file N_NLS_Manager.h.
|
private |
Definition at line 360 of file N_NLS_Manager.h.
|
private |
Definition at line 363 of file N_NLS_Manager.h.
|
private |
Definition at line 384 of file N_NLS_Manager.h.
|
private |
Definition at line 385 of file N_NLS_Manager.h.
|
private |
Definition at line 386 of file N_NLS_Manager.h.
|
private |
Definition at line 390 of file N_NLS_Manager.h.
|
private |
Definition at line 370 of file N_NLS_Manager.h.
|
private |
Definition at line 371 of file N_NLS_Manager.h.
|
private |
Definition at line 376 of file N_NLS_Manager.h.
|
private |
Definition at line 397 of file N_NLS_Manager.h.
|
private |
Definition at line 369 of file N_NLS_Manager.h.
|
private |
Definition at line 392 of file N_NLS_Manager.h.
|
private |
Definition at line 364 of file N_NLS_Manager.h.
|
private |
Definition at line 381 of file N_NLS_Manager.h.