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 &analysis_manager)
 
virtual ~DCSweep ()
 
bool setAnalysisParams (const N_UTL_OptionBlock &paramsBlock)
 
bool outputFailureStats (std::ostream &os)
 
void setParamsWithOutputMgrAdapter (OutputMgrAdapter &outputManagerAdapter)
 
bool getDCOPFlag ()
 
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 &analysis_manager)
 
virtual ~AnalysisBase ()
 
virtual bool setAnalysisParams (const Util::OptionBlock &paramsBlock)
 
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 isAnalysis (int analysis_type)
 
virtual void setBeginningIntegrationFlag (bool bif)
 
virtual bool getBeginningIntegrationFlag ()
 
virtual void setIntegrationMethod (int im)
 
virtual unsigned int getIntegrationMethod ()
 
virtual bool getInputOPFlag ()
 
bool resetForStepAnalysis ()
 
void resetAll ()
 
int saveLoopInfo ()
 
void gatherStepStatistics_ ()
 
double getTotalLinearSolutionTime () const
 
double getTotalResidualLoadTime () const
 
double getTotalJacobianLoadTime () const
 
bool getDoubleDCOPEnabled ()
 
virtual int getDoubleDCOPStep ()
 
bool firstDoubleDCOPStep_ ()
 
const StatCountsgetStatCounts (int index=-1) const
 

Private Member Functions

void initializeSolution_ ()
 
void takeStep_ ()
 

Private Attributes

bool dcLoopInitialized_
 
int dcLoopSize_
 
std::list< int > dcSweepFailures_
 
std::vector< SweepParamdcParamVec_
 
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
StatCounts stats_
 
- Protected Attributes inherited from Xyce::Analysis::AnalysisBase
AnalysisManageranalysisManager_
 
N_LAS_System & linearSystem_
 
N_LOA_Loader & loader_
 
N_LOA_Loader & nonlinearEquationLoader_
 
Nonlinear::ManagernonlinearSolverManager_
 
OutputMgrAdapteroutputManagerAdapter_
 
N_TIA_StepErrorControl *& stepErrorControl_
 Ref to pointer since AnalysisManager will change pointer. More...
 
N_TIA_WorkingIntegrationMethod *& workingIntgMethod_
 Ref to pointer since AnalysisManager will change pointer. More...
 
N_TIA_TIAParamstiaParams_
 
bool beginningIntegration
 
unsigned int integrationMethod_
 Current time-integration method flag. More...
 
unsigned int stepNumber
 Time-integration step number counter. More...
 
unsigned int tranStepNumber
 
bool doubleDCOPFlag_
 true if doing a double-DCOP is possible. More...
 
int doubleDCOPStep_
 current step in the DCOP loop. More...
 
bool sensFlag_
 
bool inputOPFlag_
 true if starting from an initial condition. More...
 
std::vector< StatCountssaveStatCountsVector_
 

Detailed Description

Definition at line 65 of file N_ANP_DCSweep.h.

Constructor & Destructor Documentation

Xyce::Analysis::DCSweep::DCSweep ( AnalysisManager analysis_manager)

Definition at line 64 of file N_ANP_DCSweep.C.

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

Definition at line 70 of file N_ANP_DCSweep.C.

Member Function Documentation

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

Definition at line 540 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 449 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 197 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 474 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 231 of file N_ANP_DCSweep.C.

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

Definition at line 287 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 316 of file N_ANP_DCSweep.C.

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

Definition at line 175 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 629 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 613 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 429 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 378 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 214 of file N_ANP_DCSweep.C.

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

Definition at line 81 of file N_ANP_DCSweep.C.

void Xyce::Analysis::DCSweep::setParamsWithOutputMgrAdapter ( OutputMgrAdapter outputManagerAdapter)
inlinevirtual

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 75 of file N_ANP_DCSweep.h.

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

Definition at line 495 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 521 of file N_ANP_DCSweep.C.

Member Data Documentation

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

Definition at line 106 of file N_ANP_DCSweep.h.

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

Definition at line 107 of file N_ANP_DCSweep.h.

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

Definition at line 110 of file N_ANP_DCSweep.h.

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

Definition at line 109 of file N_ANP_DCSweep.h.

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

Definition at line 114 of file N_ANP_DCSweep.h.

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

Definition at line 113 of file N_ANP_DCSweep.h.

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

Definition at line 112 of file N_ANP_DCSweep.h.

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

Definition at line 116 of file N_ANP_DCSweep.h.

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

Definition at line 115 of file N_ANP_DCSweep.h.


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