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

#include <N_ANP_DCSweep.h>

Inheritance diagram for Xyce::Analysis::DCSweep:
Collaboration diagram for Xyce::Analysis::DCSweep:

Public Member Functions

 DCSweep (AnalysisManager *anaManagerPtr)
 
virtual ~DCSweep ()
 
bool setAnalysisParams (const N_UTL_OptionBlock &paramsBlock)
 
bool outputFailureStats (std::ostream &os)
 
void setParamsWithOutputMgrAdapter (RefCountPtr< OutputMgrAdapter > &outputMgrAdapterRCPtr)
 
bool run ()
 
bool init ()
 
bool loopProcess ()
 
bool processSuccessfulStep ()
 
bool processFailedStep ()
 
bool finish ()
 
bool handlePredictor ()
 
bool twoLevelStep ()
 
void dcSweepOutput ()
 
void printStepHeader (std::ostream &os)
 
bool printLoopInfo (int start, int finish)
 
- Public Member Functions inherited from Xyce::Analysis::AnalysisBase
 AnalysisBase (AnalysisManager *anaManagerPtr)
 
virtual ~AnalysisBase ()
 
virtual bool outputFailureStats ()
 
virtual int getStepIter ()
 
virtual int getStepNumber ()
 
virtual void setStepNumber (int step)
 
virtual void setTranStepNumber (int step)
 
virtual int getTranStepNumber ()
 
virtual void setSensFlag ()
 
virtual void printProgress (std::ostream &os)
 
virtual void preStepDetails (double maxTimeStepFromHabanero)
 
virtual bool mixedSignalStep ()
 
virtual bool finalizeStep ()
 
virtual bool resetForStepAnalysis ()
 
int setupSweepLoop_ (std::vector< SweepParam > &sweepParamVec)
 
bool updateSweepParams_ (int loopIter, std::vector< SweepParam > &sweepParamVec)
 
virtual bool isAnalysis (int analysis_type)
 
void resetAll ()
 
int saveLoopInfo ()
 
virtual void setBeginningIntegrationFlag (bool bif)
 
virtual bool getBeginningIntegrationFlag ()
 
virtual void setIntegrationMethod (int im)
 
virtual unsigned int getIntegrationMethod ()
 
virtual bool getInputOPFlag ()
 
void gatherStepStatistics_ ()
 
double getTotalLinearSolutionTime () const
 
double getTotalResidualLoadTime () const
 
double getTotalJacobianLoadTime () const
 
bool getDoubleDCOPEnabled ()
 
int getDoubleDCOPStep ()
 
bool firstDoubleDCOPStep_ ()
 

Private Member Functions

void initializeSolution_ ()
 
void takeStep_ ()
 

Private Attributes

bool dcLoopInitialized_
 
int dcLoopSize_
 
std::list< int > dcSweepFailures_
 
RefCountPtr< std::vector
< SweepParam > > 
dcParamVec_
 
std::vector< double > objectiveVec_
 
std::vector< double > dOdpVec_
 
std::vector< double > dOdpAdjVec_
 
std::vector< double > scaled_dOdpVec_
 
std::vector< double > scaled_dOdpAdjVec_
 

Additional Inherited Members

- Public Attributes inherited from Xyce::Analysis::AnalysisBase
RefCountPtr< AnalysisManageranaManagerRCPtr_
 
RefCountPtr< N_TIA_AssemblerassemblerRCPtr_
 
RefCountPtr< N_LAS_System > lasSystemRCPtr_
 
RefCountPtr< N_LOA_Loader > loaderRCPtr_
 
RefCountPtr< N_NLS_ManagernlsMgrRCPtr_
 
RefCountPtr< OutputMgrAdapteroutputMgrAdapterRCPtr_
 
RefCountPtr
< N_TIA_StepErrorControl
secRCPtr_
 
RefCountPtr
< N_TIA_WorkingIntegrationMethod
wimRCPtr_
 
N_TIA_TIAParamstiaParams
 
bool beginningIntegration
 
unsigned int integrationMethod_
 
unsigned int stepNumber
 
unsigned int tranStepNumber
 
unsigned int totalNumberSuccessfulStepsTaken_
 
unsigned int totalNumberSuccessStepsThisParameter_
 
unsigned int totalNumberFailedStepsAttempted_
 
unsigned int totalNumberJacobiansEvaluated_
 
unsigned int totalNumberIterationMatrixFactorizations_
 
unsigned int totalNumberLinearSolves_
 
unsigned int totalNumberFailedLinearSolves_
 
unsigned int totalNumberLinearIters_
 
unsigned int totalNumberResidualEvaluations_
 
unsigned int totalNonlinearConvergenceFailures_
 
double totalLinearSolutionTime_
 
double totalResidualLoadTime_
 
double totalJacobianLoadTime_
 
bool doubleDCOPFlag_
 
int doubleDCOPStep_
 
bool sensFlag_
 
bool inputOPFlag_
 
std::vector< std::vector< int > > saveTimeI
 
std::vector< std::vector
< double > > 
saveTimeD
 
- Protected Attributes inherited from Xyce::Analysis::AnalysisBase
const N_IO_CmdParse & commandLine_
 

Detailed Description

Definition at line 69 of file N_ANP_DCSweep.h.

Constructor & Destructor Documentation

Xyce::Analysis::DCSweep::DCSweep ( AnalysisManager anaManagerPtr)
inline

Definition at line 72 of file N_ANP_DCSweep.h.

virtual Xyce::Analysis::DCSweep::~DCSweep ( )
inlinevirtual

Definition at line 80 of file N_ANP_DCSweep.h.

Member Function Documentation

void Xyce::Analysis::DCSweep::dcSweepOutput ( )

Definition at line 513 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::finish ( )
virtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 422 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::handlePredictor ( )
virtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 447 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::init ( )
virtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 213 of file N_ANP_DCSweep.C.

void Xyce::Analysis::DCSweep::initializeSolution_ ( )
private

Definition at line 268 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::loopProcess ( )
virtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 296 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::outputFailureStats ( std::ostream &  os)

Definition at line 171 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::printLoopInfo ( int  start,
int  finish 
)
virtual

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 604 of file N_ANP_DCSweep.C.

void Xyce::Analysis::DCSweep::printStepHeader ( std::ostream &  os)
virtual

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 588 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::processFailedStep ( )
virtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 402 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::processSuccessfulStep ( )
virtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 351 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::run ( )
virtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 196 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::setAnalysisParams ( const N_UTL_OptionBlock &  paramsBlock)
virtual

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 65 of file N_ANP_DCSweep.C.

void Xyce::Analysis::DCSweep::setParamsWithOutputMgrAdapter ( RefCountPtr< OutputMgrAdapter > &  outputMgrAdapterRCPtr)
inlinevirtual

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 86 of file N_ANP_DCSweep.h.

void Xyce::Analysis::DCSweep::takeStep_ ( )
private

Definition at line 468 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::twoLevelStep ( )
virtual

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 494 of file N_ANP_DCSweep.C.

Member Data Documentation

bool Xyce::Analysis::DCSweep::dcLoopInitialized_
private

Definition at line 115 of file N_ANP_DCSweep.h.

int Xyce::Analysis::DCSweep::dcLoopSize_
private

Definition at line 116 of file N_ANP_DCSweep.h.

RefCountPtr< std::vector <SweepParam> > Xyce::Analysis::DCSweep::dcParamVec_
private

Definition at line 119 of file N_ANP_DCSweep.h.

std::list< int > Xyce::Analysis::DCSweep::dcSweepFailures_
private

Definition at line 118 of file N_ANP_DCSweep.h.

std::vector<double> Xyce::Analysis::DCSweep::dOdpAdjVec_
private

Definition at line 123 of file N_ANP_DCSweep.h.

std::vector<double> Xyce::Analysis::DCSweep::dOdpVec_
private

Definition at line 122 of file N_ANP_DCSweep.h.

std::vector<double> Xyce::Analysis::DCSweep::objectiveVec_
private

Definition at line 121 of file N_ANP_DCSweep.h.

std::vector<double> Xyce::Analysis::DCSweep::scaled_dOdpAdjVec_
private

Definition at line 125 of file N_ANP_DCSweep.h.

std::vector<double> Xyce::Analysis::DCSweep::scaled_dOdpVec_
private

Definition at line 124 of file N_ANP_DCSweep.h.


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