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, Loader::Loader &loader, Topo::Topology &topology, IO::InitialConditionsManager &initial_conditions_manager, 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 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 processSuccessfulStep ()
 
bool processFailedStep ()
 
bool finish ()
 
bool handlePredictor ()
 
virtual void printProgress (std::ostream &os)
 
virtual bool isAnalysis (int analysis_type) const
 
bool getDoubleDCOPEnabled () const
 
void setDoubleDCOPEnabled (bool enable)
 
virtual int getDoubleDCOPStep () const
 
bool firstDoubleDCOPStep () const
 
void nextDCOPStep ()
 
bool setDCOPOption (const Util::Param &param)
 
bool getNOOP () const
 
void setNOOP (bool noop)
 
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
 
const StatCountsgetStatCounts (int index=-1) const
 
const char * getName () const
 
- Public Member Functions inherited from Xyce::Analysis::ProcessorBase
 ProcessorBase ()
 
virtual ~ProcessorBase ()
 

Protected Member Functions

bool doRun ()
 
bool doInit ()
 
bool doLoopProcess ()
 
bool doProcessSuccessfulStep ()
 
bool doProcessFailedStep ()
 
bool doFinish ()
 
bool doHandlePredictor ()
 

Private Member Functions

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

Private Attributes

AnalysisManageranalysisManager_
 
Loader::Loaderloader_
 
Nonlinear::ManagernonlinearManager_
 
Topo::Topology & topology_
 
IO::InitialConditionsManager & initialConditionsManager_
 
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
 
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,
Loader::Loader loader,
Topo::Topology &  topology,
IO::InitialConditionsManager &  initial_conditions_manager,
HB hb_analysis = 0 
)

Definition at line 83 of file N_ANP_DCSweep.C.

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

Definition at line 112 of file N_ANP_DCSweep.C.

Member Function Documentation

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

Definition at line 565 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 447 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 471 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 211 of file N_ANP_DCSweep.C.

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

Definition at line 302 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 424 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 375 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 198 of file N_ANP_DCSweep.C.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 101 of file N_ANP_DCSweep.h.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 86 of file N_ANP_DCSweep.h.

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

Implements Xyce::Analysis::AnalysisBase.

Definition at line 91 of file N_ANP_DCSweep.h.

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

Definition at line 268 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 173 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 667 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 651 of file N_ANP_DCSweep.C.

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

Definition at line 158 of file N_ANP_DCSweep.C.

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

Definition at line 81 of file N_ANP_DCSweep.h.

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

Definition at line 123 of file N_ANP_DCSweep.C.

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

Definition at line 497 of file N_ANP_DCSweep.C.

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

Reimplemented from Xyce::Analysis::AnalysisBase.

Definition at line 546 of file N_ANP_DCSweep.C.

Member Data Documentation

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

Definition at line 128 of file N_ANP_DCSweep.h.

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

Definition at line 137 of file N_ANP_DCSweep.h.

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

Definition at line 138 of file N_ANP_DCSweep.h.

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

Definition at line 139 of file N_ANP_DCSweep.h.

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

Definition at line 140 of file N_ANP_DCSweep.h.

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

Definition at line 143 of file N_ANP_DCSweep.h.

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

Definition at line 142 of file N_ANP_DCSweep.h.

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

Definition at line 134 of file N_ANP_DCSweep.h.

IO::InitialConditionsManager& Xyce::Analysis::DCSweep::initialConditionsManager_
private

Definition at line 132 of file N_ANP_DCSweep.h.

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

Definition at line 129 of file N_ANP_DCSweep.h.

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

Definition at line 130 of file N_ANP_DCSweep.h.

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

Definition at line 141 of file N_ANP_DCSweep.h.

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

Definition at line 133 of file N_ANP_DCSweep.h.

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

Definition at line 145 of file N_ANP_DCSweep.h.

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

Definition at line 144 of file N_ANP_DCSweep.h.

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

Definition at line 136 of file N_ANP_DCSweep.h.

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

Definition at line 135 of file N_ANP_DCSweep.h.

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

Definition at line 131 of file N_ANP_DCSweep.h.


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