Xyce  6.1
Xyce::Analysis::AnalysisManager Class Reference

#include <N_ANP_AnalysisManager.h>

Inheritance diagram for Xyce::Analysis::AnalysisManager:
Collaboration diagram for Xyce::Analysis::AnalysisManager:

Public Member Functions

 AnalysisManager (const IO::CmdParse &command_line, IO::RestartMgr &restart_manager, OutputMgrAdapter &output_manager_adapter, Stats::Stat analysis_stat)
 Constructs the analysis manager. More...
 
virtual ~AnalysisManager ()
 
void notify (const StepEvent &step_event)
 Notification that there is a StepEvent. More...
 
void notify (const AnalysisEvent &analysis_event)
 Notification that there is a AnalysisEvent. More...
 
Loader::LoadercreateLoader (Device::DeviceMgr &device_manager)
 Creates the defaults circuit loader. More...
 
void allocateAnalysisObject ()
 Creates the primary analysis and driving analysis (.STEP, dakota). More...
 
bool initializeSolverSystem (const TimeIntg::TIAParams &tia_params, Loader::Loader &loader, Linear::System &linear_system, Nonlinear::Manager &nonlinear_manager, Device::DeviceMgr &device_manager)
 Initializes the solver system. More...
 
void resetSolverSystem ()
 
bool run ()
 Runs the top level analysis. More...
 
double getTime () const
 
double getFinalTime () const
 
double getInitialTime () const
 
bool updateDivDiffs ()
 
bool updateDerivs ()
 
bool completeOPStartStep ()
 
bool completeHomotopyStep (Loader::NonlinearEquationLoader &loader, const std::vector< std::string > &paramNames, const std::vector< double > &paramVals, Linear::Vector *solnVecPtr)
 
bool failHomotopyStep (Loader::NonlinearEquationLoader &loader)
 
bool updateDerivsBlock (const std::list< IndexPair > &solGIDList, const std::list< IndexPair > &staGIDList)
 
bool printLoopInfo (int start, int finish)
 
bool getDCOPFlag () const
 
bool getTranOPFlag () const
 
bool getACOPFlag () const
 
bool getDCSweepFlag () const
 
bool getDotOpSpecified ()
 
bool getSweepSourceResetFlag () const
 
void setSweepSourceResetFlag (bool ssrf)
 
bool getTransientFlag () const
 
bool getDoubleDCOPEnabled () const
 
void setTwoLevelMode (TwoLevelMode current_mode)
 
TwoLevelMode getTwoLevelMode () const
 
bool getBlockAnalysisFlag () const
 Return true if primary analysis is HB or MPDE. More...
 
int getDoubleDCOPStep () const
 
int getStepNumber () const
 
int getTranStepNumber ()
 
void setStepNumber (int step)
 
void setTranStepNumber (int step)
 
bool getInitTranFlag () const
 
const IO::CmdParse & getCommandLine () const
 
const std::string & getNetlistFilename () const
 
bool isSimulationComplete ()
 
int getRestartDataSize (bool pack) const
 
bool setDCAnalysisParams (const Util::OptionBlock &paramsBlock)
 
bool setOPAnalysisParams (const Util::OptionBlock &paramsBlock)
 
bool setSaveOptions (const Util::OptionBlock &OB)
 
bool setDCOPRestartParams (const Util::OptionBlock &OB)
 
bool setACAnalysisParams (const Util::OptionBlock &OB)
 
bool setNOISEAnalysisParams (const Util::OptionBlock &OB)
 
void setPauseTime (double pauseTime, double initial_time)
 
double getPauseTime () const
 
bool isPaused () const
 
void setResumeSimulation (bool resume)
 
bool setSensOptions (const Util::OptionBlock &OB)
 
bool setLoader (Loader::Loader &loader_)
 
bool registerParallelServices (Parallel::Manager *pds_tmp)
 
bool registerElapsedTimer (Util::Timer *)
 
bool dumpRestartData (char *buf, int bsize, int &pos, Parallel::Communicator *comm, bool pack)
 
bool restoreRestartData (char *buf, int bsize, int &pos, Parallel::Communicator *comm, bool pack)
 
bool getSolnVarData (const int &gid, std::vector< double > &varData) const
 
bool getStateVarData (const int &gid, std::vector< double > &varData) const
 
bool getStoreVarData (const int &gid, std::vector< double > &varData) const
 
bool setSolnVarData (const int &gid, const std::vector< double > &varData)
 
bool setStateVarData (const int &gid, const std::vector< double > &varData)
 
bool setStoreVarData (const int &gid, const std::vector< double > &varData)
 
void setBeginningIntegrationFlag (bool bif)
 
bool getBeginningIntegrationFlag () const
 
void setIntegrationMethod (int im)
 
int getIntegrationMethod ()
 
double getTotalLinearSolutionTime () const
 
double getTotalResidualLoadTime () const
 
double getTotalJacobianLoadTime () const
 
bool setNextSolVectorPtr (Linear::Vector *solVecPtr)
 
void initializeTransientModel (const TimeIntg::TIAParams &tia_params)
 
void createTimeIntegratorMethod (const TimeIntg::TIAParams &tia_params, const unsigned int integration_method)
 
const TimeIntg::TIAParamsgetTIAParams () const
 
TimeIntg::TIAParamsgetTIAParams ()
 
bool getSensFlag () const
 
void addAnalysisFactory (Factory< void > *factory)
 
void addAnalysis (Factory< void > *factory)
 
void setDAEStateDerivFlag (bool state)
 
bool testRestartSaveTime ()
 
bool testDCOPOutputTime ()
 Returns true if the DCOP Restart parameters have been set. More...
 
bool testSaveOutputTime ()
 
TimeIntg::DataStoregetDataStore ()
 
const AnalysisBasegetAnalysisObject () const
 
AnalysisBasegetAnalysisObject ()
 
void setPrimaryAnalysisObject (AnalysisBase *primary)
 
CreatorVectorgetCreatorVector ()
 
Parallel::Manager * getPDSManager () const
 
bool getSwitchIntegrator () const
 
void setSwitchIntegrator (bool switch_itegrator)
 
void setNextOutputTime (double next_output_time)
 
double getNextOutputTime () const
 
Util::Timer & getXyceTranTimer ()
 
OutputMgrAdaptergetOutputManagerAdapter () const
 
TimeIntg::WorkingIntegrationMethodgetWorkingIntegrationMethod ()
 
const TimeIntg::WorkingIntegrationMethodgetWorkingIntegrationMethod () const
 
TimeIntg::StepErrorControlgetStepErrorControl ()
 
const TimeIntg::StepErrorControlgetStepErrorControl () const
 
Loader::NonlinearEquationLoadergetNonlinearEquationLoader ()
 
Loader::LoadergetLoader ()
 
const Loader::LoadergetLoader () const
 
void setAnalysisMode (Mode analysis_mode)
 
Mode getAnalysisMode () const
 
double getSolverStartTime () const
 
void silenceProgress ()
 
bool getProgressFlag () const
 
double getSaveTime () const
 
void pushActiveAnalysis (AnalysisBase *analysis)
 
void popActiveAnalysis ()
 
const AnalysisBasegetActiveAnalysis () const
 
bool getResumingSimulation () const
 

Public Attributes

unsigned int breakPointRestartStep
 

Private Member Functions

 AnalysisManager (const AnalysisManager &)
 
AnalysisManageroperator= (const AnalysisManager &)
 

Private Attributes

const IO::CmdParse & commandLine_
 Command line object. More...
 
const std::string netlistFilename_
 Netlist file name. More...
 
IO::RestartMgr & restartManager_
 Restart manager. More...
 
OutputMgrAdapteroutputManagerAdapter_
 Output manager adapter. More...
 
TimeIntg::WorkingIntegrationMethodworkingIntgMethod_
 Working integration method. More...
 
TimeIntg::StepErrorControlstepErrorControl_
 Pointer to the TIA step-error control object. More...
 
Loader::NonlinearEquationLoadernonlinearEquationLoader_
 Pointer to the nonlinear equation loader. More...
 
Loader::Loaderloader_
 Pointer to the nonlinear loader object. More...
 
Loader::CktLoadercktLoaderPtr_
 'real' pointer to the ckt-loader More...
 
Parallel::Manager * parallelManager_
 Pointer to the parallel services manager. More...
 
TimeIntg::DataStoredataStore_
 Data store object. More...
 
IO::ActiveOutput * activeOutput_
 
Mode analysisMode_
 
TwoLevelMode twoLevelMode_
 
bool resumeSimulation_
 Resume simulation from a paused transient. More...
 
bool blockAnalysisFlag_
 HB Analysis (maybe something with MPDE too) More...
 
bool daeStateDerivFlag_
 .OPTIONS TIMEINT DAESTATEDERIV= More...
 
bool dcopRestartFlag_
 Set if .OPTIONS OP_IO. More...
 
bool saveFlag_
 Set if .SAVE. More...
 
bool dotOpSpecified_
 Set if .OP. More...
 
bool gui_
 Set if -giu appears on command line. More...
 
bool progressFlag_
 
bool saveTimeGiven_
 
bool savedAlready_
 
bool sensFlag_
 
bool sweepSourceResetFlag_
 
bool switchIntegrator_
 Set to true when Transient::integrationMethod_ is changed. More...
 
Util::Timer xyceTranTimerPtr_
 
Util::Timer * elapsedTimerPtr_
 Xyce timing utility for timing the transient simulation CPU time. More...
 
double solverStartTime_
 Xyce timing utility for timing elapsed run time. More...
 
double saveTime_
 
double nextOutputTime_
 for .SAVE and/or DCOP restart. More...
 
double nextRestartSaveTime_
 
AnalysisBaseanalysisObject_
 .STEP, Dakota More...
 
AnalysisBaseprimaryAnalysisObject_
 .TRAN, .AC, .HB, ... More...
 
std::vector< AnalysisBase * > analysisVector_
 
std::vector< AnalysisBase * > currentAnalysisStack_
 
CreatorVector creatorVector_
 
Registry registry_
 
Stats::Stat analysisStat_
 

Detailed Description

Definition at line 124 of file N_ANP_AnalysisManager.h.

Constructor & Destructor Documentation

Xyce::Analysis::AnalysisManager::AnalysisManager ( const IO::CmdParse &  command_line,
IO::RestartMgr &  restart_manager,
OutputMgrAdapter output_manager_adapter,
Stats::Stat  analysis_stat 
)

Constructs the analysis manager.

The analysis manager is responsible for the construction and control of the top level analysis.

Invariant
Parameters
command_lineCommand line that started Xyce
restart_manager
output_manager_adapter
analysis_statBase node of the analysis stats collection

Definition at line 188 of file N_ANP_AnalysisManager.C.

Xyce::Analysis::AnalysisManager::~AnalysisManager ( )
virtual

Definition at line 247 of file N_ANP_AnalysisManager.C.

Xyce::Analysis::AnalysisManager::AnalysisManager ( const AnalysisManager )
private

Member Function Documentation

void Xyce::Analysis::AnalysisManager::addAnalysis ( Factory< void > *  factory)
inline

Definition at line 392 of file N_ANP_AnalysisManager.h.

void Xyce::Analysis::AnalysisManager::addAnalysisFactory ( Factory< void > *  factory)
inline

Definition at line 388 of file N_ANP_AnalysisManager.h.

void Xyce::Analysis::AnalysisManager::allocateAnalysisObject ( )

Creates the primary analysis and driving analysis (.STEP, dakota).

If no analysis was specified and .OP was specified, create a DC analysis as the primary analysis

Invariant

Definition at line 580 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::completeHomotopyStep ( Loader::NonlinearEquationLoader loader,
const std::vector< std::string > &  paramNames,
const std::vector< double > &  paramVals,
Linear::Vector *  solnVecPtr 
)

Definition at line 893 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::completeOPStartStep ( )

Definition at line 872 of file N_ANP_AnalysisManager.C.

Loader::Loader & Xyce::Analysis::AnalysisManager::createLoader ( Device::DeviceMgr device_manager)

Creates the defaults circuit loader.

Invariant
This circuit loader is owned by the manager and will be destroyed during manager destruction.
Parameters
device_managerDevice manager needed to construct the circuit loader.
Returns
default circuit loader

Definition at line 375 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::createTimeIntegratorMethod ( const TimeIntg::TIAParams tia_params,
const unsigned int  integration_method 
)

Definition at line 307 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::dumpRestartData ( char *  buf,
int  bsize,
int &  pos,
Parallel::Communicator *  comm,
bool  pack 
)

Definition at line 1505 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::failHomotopyStep ( Loader::NonlinearEquationLoader loader)

Definition at line 929 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getACOPFlag ( ) const

Definition at line 1367 of file N_ANP_AnalysisManager.C.

const AnalysisBase* Xyce::Analysis::AnalysisManager::getActiveAnalysis ( ) const
inline

Definition at line 519 of file N_ANP_AnalysisManager.h.

Mode Xyce::Analysis::AnalysisManager::getAnalysisMode ( ) const
inline

Definition at line 490 of file N_ANP_AnalysisManager.h.

const AnalysisBase& Xyce::Analysis::AnalysisManager::getAnalysisObject ( ) const
inline

Definition at line 414 of file N_ANP_AnalysisManager.h.

AnalysisBase& Xyce::Analysis::AnalysisManager::getAnalysisObject ( )
inline

Definition at line 418 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::getBeginningIntegrationFlag ( ) const

Definition at line 1088 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getBlockAnalysisFlag ( ) const

Return true if primary analysis is HB or MPDE.

Returns
true if primary analysis is HB or MPDE.

Definition at line 502 of file N_ANP_AnalysisManager.C.

const IO::CmdParse& Xyce::Analysis::AnalysisManager::getCommandLine ( ) const
inline

Definition at line 250 of file N_ANP_AnalysisManager.h.

CreatorVector& Xyce::Analysis::AnalysisManager::getCreatorVector ( )
inline

Definition at line 426 of file N_ANP_AnalysisManager.h.

TimeIntg::DataStore* Xyce::Analysis::AnalysisManager::getDataStore ( )
inline

Definition at line 410 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::getDCOPFlag ( ) const

Definition at line 1338 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getDCSweepFlag ( ) const

Definition at line 1388 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getDotOpSpecified ( )
inline

Definition at line 206 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::getDoubleDCOPEnabled ( ) const

Definition at line 1168 of file N_ANP_AnalysisManager.C.

int Xyce::Analysis::AnalysisManager::getDoubleDCOPStep ( ) const

Definition at line 1415 of file N_ANP_AnalysisManager.C.

double Xyce::Analysis::AnalysisManager::getFinalTime ( ) const

Definition at line 1311 of file N_ANP_AnalysisManager.C.

double Xyce::Analysis::AnalysisManager::getInitialTime ( ) const

Definition at line 1324 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getInitTranFlag ( ) const

Definition at line 1285 of file N_ANP_AnalysisManager.C.

int Xyce::Analysis::AnalysisManager::getIntegrationMethod ( )

Definition at line 1115 of file N_ANP_AnalysisManager.C.

Loader::Loader& Xyce::Analysis::AnalysisManager::getLoader ( )
inline

Definition at line 478 of file N_ANP_AnalysisManager.h.

const Loader::Loader& Xyce::Analysis::AnalysisManager::getLoader ( ) const
inline

Definition at line 482 of file N_ANP_AnalysisManager.h.

const std::string& Xyce::Analysis::AnalysisManager::getNetlistFilename ( ) const
inline

Definition at line 254 of file N_ANP_AnalysisManager.h.

double Xyce::Analysis::AnalysisManager::getNextOutputTime ( ) const
inline

Definition at line 446 of file N_ANP_AnalysisManager.h.

Loader::NonlinearEquationLoader& Xyce::Analysis::AnalysisManager::getNonlinearEquationLoader ( )
inline

Definition at line 474 of file N_ANP_AnalysisManager.h.

OutputMgrAdapter& Xyce::Analysis::AnalysisManager::getOutputManagerAdapter ( ) const
inline

Definition at line 454 of file N_ANP_AnalysisManager.h.

double Xyce::Analysis::AnalysisManager::getPauseTime ( ) const

Definition at line 1209 of file N_ANP_AnalysisManager.C.

Parallel::Manager* Xyce::Analysis::AnalysisManager::getPDSManager ( ) const
inline

Definition at line 430 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::getProgressFlag ( ) const
inline

Definition at line 503 of file N_ANP_AnalysisManager.h.

int Xyce::Analysis::AnalysisManager::getRestartDataSize ( bool  pack) const

Definition at line 1492 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getResumingSimulation ( ) const
inline

Definition at line 523 of file N_ANP_AnalysisManager.h.

double Xyce::Analysis::AnalysisManager::getSaveTime ( ) const
inline

Definition at line 507 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::getSensFlag ( ) const
inline

Definition at line 384 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::getSolnVarData ( const int &  gid,
std::vector< double > &  varData 
) const

Definition at line 1542 of file N_ANP_AnalysisManager.C.

double Xyce::Analysis::AnalysisManager::getSolverStartTime ( ) const
inline

Definition at line 494 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::getStateVarData ( const int &  gid,
std::vector< double > &  varData 
) const

Definition at line 1557 of file N_ANP_AnalysisManager.C.

TimeIntg::StepErrorControl& Xyce::Analysis::AnalysisManager::getStepErrorControl ( )
inline

Definition at line 466 of file N_ANP_AnalysisManager.h.

const TimeIntg::StepErrorControl& Xyce::Analysis::AnalysisManager::getStepErrorControl ( ) const
inline

Definition at line 470 of file N_ANP_AnalysisManager.h.

int Xyce::Analysis::AnalysisManager::getStepNumber ( ) const

Definition at line 1222 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getStoreVarData ( const int &  gid,
std::vector< double > &  varData 
) const

Definition at line 1572 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getSweepSourceResetFlag ( ) const
inline

Definition at line 211 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::getSwitchIntegrator ( ) const
inline

Definition at line 434 of file N_ANP_AnalysisManager.h.

const TimeIntg::TIAParams & Xyce::Analysis::AnalysisManager::getTIAParams ( ) const

Definition at line 1621 of file N_ANP_AnalysisManager.C.

TimeIntg::TIAParams & Xyce::Analysis::AnalysisManager::getTIAParams ( )

Definition at line 1627 of file N_ANP_AnalysisManager.C.

double Xyce::Analysis::AnalysisManager::getTime ( ) const

Definition at line 1298 of file N_ANP_AnalysisManager.C.

double Xyce::Analysis::AnalysisManager::getTotalJacobianLoadTime ( ) const

Definition at line 1155 of file N_ANP_AnalysisManager.C.

double Xyce::Analysis::AnalysisManager::getTotalLinearSolutionTime ( ) const

Definition at line 1129 of file N_ANP_AnalysisManager.C.

double Xyce::Analysis::AnalysisManager::getTotalResidualLoadTime ( ) const

Definition at line 1142 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getTranOPFlag ( ) const

Definition at line 1352 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::getTransientFlag ( ) const

Definition at line 1401 of file N_ANP_AnalysisManager.C.

int Xyce::Analysis::AnalysisManager::getTranStepNumber ( )

Definition at line 1252 of file N_ANP_AnalysisManager.C.

TwoLevelMode Xyce::Analysis::AnalysisManager::getTwoLevelMode ( ) const
inline

Definition at line 229 of file N_ANP_AnalysisManager.h.

TimeIntg::WorkingIntegrationMethod& Xyce::Analysis::AnalysisManager::getWorkingIntegrationMethod ( )
inline

Definition at line 458 of file N_ANP_AnalysisManager.h.

const TimeIntg::WorkingIntegrationMethod& Xyce::Analysis::AnalysisManager::getWorkingIntegrationMethod ( ) const
inline

Definition at line 462 of file N_ANP_AnalysisManager.h.

Util::Timer& Xyce::Analysis::AnalysisManager::getXyceTranTimer ( )
inline

Definition at line 450 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::initializeSolverSystem ( const TimeIntg::TIAParams tia_params,
Loader::Loader loader,
Linear::System &  linear_system,
Nonlinear::Manager nonlinear_manager,
Device::DeviceMgr device_manager 
)

Initializes the solver system.

Called on initial analysis assembly and on change of time integrator.

Invariant
There be gremlins here. The datas tore, step error control, time integrator (managed by the working integrator method) and nonlinear equation loader are destroyed and recreated. Hopefully none of the subordinate users of those objects are stll hanging on. The linear system will have much of its information replaced by data from the newly created datastore and vice versa.
Parameters
tia_paramsTime integrator parameters to construct new time integrator
loaderLoader to loader linear system
linear_systemLinear system
nonlinear_managerNonlinear system
device_managerDevice Manager
Returns
true if initialization was successful

Definition at line 409 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::initializeTransientModel ( const TimeIntg::TIAParams tia_params)

Definition at line 949 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::isPaused ( ) const

Definition at line 351 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::isSimulationComplete ( )

Definition at line 1185 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::notify ( const StepEvent step_event)

Notification that there is a StepEvent.

Parameters
step_eventinformation about the event

Definition at line 277 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::notify ( const AnalysisEvent analysis_event)

Notification that there is a AnalysisEvent.

Parameters
time_integrator_eventinformation about the event

Definition at line 299 of file N_ANP_AnalysisManager.C.

AnalysisManager& Xyce::Analysis::AnalysisManager::operator= ( const AnalysisManager )
private
void Xyce::Analysis::AnalysisManager::popActiveAnalysis ( )
inline

Definition at line 515 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::printLoopInfo ( int  start,
int  finish 
)

Definition at line 630 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::pushActiveAnalysis ( AnalysisBase analysis)
inline

Definition at line 511 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::registerElapsedTimer ( Util::Timer *  et)

Definition at line 1477 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::registerParallelServices ( Parallel::Manager *  pds_tmp)

Definition at line 1655 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::resetSolverSystem ( )

Definition at line 323 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::restoreRestartData ( char *  buf,
int  bsize,
int &  pos,
Parallel::Communicator *  comm,
bool  pack 
)

Definition at line 1524 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::run ( )

Runs the top level analysis.

Invariant
Returns

Definition at line 525 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::setACAnalysisParams ( const Util::OptionBlock &  OB)
void Xyce::Analysis::AnalysisManager::setAnalysisMode ( Mode  analysis_mode)
inline

Definition at line 486 of file N_ANP_AnalysisManager.h.

void Xyce::Analysis::AnalysisManager::setBeginningIntegrationFlag ( bool  bif)

Definition at line 1074 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::setDAEStateDerivFlag ( bool  state)
inline

Definition at line 397 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::setDCAnalysisParams ( const Util::OptionBlock &  paramsBlock)
bool Xyce::Analysis::AnalysisManager::setDCOPRestartParams ( const Util::OptionBlock &  OB)

Definition at line 833 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::setIntegrationMethod ( int  im)

Definition at line 1102 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::setLoader ( Loader::Loader loader_)

Definition at line 1640 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::setNextOutputTime ( double  next_output_time)
inline

Definition at line 442 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::setNextSolVectorPtr ( Linear::Vector *  solVecPtr)

Definition at line 1670 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::setNOISEAnalysisParams ( const Util::OptionBlock &  OB)
bool Xyce::Analysis::AnalysisManager::setOPAnalysisParams ( const Util::OptionBlock &  paramsBlock)

Definition at line 793 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::setPauseTime ( double  pauseTime,
double  initial_time 
)

Definition at line 1690 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::setPrimaryAnalysisObject ( AnalysisBase primary)
inline

Definition at line 422 of file N_ANP_AnalysisManager.h.

void Xyce::Analysis::AnalysisManager::setResumeSimulation ( bool  resume)
inline

Definition at line 308 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::setSaveOptions ( const Util::OptionBlock &  OB)

Definition at line 811 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::setSensOptions ( const Util::OptionBlock &  OB)

Definition at line 857 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::setSolnVarData ( const int &  gid,
const std::vector< double > &  varData 
)

Definition at line 1585 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::setStateVarData ( const int &  gid,
const std::vector< double > &  varData 
)

Definition at line 1599 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::setStepNumber ( int  step)

Definition at line 1238 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::setStoreVarData ( const int &  gid,
const std::vector< double > &  varData 
)

Definition at line 1613 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::setSweepSourceResetFlag ( bool  ssrf)
inline

Definition at line 216 of file N_ANP_AnalysisManager.h.

void Xyce::Analysis::AnalysisManager::setSwitchIntegrator ( bool  switch_itegrator)
inline

Definition at line 438 of file N_ANP_AnalysisManager.h.

void Xyce::Analysis::AnalysisManager::setTranStepNumber ( int  step)

Definition at line 1270 of file N_ANP_AnalysisManager.C.

void Xyce::Analysis::AnalysisManager::setTwoLevelMode ( TwoLevelMode  current_mode)
inline

Definition at line 225 of file N_ANP_AnalysisManager.h.

void Xyce::Analysis::AnalysisManager::silenceProgress ( )
inline

Definition at line 498 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::testDCOPOutputTime ( )

Returns true if the DCOP Restart parameters have been set.

Returns
true if the DCOP Restart parameters have been set

Definition at line 649 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::testRestartSaveTime ( )

Definition at line 698 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::testSaveOutputTime ( )

Definition at line 663 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::updateDerivs ( )

Definition at line 1429 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::updateDerivsBlock ( const std::list< IndexPair > &  solGIDList,
const std::list< IndexPair > &  staGIDList 
)

Definition at line 1459 of file N_ANP_AnalysisManager.C.

bool Xyce::Analysis::AnalysisManager::updateDivDiffs ( )

Definition at line 1444 of file N_ANP_AnalysisManager.C.

Member Data Documentation

IO::ActiveOutput* Xyce::Analysis::AnalysisManager::activeOutput_
private

Definition at line 542 of file N_ANP_AnalysisManager.h.

Mode Xyce::Analysis::AnalysisManager::analysisMode_
private

Definition at line 545 of file N_ANP_AnalysisManager.h.

AnalysisBase* Xyce::Analysis::AnalysisManager::analysisObject_
private

.STEP, Dakota

Definition at line 571 of file N_ANP_AnalysisManager.h.

Stats::Stat Xyce::Analysis::AnalysisManager::analysisStat_
private

Definition at line 580 of file N_ANP_AnalysisManager.h.

std::vector<AnalysisBase *> Xyce::Analysis::AnalysisManager::analysisVector_
private

Definition at line 574 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::blockAnalysisFlag_
private

HB Analysis (maybe something with MPDE too)

Definition at line 549 of file N_ANP_AnalysisManager.h.

unsigned int Xyce::Analysis::AnalysisManager::breakPointRestartStep

Definition at line 583 of file N_ANP_AnalysisManager.h.

Loader::CktLoader* Xyce::Analysis::AnalysisManager::cktLoaderPtr_
private

'real' pointer to the ckt-loader

Definition at line 539 of file N_ANP_AnalysisManager.h.

const IO::CmdParse& Xyce::Analysis::AnalysisManager::commandLine_
private

Command line object.

Definition at line 528 of file N_ANP_AnalysisManager.h.

CreatorVector Xyce::Analysis::AnalysisManager::creatorVector_
private

Definition at line 577 of file N_ANP_AnalysisManager.h.

std::vector<AnalysisBase *> Xyce::Analysis::AnalysisManager::currentAnalysisStack_
private

Definition at line 575 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::daeStateDerivFlag_
private

.OPTIONS TIMEINT DAESTATEDERIV=

Definition at line 550 of file N_ANP_AnalysisManager.h.

TimeIntg::DataStore* Xyce::Analysis::AnalysisManager::dataStore_
private

Data store object.

Definition at line 541 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::dcopRestartFlag_
private

Set if .OPTIONS OP_IO.

Definition at line 551 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::dotOpSpecified_
private

Set if .OP.

Definition at line 553 of file N_ANP_AnalysisManager.h.

Util::Timer* Xyce::Analysis::AnalysisManager::elapsedTimerPtr_
private

Xyce timing utility for timing the transient simulation CPU time.

Definition at line 563 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::gui_
private

Set if -giu appears on command line.

Definition at line 554 of file N_ANP_AnalysisManager.h.

Loader::Loader* Xyce::Analysis::AnalysisManager::loader_
private

Pointer to the nonlinear loader object.

Definition at line 538 of file N_ANP_AnalysisManager.h.

const std::string Xyce::Analysis::AnalysisManager::netlistFilename_
private

Netlist file name.

Definition at line 529 of file N_ANP_AnalysisManager.h.

double Xyce::Analysis::AnalysisManager::nextOutputTime_
private

for .SAVE and/or DCOP restart.

Definition at line 568 of file N_ANP_AnalysisManager.h.

double Xyce::Analysis::AnalysisManager::nextRestartSaveTime_
private

Definition at line 569 of file N_ANP_AnalysisManager.h.

Loader::NonlinearEquationLoader* Xyce::Analysis::AnalysisManager::nonlinearEquationLoader_
private

Pointer to the nonlinear equation loader.

Definition at line 536 of file N_ANP_AnalysisManager.h.

OutputMgrAdapter& Xyce::Analysis::AnalysisManager::outputManagerAdapter_
private

Output manager adapter.

Definition at line 532 of file N_ANP_AnalysisManager.h.

Parallel::Manager* Xyce::Analysis::AnalysisManager::parallelManager_
private

Pointer to the parallel services manager.

Definition at line 540 of file N_ANP_AnalysisManager.h.

AnalysisBase* Xyce::Analysis::AnalysisManager::primaryAnalysisObject_
private

.TRAN, .AC, .HB, ...

Definition at line 572 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::progressFlag_
private

Definition at line 555 of file N_ANP_AnalysisManager.h.

Registry Xyce::Analysis::AnalysisManager::registry_
private

Definition at line 578 of file N_ANP_AnalysisManager.h.

IO::RestartMgr& Xyce::Analysis::AnalysisManager::restartManager_
private

Restart manager.

Definition at line 531 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::resumeSimulation_
private

Resume simulation from a paused transient.

Definition at line 548 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::savedAlready_
private

Definition at line 557 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::saveFlag_
private

Set if .SAVE.

Definition at line 552 of file N_ANP_AnalysisManager.h.

double Xyce::Analysis::AnalysisManager::saveTime_
private

Definition at line 566 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::saveTimeGiven_
private

Definition at line 556 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::sensFlag_
private

Definition at line 558 of file N_ANP_AnalysisManager.h.

double Xyce::Analysis::AnalysisManager::solverStartTime_
private

Xyce timing utility for timing elapsed run time.

Definition at line 565 of file N_ANP_AnalysisManager.h.

TimeIntg::StepErrorControl* Xyce::Analysis::AnalysisManager::stepErrorControl_
private

Pointer to the TIA step-error control object.

Definition at line 535 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::sweepSourceResetFlag_
private

Definition at line 559 of file N_ANP_AnalysisManager.h.

bool Xyce::Analysis::AnalysisManager::switchIntegrator_
private

Set to true when Transient::integrationMethod_ is changed.

Definition at line 560 of file N_ANP_AnalysisManager.h.

TwoLevelMode Xyce::Analysis::AnalysisManager::twoLevelMode_
private

Definition at line 546 of file N_ANP_AnalysisManager.h.

TimeIntg::WorkingIntegrationMethod* Xyce::Analysis::AnalysisManager::workingIntgMethod_
private

Working integration method.

Definition at line 534 of file N_ANP_AnalysisManager.h.

Util::Timer Xyce::Analysis::AnalysisManager::xyceTranTimerPtr_
private

Definition at line 562 of file N_ANP_AnalysisManager.h.


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