Xyce  6.1
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, Nonlinear::Manager &nonlinear_manager, Topo::Topology &topology, HB *hb_analysis=0)
 
virtual ~DCSweep ()
 
void setTIAParams (const TimeIntg::TIAParams &tia_params)
 
const TimeIntg::TIAParamsgetTIAParams () const
 
TimeIntg::TIAParamsgetTIAParams ()
 
bool setAnalysisParams (const Util::OptionBlock &paramsBlock)
 
bool setTimeIntegratorOptions (const Util::OptionBlock &option_block)
 
bool outputFailureStats (std::ostream &os)
 
bool getDCOPFlag () const
 
bool doRun ()
 
bool doInit ()
 
bool doLoopProcess ()
 
bool doProcessSuccessfulStep ()
 
bool doProcessFailedStep ()
 
bool doFinish ()
 
bool doHandlePredictor ()
 
bool twoLevelStep ()
 
void printStepHeader (std::ostream &os)
 
bool printLoopInfo (int start, int finish)
 
- Public Member Functions inherited from Xyce::Analysis::AnalysisBase
 AnalysisBase (AnalysisManager &analysis_manager, const char *name)
 
virtual ~AnalysisBase ()
 
void setTranStepNumber (int step)
 
int getTranStepNumber ()
 
int getStepNumber ()
 
void setStepNumber (int step)
 
bool run ()
 
bool init ()
 
bool loopProcess ()
 
bool processSuccessfulStep ()
 
bool processFailedStep ()
 
bool finish ()
 
bool handlePredictor ()
 
virtual void printProgress (std::ostream &os)
 
virtual bool isAnalysis (int analysis_type) const
 
virtual int getDoubleDCOPStep () const
 
void setBeginningIntegrationFlag (bool bif)
 
bool getBeginningIntegrationFlag () const
 
void setIntegrationMethod (int im)
 
int getIntegrationMethod () const
 
void setInputOPFlag (bool initial_conditions_loaded)
 
bool getInputOPFlag () const
 
bool resetForStepAnalysis ()
 
void resetAll ()
 
int saveLoopInfo ()
 
double getTotalLinearSolutionTime () const
 
double getTotalResidualLoadTime () const
 
double getTotalJacobianLoadTime () const
 
bool getDoubleDCOPEnabled () const
 
bool firstDoubleDCOPStep ()
 
const StatCountsgetStatCounts (int index=-1) const
 
bool setDCOPOption (const Util::Param &param)
 
int getLastDCOPStep () const
 
int getFirstDCOPStep () const
 
bool getNOOP () const
 
void setNOOP (bool noop)
 
const char * getName () const
 

Private Member Functions

void dcSweepOutput ()
 
void initializeSolution_ ()
 
void takeStep_ ()
 

Private Attributes

AnalysisManageranalysisManager_
 
Loader::Loaderloader_
 
Nonlinear::ManagernonlinearManager_
 
Topo::Topology & topology_
 
OutputMgrAdapteroutputManagerAdapter_
 
HBhbAnalysis_
 
TimeIntg::TIAParams tiaParams_
 
bool sensFlag_
 
bool dcLoopInitialized_
 
int dcLoopSize_
 
std::vector< int > dcSweepFailures_
 
SweepVector dcSweepVector_
 
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
bool beginningIntegration
 
unsigned int baseIntegrationMethod_
 Current time-integration method flag. More...
 
unsigned int stepNumber
 Time-integration step number counter. More...
 
unsigned int tranStepNumber
 
bool NOOP_
 
bool doubleDCOPFlag_
 true if doing a double-DCOP is possible. More...
 
int doubleDCOPStep_
 current step in the DCOP loop. More...
 
int firstDCOPStep_
 
int lastDCOPStep_
 
std::vector< StatCountssaveStatCountsVector_
 

Detailed Description

Definition at line 68 of file N_ANP_DCSweep.h.

Constructor & Destructor Documentation

Xyce::Analysis::DCSweep::DCSweep ( AnalysisManager analysis_manager,
Nonlinear::Manager nonlinear_manager,
Topo::Topology &  topology,
HB hb_analysis = 0 
)

Definition at line 69 of file N_ANP_DCSweep.C.

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

Definition at line 87 of file N_ANP_DCSweep.C.

Member Function Documentation

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

Definition at line 521 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 408 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 432 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 187 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 270 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 385 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 337 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 174 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::getDCOPFlag ( ) const
inlinevirtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 96 of file N_ANP_DCSweep.h.

const TimeIntg::TIAParams& Xyce::Analysis::DCSweep::getTIAParams ( ) const
inlinevirtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 83 of file N_ANP_DCSweep.h.

TimeIntg::TIAParams& Xyce::Analysis::DCSweep::getTIAParams ( )
inlinevirtual

Implements Xyce::Analysis::AnalysisBase.

Definition at line 87 of file N_ANP_DCSweep.h.

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

Definition at line 241 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 149 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 621 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 605 of file N_ANP_DCSweep.C.

bool Xyce::Analysis::DCSweep::setAnalysisParams ( const Util::OptionBlock &  paramsBlock)

Definition at line 134 of file N_ANP_DCSweep.C.

void Xyce::Analysis::DCSweep::setTIAParams ( const TimeIntg::TIAParams tia_params)
inline

Definition at line 79 of file N_ANP_DCSweep.h.

bool Xyce::Analysis::DCSweep::setTimeIntegratorOptions ( const Util::OptionBlock &  option_block)

Definition at line 99 of file N_ANP_DCSweep.C.

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

Definition at line 453 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 502 of file N_ANP_DCSweep.C.

Member Data Documentation

AnalysisManager& Xyce::Analysis::DCSweep::analysisManager_
private

Definition at line 121 of file N_ANP_DCSweep.h.

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

Definition at line 132 of file N_ANP_DCSweep.h.

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

Definition at line 133 of file N_ANP_DCSweep.h.

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

Definition at line 134 of file N_ANP_DCSweep.h.

SweepVector Xyce::Analysis::DCSweep::dcSweepVector_
private

Definition at line 136 of file N_ANP_DCSweep.h.

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

Definition at line 140 of file N_ANP_DCSweep.h.

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

Definition at line 139 of file N_ANP_DCSweep.h.

HB* Xyce::Analysis::DCSweep::hbAnalysis_
private

Definition at line 126 of file N_ANP_DCSweep.h.

Loader::Loader& Xyce::Analysis::DCSweep::loader_
private

Definition at line 122 of file N_ANP_DCSweep.h.

Nonlinear::Manager& Xyce::Analysis::DCSweep::nonlinearManager_
private

Definition at line 123 of file N_ANP_DCSweep.h.

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

Definition at line 138 of file N_ANP_DCSweep.h.

OutputMgrAdapter& Xyce::Analysis::DCSweep::outputManagerAdapter_
private

Definition at line 125 of file N_ANP_DCSweep.h.

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

Definition at line 142 of file N_ANP_DCSweep.h.

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

Definition at line 141 of file N_ANP_DCSweep.h.

bool Xyce::Analysis::DCSweep::sensFlag_
private

Definition at line 130 of file N_ANP_DCSweep.h.

TimeIntg::TIAParams Xyce::Analysis::DCSweep::tiaParams_
private

Definition at line 128 of file N_ANP_DCSweep.h.

Topo::Topology& Xyce::Analysis::DCSweep::topology_
private

Definition at line 124 of file N_ANP_DCSweep.h.


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