Xyce  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
N_NLS_Manager Class Reference

#include <N_NLS_Manager.h>

Collaboration diagram for N_NLS_Manager:

Classes

struct  N_NLS_Manager_DCOPRestartOptionsReg
 
struct  N_NLS_Manager_HBOptionsReg
 
struct  N_NLS_Manager_ICOptionsReg
 
struct  N_NLS_Manager_LocaOptionsReg
 
struct  N_NLS_Manager_LSOptionsReg
 
struct  N_NLS_Manager_NodeSetOptionsReg
 
struct  N_NLS_Manager_OptionsReg
 
struct  N_NLS_Manager_SensitivityOptionsReg
 
struct  N_NLS_Manager_SensOptionsReg
 
struct  N_NLS_Manager_TimeOptionsReg
 
struct  N_NLS_Manager_TranOptionsReg
 
struct  N_NLS_Manager_TwoLvlOptionsReg
 
struct  N_NLS_Manager_TwoLvlTranOptionsReg
 

Public Member Functions

 N_NLS_Manager (N_IO_CmdParse &cp)
 
 ~N_NLS_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 registerAnalysisInterface (N_ANP_AnalysisInterface *ptr)
 
bool registerTopology (N_TOP_Topology *topPtr)
 
bool registerPkgOptionsMgr (N_IO_PkgOptionsMgr *pkgOptPtr)
 
bool registerParallelMgr (N_PDS_Manager *pdsMgrPtr)
 
void setReturnCodes (const N_NLS_ReturnCodes &retCodeTmp)
 
N_NLS_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 (N_NLS_NonLinInfo &nlInfo)
 
bool enableSensitivity ()
 
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_
 
N_NLS_NonLinearSolvernlsPtr_
 
N_NLS_ConductanceExtractorconductanceExtractorPtr_
 
N_NLS_SensitivitynlsSensitivityPtr_
 
N_TOP_Topology * topPtr_
 
N_ANP_AnalysisInterfaceanaIntPtr_
 
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_
 
bool twoLevelNewtonFlag_
 
bool noxFlag_
 
bool noxFlagInner_
 
bool noxFlagTransient_
 
std::map< std::string,
N_UTL_OptionBlock > 
optionBlockMap_
 
bool setupSensFlag_
 
bool initializeAllFlag_
 
N_NLS_ReturnCodes retCodes_
 
Teuchos::RefCountPtr
< N_UTL_Expression > 
exprPtr
 

Detailed Description

Definition at line 111 of file N_NLS_Manager.h.

Constructor & Destructor Documentation

N_NLS_Manager::N_NLS_Manager ( N_IO_CmdParse &  cp)

Definition at line 79 of file N_NLS_Manager.C.

N_NLS_Manager::~N_NLS_Manager ( )

Definition at line 111 of file N_NLS_Manager.C.

Member Function Documentation

bool N_NLS_Manager::allocateSolver_ ( )
private

Definition at line 514 of file N_NLS_Manager.C.

void N_NLS_Manager::allocateTranSolver ( )

Definition at line 698 of file N_NLS_Manager.C.

bool N_NLS_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 1110 of file N_NLS_Manager.C.

bool N_NLS_Manager::enableSensitivity ( )

Definition at line 1086 of file N_NLS_Manager.C.

int N_NLS_Manager::getContinuationStep ( )

Definition at line 782 of file N_NLS_Manager.C.

int N_NLS_Manager::getCouplingMode ( )

Definition at line 821 of file N_NLS_Manager.C.

bool N_NLS_Manager::getHBOptions ( N_UTL_OptionBlock &  HBOB)

Definition at line 251 of file N_NLS_Manager.C.

bool N_NLS_Manager::getLocaFlag ( )

Definition at line 795 of file N_NLS_Manager.C.

double N_NLS_Manager::getMaxNormF ( ) const

Definition at line 856 of file N_NLS_Manager.C.

int N_NLS_Manager::getMaxNormFindex ( ) const

Definition at line 870 of file N_NLS_Manager.C.

void N_NLS_Manager::getNonLinInfo ( N_NLS_NonLinInfo nlInfo)

Definition at line 834 of file N_NLS_Manager.C.

int N_NLS_Manager::getNumFailedLinearSolves ( )

Definition at line 972 of file N_NLS_Manager.C.

int N_NLS_Manager::getNumIterations ( )

Definition at line 808 of file N_NLS_Manager.C.

int N_NLS_Manager::getNumJacobianFactorizations ( )

Definition at line 998 of file N_NLS_Manager.C.

int N_NLS_Manager::getNumJacobianLoads ( )

Definition at line 946 of file N_NLS_Manager.C.

int N_NLS_Manager::getNumLinearSolves ( )

Definition at line 959 of file N_NLS_Manager.C.

int N_NLS_Manager::getNumResidualLoads ( )

Definition at line 933 of file N_NLS_Manager.C.

N_NLS_ReturnCodes N_NLS_Manager::getReturnCodes ( ) const

Definition at line 1209 of file N_NLS_Manager.C.

double N_NLS_Manager::getTotalJacobianLoadTime ( )

Definition at line 1037 of file N_NLS_Manager.C.

double N_NLS_Manager::getTotalLinearSolveTime ( )

Definition at line 1011 of file N_NLS_Manager.C.

unsigned int N_NLS_Manager::getTotalNumLinearIters ( )

Definition at line 985 of file N_NLS_Manager.C.

double N_NLS_Manager::getTotalResidualLoadTime ( )

Definition at line 1024 of file N_NLS_Manager.C.

bool N_NLS_Manager::getTwoLevelSolveFlag ( )
bool N_NLS_Manager::initializeAll ( )

Definition at line 666 of file N_NLS_Manager.C.

bool N_NLS_Manager::isFirstContinuationParam ( )

Definition at line 755 of file N_NLS_Manager.C.

bool N_NLS_Manager::isFirstSolveComplete ( )

Definition at line 768 of file N_NLS_Manager.C.

bool N_NLS_Manager::obtainConductances ( const std::map< std::string, double > &  inputMap,
std::vector< double > &  outputVector,
std::vector< std::vector< double > > &  jacobian 
)

Definition at line 1280 of file N_NLS_Manager.C.

bool N_NLS_Manager::obtainConductances ( const std::string &  isoName,
std::vector< std::vector< double > > &  jacobian 
)

Definition at line 1317 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerAnalysisInterface ( N_ANP_AnalysisInterface ptr)

Definition at line 407 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerLinearSystem ( N_LAS_System *  ptr)

Definition at line 379 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerLoader ( N_LOA_Loader *  ptr)

Definition at line 351 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerOutputMgr ( N_IO_OutputMgr *  outputPtr)

Definition at line 365 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerParallelMgr ( N_PDS_Manager *  pdsMgrPtr)

Definition at line 194 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerPkgOptionsMgr ( N_IO_PkgOptionsMgr *  pkgOptPtr)

Definition at line 137 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerPrecondFactory ( const RCP< N_LAS_PrecondFactory > &  ptr)

Definition at line 393 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerRHSVector ( N_LAS_Vector *  ptr)

Definition at line 337 of file N_NLS_Manager.C.

bool N_NLS_Manager::registerTopology ( N_TOP_Topology *  topPtr)

Definition at line 1178 of file N_NLS_Manager.C.

void N_NLS_Manager::resetAll ( AnalysisMode  mode)

Definition at line 920 of file N_NLS_Manager.C.

void N_NLS_Manager::setAnalysisMode ( AnalysisMode  mode)

Definition at line 906 of file N_NLS_Manager.C.

bool N_NLS_Manager::setDCOPRestartOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 1238 of file N_NLS_Manager.C.

bool N_NLS_Manager::setHBOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 237 of file N_NLS_Manager.C.

bool N_NLS_Manager::setICOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 1252 of file N_NLS_Manager.C.

bool N_NLS_Manager::setLinSolOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 265 of file N_NLS_Manager.C.

bool N_NLS_Manager::setLocaOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 279 of file N_NLS_Manager.C.

void N_NLS_Manager::setMatrixFreeFlag ( bool  matrixFreeFlag)

Definition at line 1302 of file N_NLS_Manager.C.

bool N_NLS_Manager::setNodeSetOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 1266 of file N_NLS_Manager.C.

bool N_NLS_Manager::setOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 208 of file N_NLS_Manager.C.

void N_NLS_Manager::setReturnCodes ( const N_NLS_ReturnCodes retCodeTmp)

Definition at line 1192 of file N_NLS_Manager.C.

bool N_NLS_Manager::setSensitivityOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 1068 of file N_NLS_Manager.C.

bool N_NLS_Manager::setSensOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 1050 of file N_NLS_Manager.C.

bool N_NLS_Manager::setTimeOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 1224 of file N_NLS_Manager.C.

bool N_NLS_Manager::setTranOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 223 of file N_NLS_Manager.C.

bool N_NLS_Manager::setTwoLevelLocaOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 293 of file N_NLS_Manager.C.

bool N_NLS_Manager::setTwoLevelOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 307 of file N_NLS_Manager.C.

bool N_NLS_Manager::setTwoLevelTranOptions ( const N_UTL_OptionBlock &  OB)

Definition at line 322 of file N_NLS_Manager.C.

bool N_NLS_Manager::setupSensitivity_ ( )
private

Definition at line 1141 of file N_NLS_Manager.C.

int N_NLS_Manager::solve ( )

Definition at line 883 of file N_NLS_Manager.C.

void N_NLS_Manager::usingNox_ ( )
private

Definition at line 421 of file N_NLS_Manager.C.

Member Data Documentation

N_ANP_AnalysisInterface* N_NLS_Manager::anaIntPtr_
private

Definition at line 377 of file N_NLS_Manager.h.

N_IO_CmdParse& N_NLS_Manager::commandLine_
private

Definition at line 385 of file N_NLS_Manager.h.

N_NLS_ConductanceExtractor* N_NLS_Manager::conductanceExtractorPtr_
private

Definition at line 373 of file N_NLS_Manager.h.

Teuchos::RefCountPtr<N_UTL_Expression> N_NLS_Manager::exprPtr
private

Definition at line 408 of file N_NLS_Manager.h.

bool N_NLS_Manager::initializeAllFlag_
private

Definition at line 403 of file N_NLS_Manager.h.

RCP<N_LAS_PrecondFactory> N_NLS_Manager::lasPrecPtr_
private

Definition at line 383 of file N_NLS_Manager.h.

N_LAS_System* N_NLS_Manager::lasSysPtr_
private

Definition at line 379 of file N_NLS_Manager.h.

N_LOA_Loader* N_NLS_Manager::loaderPtr_
private

Definition at line 378 of file N_NLS_Manager.h.

bool N_NLS_Manager::matrixFreeFlag_
private

Definition at line 202 of file N_NLS_Manager.h.

N_NLS_NonLinearSolver* N_NLS_Manager::nlsPtr_
private

Definition at line 371 of file N_NLS_Manager.h.

N_NLS_Sensitivity* N_NLS_Manager::nlsSensitivityPtr_
private

Definition at line 374 of file N_NLS_Manager.h.

bool N_NLS_Manager::noxFlag_
private

Definition at line 393 of file N_NLS_Manager.h.

bool N_NLS_Manager::noxFlagInner_
private

Definition at line 394 of file N_NLS_Manager.h.

bool N_NLS_Manager::noxFlagTransient_
private

Definition at line 395 of file N_NLS_Manager.h.

std::map<std::string,N_UTL_OptionBlock> N_NLS_Manager::optionBlockMap_
private

Definition at line 399 of file N_NLS_Manager.h.

N_IO_OutputMgr* N_NLS_Manager::outputPtr_
private

Definition at line 381 of file N_NLS_Manager.h.

N_PDS_Manager* N_NLS_Manager::pdsMgrPtr_
private

Definition at line 382 of file N_NLS_Manager.h.

N_IO_PkgOptionsMgr* N_NLS_Manager::pkgOptMgrPtr_
private

Definition at line 387 of file N_NLS_Manager.h.

N_NLS_ReturnCodes N_NLS_Manager::retCodes_
private

Definition at line 406 of file N_NLS_Manager.h.

N_LAS_Vector* N_NLS_Manager::rhsVecPtr_
private

Definition at line 380 of file N_NLS_Manager.h.

bool N_NLS_Manager::setupSensFlag_
private

Definition at line 401 of file N_NLS_Manager.h.

N_TOP_Topology* N_NLS_Manager::topPtr_
private

Definition at line 375 of file N_NLS_Manager.h.

bool N_NLS_Manager::twoLevelNewtonFlag_
private

Definition at line 390 of file N_NLS_Manager.h.


The documentation for this class was generated from the following files: