Xyce
6.1
|
#include <N_DEV_Xygra.h>
Public Member Functions | |
Instance (const Configuration &configuration, const InstanceBlock &IB, Model &Miter, const FactoryBlock &factory_block) | |
~Instance () | |
void | registerLIDs (const std::vector< int > &intLIDVecRef, const std::vector< int > &extLIDVecRef) |
void | registerStateLIDs (const std::vector< int > &staLIDVecRef) |
void | loadNodeSymbols (Util::SymbolTable &symbol_table) const |
Populates and returns the store name map. More... | |
const std::vector< std::vector< int > > & | jacobianStamp () const |
void | registerJacLIDs (const std::vector< std::vector< int > > &jacLIDVec) |
bool | processParams () |
bool | updateTemperature (const double &temp_tmp) |
bool | updateIntermediateVars () |
bool | updatePrimaryState () |
bool | updateSecondaryState () |
bool | setIC () |
bool | getVoltages (std::vector< double > &voltageValues) |
bool | setConductances (const std::vector< std::vector< double > > &conductanceMatrix) |
bool | setK (const std::vector< std::vector< double > > &kMatrix, const double t=0) |
bool | setSources (const std::vector< double > &sourceVector, const double t=0) |
int | getNumNodes () |
int | getNumWindings () |
void | getCoilWindings (std::vector< int > &coilWindings) |
void | getCoilNames (std::vector< std::string > &coilNames) |
void | varTypes (std::vector< char > &varTypeVec) |
bool | loadDAEQVector () |
bool | loadDAEFVector () |
void | auxDAECalculations () |
bool | loadDAEdQdx () |
bool | loadDAEdFdx () |
CompositeParam * | constructComposite (const std::string &, const std::string &) |
Model & | getModel () |
![]() | |
DeviceInstance (const InstanceBlock &instance_block, ParametricData< void > ¶metric_data, const FactoryBlock &factory_block) | |
virtual | ~DeviceInstance () |
virtual bool | isLinearDevice () const |
virtual std::ostream & | printName (std::ostream &os) const |
virtual void | enableLeadCurrentCalc () |
virtual void | registerGIDs (const IndexPairVector &intGIDListRef, const IndexPairVector &extGIDListRef) |
virtual void | registerStateGIDs (const IndexPairVector &staGIDListRef) |
virtual void | registerStoreGIDs (const IndexPairVector &stoGIDListRef) |
virtual void | registerStoreLIDs (const LocalIdVector &stoLIDVecRef) |
virtual void | registerBranchDataLIDs (const LocalIdVector &branchDataLIDVecRef) |
virtual const std::vector< std::string > & | getDepSolnVars () |
virtual void | registerDepSolnGIDs (const std::vector< IdVector > &varList) |
virtual const std::vector< std::string > & | getDepStateVars () |
virtual void | registerDepStateGIDs (const std::vector< IdVector > &varList) |
virtual const std::vector< std::string > & | getDepStoreVars () |
virtual void | registerDepStoreGIDs (const std::vector< IdVector > &varList) |
virtual const std::vector< std::string > & | getDepLeadCurrentVars () |
virtual void | registerDepLeadCurrentGIDs (const std::vector< IdVector > &varList) |
virtual void | registerDepSolnLIDs (const std::vector< IdVector > &depSolnLIDVecRef) |
virtual void | registerDepStateLIDs (const std::vector< IdVector > &depStaLIDVecRef) |
virtual void | registerDepStoreLIDs (const std::vector< IdVector > &depStoLIDVecRef) |
virtual void | registerGIDData (const std::vector< int > &counts, const IdVector &GIDs, const JacobianStamp &jacGIDs) |
virtual void | setupPointers () |
virtual const IdVector & | getDepSolnGIDVec () |
virtual const IndexPairVector & | getIndexPairList () |
virtual bool | getInstanceBreakPoints (std::vector< Util::BreakPoint > &breakPointTimes) |
virtual bool | updateSource () |
virtual bool | processInstanceParams () |
virtual bool | isConverged () |
virtual bool | testDAEMatrices (const std::vector< const std::string * > &nameVec) |
virtual bool | loadTrivialDAE_FMatrixStamp () |
bool | trivialStampLoader (Linear::Matrix *matPtr) |
bool | zeroMatrixDiagonal (Linear::Matrix *matPtr) |
virtual bool | plotfileFlag () |
virtual void | loadErrorWeightMask () |
virtual void | acceptStep () |
virtual bool | loadDAEBVector () |
virtual int | getNumNoiseSources () const |
virtual void | setupNoiseSources (Xyce::Analysis::NoiseData &noiseDataVec) |
virtual void | getNoiseSources (Xyce::Analysis::NoiseData &noiseDataVec) |
const InstanceName & | getName () const |
int | getNumIntVars () const |
int | getNumExtVars () const |
int | getNumStateVars () const |
int | getNumStoreVars () const |
int | getNumBranchDataVars () const |
void | setNumStoreVars (int num_store_vars) |
void | setNumBranchDataVars (int num_branch_data_vars) |
virtual const std::vector< int > & | getDevConMap () |
virtual DeviceState * | getInternalState () |
virtual bool | setInternalState (const DeviceState &state) |
virtual bool | loadDFDV (int iElectrode, Linear::Vector *dfdvPtr) |
virtual bool | calcConductance (int iElectrode, const Linear::Vector *dxdvPtr) |
virtual bool | outputPlotFiles (bool force_final_output) |
virtual bool | enablePDEContinuation (int &max_PDE_continuation_steps) |
virtual bool | disablePDEContinuation () |
virtual void | setPDEContinuationAlpha (double alpha) |
virtual void | setPDEContinuationBeta (double beta) |
virtual bool | setInitialGuess () |
virtual double | getMaxTimeStepSize () |
bool | getOrigFlag () const |
void | setOrigFlag (bool origFlag_local) |
const IdVector & | getDevLIDs () const |
const std::vector< IdVector > & | getDevJacLIDs () const |
const IdVector & | getStaLIDVec () const |
bool | getMergeRowColChecked () const |
void | setMergeRowColChecked (bool mergeRowColChecked_local) |
const MatrixLoadData & | getMatrixLoadData () const |
MatrixLoadData & | getMatrixLoadData () |
const ExternData & | getExternData () const |
![]() | |
DeviceEntity (ParametricData< void > ¶metric_data, const SolverState &solver_state, const DeviceOptions &device_options, const std::string &netlist_filename, int netlist_line) | |
virtual | ~DeviceEntity () |
bool | setDefaultParam (double val, bool overrideOriginal=false) |
double | getDefaultParam () const |
bool | scaleParam (const std::string ¶mName, double val, double val0) |
bool | scaleParam (const std::string ¶mName, double val) |
bool | scaleDefaultParam (double val) |
bool | analyticSensitivityAvailable (const std::string ¶mName) |
bool | analyticSensitivityAvailableDefaultParam () |
bool | getAnalyticSensitivity (const std::string ¶mName, std::vector< double > &dfdpVec, std::vector< double > &dqdpVec, std::vector< double > &dbdpVec, std::vector< int > &FindicesVec, std::vector< int > &QindicesVec, std::vector< int > &BindicesVec) |
bool | getAnalyticSensitivityDefaultParam (std::vector< double > &dfdpVec, std::vector< double > &dqdpVec, std::vector< double > &dbdpVec, std::vector< int > &FindicesVec, std::vector< int > &QindicesVec, std::vector< int > &BindicesVec) |
bool | setParam (const std::string ¶mName, double val, bool overrideOriginal=false) |
bool | getParam (const std::string ¶mName, double &result) const |
bool | findParam (const std::string ¶m_name) const |
bool | getParamBreakpoints (std::vector< Util::BreakPoint > &) |
bool | updateDependentParameters (const Linear::Vector &vars) |
bool | updateDependentParameters (double temp_tmp) |
bool | updateGlobalParameters (GlobalParameterMap &) |
bool | updateDependentParameters () |
double | setDependentParameter (Util::Param &, double *, ParameterType::ExprAccess) |
double | setDependentParameter (Util::Param &, std::vector< double > *, int, ParameterType::ExprAccess) |
void | setDependentParameter (Util::Param &par, Depend &dependentParam, ParameterType::ExprAccess depend) |
void | setDefaultParams () |
void | setParams (const std::vector< Param > ¶ms) |
bool | given (const std::string ¶meter_name) const |
void | setDefaultParamName (const std::string &default_param_name) |
const std::vector< Depend > & | getDependentParams () |
void | addDependentParameter (const Depend ¶m) |
const DeviceOptions & | getDeviceOptions () const |
const SolverState & | getSolverState () const |
const NetlistLocation & | netlistLocation () const |
const ParameterMap & | getParameterMap () const |
![]() | |
ParameterBase () | |
virtual | ~ParameterBase () |
double | getOriginalValue (int serial_number) |
void | setOriginalValue (int serial_number, double value) |
bool | wasValueGiven (int serial_number) const |
void | setValueGiven (int serial_number, bool value) |
Private Types | |
typedef Sacado::Fad::DFad< double > | XygraFadType |
Private Member Functions | |
Instance (const Instance &) | |
Instance & | operator= (const Instance &) |
void | setupJacStamp_ () |
void | interpolateSandK_ () |
Private Attributes | |
Model & | model_ |
std::map< std::string, XygraCoilData * > | coilDataMap |
std::vector< int > | li_Nodes_ |
std::vector< std::vector< int > > | A_Equ_NodeOffsets_ |
std::vector< std::vector< int > > | jacStamp_ |
std::vector< std::vector< double > > | theConductanceMatrix_ |
std::vector< std::vector< double > > | theKMatrix_ |
std::vector< std::vector< double > > | k0_ |
std::vector< std::vector< double > > | k1_ |
std::vector< double > | theSourceVector_ |
std::vector< double > | s0_ |
std::vector< double > | s1_ |
double | t0_ |
double | t1_ |
std::vector< XygraCoilData * > | coilDataVec |
int | nCoils |
std::vector< int > | nWindings |
std::vector< std::string > | coilNames |
int | totalNumWindings |
std::vector< int > | coilExtStart |
std::vector< int > | coilIntStart |
std::vector< std::pair< int, int > > | windingNodes |
std::vector< XygraFadType > | solutionVars |
std::vector< XygraFadType > | dV |
std::vector< XygraFadType > | windingCurrents |
std::vector< XygraFadType > | fContributions |
Friends | |
class | ParametricData< Instance > |
class | Model |
class | Traits |
Additional Inherited Members | |
![]() | |
std::vector< int > & | cols |
std::vector< double > & | vals |
NumericalJacobian * | numJacPtr |
bool | psLoaded |
bool | ssLoaded |
bool | rhsLoaded |
bool | origFlag |
int | numIntVars |
int | numExtVars |
int | numStateVars |
int | numStoreVars |
int | numLeadCurrentVars |
int | numLeadCurrentStoreVars |
bool | loadLeadCurrent |
int | numBranchDataVars |
int | numBranchDataVarsIfAllocated |
std::vector< int > | devConMap |
bool | mergeRowColChecked |
![]() | |
void | jacStampMap (const JacobianStamp &stamp_parent, IdVector &map_parent, JacobianStamp &map2_parent, JacobianStamp &stamp, IdVector &map, JacobianStamp &map2, int from, int to, int original_size) |
void | jacStampMap_fixOrder (const JacobianStamp &stamp_parent, JacobianStamp &map2_parent, JacobianStamp &stamp, JacobianStamp &map2) |
void | outputJacStamp (const JacobianStamp &jac) |
void | outputJacMaps (const std::vector< int > &jacMap, const JacobianStamp &jacMap2) |
![]() | |
const ExternData & | extData |
IndexPairVector | indexPairList |
IndexPairVector | intGIDList |
IndexPairVector | extGIDList |
IndexPairVector | staGIDList |
IdVector | intLIDVec |
IdVector | extLIDVec |
IdVector | staLIDVec |
IdVector | stoLIDVec |
IdVector | devLIDs |
devLIDs is a combined LID vector, containing int, ext, and expVar ID's. More... | |
JacobianStamp | devJacLIDs |
DeviceSupport | devSupport |
![]() | |
std::vector< int > | expVarGIDs |
std::vector< int > | expVarLIDs |
std::vector< std::string > | expVarNames |
std::vector< double > | expVarVals |
std::vector< double > | eVarVals |
Definition at line 119 of file N_DEV_Xygra.h.
|
private |
Definition at line 125 of file N_DEV_Xygra.h.
Xyce::Device::Xygra::Instance::Instance | ( | const Configuration & | configuration, |
const InstanceBlock & | IB, | ||
Model & | Miter, | ||
const FactoryBlock & | factory_block | ||
) |
Definition at line 182 of file N_DEV_Xygra.C.
Xyce::Device::Xygra::Instance::~Instance | ( | ) |
Definition at line 315 of file N_DEV_Xygra.C.
|
private |
void Xyce::Device::Xygra::Instance::auxDAECalculations | ( | ) |
|
virtual |
Reimplemented from Xyce::Device::DeviceEntity.
Definition at line 1207 of file N_DEV_Xygra.C.
void Xyce::Device::Xygra::Instance::getCoilNames | ( | std::vector< std::string > & | coilNames | ) |
Definition at line 528 of file N_DEV_Xygra.C.
void Xyce::Device::Xygra::Instance::getCoilWindings | ( | std::vector< int > & | coilWindings | ) |
Definition at line 513 of file N_DEV_Xygra.C.
|
inline |
Definition at line 190 of file N_DEV_Xygra.h.
|
inline |
Definition at line 326 of file N_DEV_Xygra.h.
|
inline |
Definition at line 338 of file N_DEV_Xygra.h.
bool Xyce::Device::Xygra::Instance::getVoltages | ( | std::vector< double > & | voltageValues | ) |
Definition at line 477 of file N_DEV_Xygra.C.
|
private |
Definition at line 614 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 813 of file N_DEV_Xygra.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1112 of file N_DEV_Xygra.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1089 of file N_DEV_Xygra.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1052 of file N_DEV_Xygra.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1028 of file N_DEV_Xygra.C.
|
virtual |
Populates and returns the store name map.
Implements Xyce::Device::DeviceInstance.
Definition at line 768 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 149 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 826 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 665 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 797 of file N_DEV_Xygra.C.
bool Xyce::Device::Xygra::Instance::setConductances | ( | const std::vector< std::vector< double > > & | conductanceMatrix | ) |
Definition at line 349 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 1178 of file N_DEV_Xygra.C.
bool Xyce::Device::Xygra::Instance::setK | ( | const std::vector< std::vector< double > > & | kMatrix, |
const double | t = 0 |
||
) |
Definition at line 400 of file N_DEV_Xygra.C.
bool Xyce::Device::Xygra::Instance::setSources | ( | const std::vector< double > & | sourceVector, |
const double | t = 0 |
||
) |
Definition at line 542 of file N_DEV_Xygra.C.
|
private |
Definition at line 327 of file N_DEV_Xygra.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 886 of file N_DEV_Xygra.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 850 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 870 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 168 of file N_DEV_Xygra.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 1193 of file N_DEV_Xygra.C.
|
friend |
Definition at line 122 of file N_DEV_Xygra.h.
|
friend |
Definition at line 121 of file N_DEV_Xygra.h.
|
friend |
Definition at line 123 of file N_DEV_Xygra.h.
|
private |
Definition at line 221 of file N_DEV_Xygra.h.
|
private |
Definition at line 199 of file N_DEV_Xygra.h.
|
private |
Definition at line 238 of file N_DEV_Xygra.h.
|
private |
Definition at line 248 of file N_DEV_Xygra.h.
|
private |
Definition at line 250 of file N_DEV_Xygra.h.
|
private |
Definition at line 244 of file N_DEV_Xygra.h.
|
private |
Definition at line 258 of file N_DEV_Xygra.h.
|
private |
Definition at line 262 of file N_DEV_Xygra.h.
|
private |
Definition at line 223 of file N_DEV_Xygra.h.
|
private |
Definition at line 228 of file N_DEV_Xygra.h.
|
private |
Definition at line 229 of file N_DEV_Xygra.h.
|
private |
Definition at line 213 of file N_DEV_Xygra.h.
|
private |
Definition at line 197 of file N_DEV_Xygra.h.
|
private |
Definition at line 240 of file N_DEV_Xygra.h.
|
private |
Definition at line 242 of file N_DEV_Xygra.h.
|
private |
Definition at line 231 of file N_DEV_Xygra.h.
|
private |
Definition at line 232 of file N_DEV_Xygra.h.
|
private |
Definition at line 256 of file N_DEV_Xygra.h.
|
private |
Definition at line 234 of file N_DEV_Xygra.h.
|
private |
Definition at line 235 of file N_DEV_Xygra.h.
|
private |
Definition at line 226 of file N_DEV_Xygra.h.
|
private |
Definition at line 227 of file N_DEV_Xygra.h.
|
private |
Definition at line 230 of file N_DEV_Xygra.h.
|
private |
Definition at line 246 of file N_DEV_Xygra.h.
|
private |
Definition at line 260 of file N_DEV_Xygra.h.
|
private |
Definition at line 252 of file N_DEV_Xygra.h.