Xyce
6.1
|
#include <N_DEV_MemristorTEAM.h>
Public Member Functions | |
Instance (const Configuration &configuration, const InstanceBlock &instance_block, Model &model, const FactoryBlock &factory_block) | |
~Instance () | |
Model & | getModel () |
virtual void | registerLIDs (const std::vector< int > &intLIDVecRef, const std::vector< int > &extLIDVecRef) |
virtual void | registerStateLIDs (const std::vector< int > &staLIDVecRef) |
virtual void | registerStoreLIDs (const std::vector< int > &stoLIDVecRef) |
virtual void | registerBranchDataLIDs (const std::vector< int > &branchLIDVecRef) |
virtual void | registerJacLIDs (const std::vector< std::vector< int > > &jacLIDVec) |
void | loadNodeSymbols (Util::SymbolTable &symbol_table) const |
Populates and returns the store name map. More... | |
virtual bool | processParams () |
virtual bool | updateTemperature (const double &temp_tmp) |
virtual bool | updateIntermediateVars () |
virtual bool | updatePrimaryState () |
virtual const std::vector< std::vector< int > > & | jacobianStamp () const |
virtual bool | loadDAEQVector () |
virtual bool | loadDAEFVector () |
virtual bool | loadDAEdQdx () |
virtual bool | loadDAEdFdx () |
virtual void | setupPointers () |
![]() | |
DeviceInstance (const InstanceBlock &instance_block, ParametricData< void > ¶metric_data, const FactoryBlock &factory_block) | |
virtual | ~DeviceInstance () |
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 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 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 | updateSecondaryState () |
virtual bool | setIC () |
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 () |
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 () |
virtual void | varTypes (std::vector< char > &varTypeVec) |
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 () |
virtual CompositeParam * | constructComposite (const std::string &composite_name, const std::string ¶m_name) |
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 | 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 | setParam (const std::string ¶mName, double val, bool overrideOriginal=false) |
bool | getParam (const std::string ¶mName, double &result) const |
bool | getParamBreakpoints (std::vector< Util::BreakPoint > &) |
bool | updateDependentParameters (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 Member Functions | |
Instance (const Instance &) | |
Instance & | operator= (const Instance &) |
Static Private Member Functions | |
static void | initializeJacobianStamp () |
Private Attributes | |
Model & | model_ |
int | IVrelation |
double | G |
double | Reff |
double | dReffdvpos |
double | dReffdvneg |
double | dReffdx |
double | i0 |
double | xVarFContribution |
double | dxFEqdVpos |
double | dxFEqdVneg |
double | dxFEqdx |
int | li_Pos |
int | li_Neg |
int | li_x |
int | li_store_R |
int | li_store_dev_i |
int | li_branch_data |
int | APosEquPosNodeOffset |
int | APosEquNegNodeOffset |
int | APosEquXNodeOffset |
int | ANegEquPosNodeOffset |
int | ANegEquNegNodeOffset |
int | ANegEquXNodeOffset |
int | XEquVPosOffset |
int | XEquVNegOffset |
int | XEquXOffset |
double * | f_PosEquPosNodePtr |
double * | f_PosEquNegNodePtr |
double * | f_PosEquXNodePtr |
double * | f_NegEquPosNodePtr |
double * | f_NegEquNegNodePtr |
double * | f_NegEquXNodePtr |
double * | f_XEquPosNodePtr |
double * | f_XEquNegNodePtr |
double * | f_XEquXNodePtr |
double * | q_XEquXNodePtr |
Static Private Attributes | |
static std::vector< std::vector< int > > | jacStamp |
Friends | |
class | ParametricData< Instance > |
class | Model |
class | Traits |
class | Master |
class | memristorTEAMSensitivity |
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 130 of file N_DEV_MemristorTEAM.h.
Xyce::Device::MemristorTEAM::Instance::Instance | ( | const Configuration & | configuration, |
const InstanceBlock & | instance_block, | ||
Model & | model, | ||
const FactoryBlock & | factory_block | ||
) |
Definition at line 378 of file N_DEV_MemristorTEAM.C.
|
inline |
Definition at line 158 of file N_DEV_MemristorTEAM.h.
|
private |
|
inline |
Definition at line 181 of file N_DEV_MemristorTEAM.h.
|
staticprivate |
Definition at line 219 of file N_DEV_MemristorTEAM.C.
|
inlinevirtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 218 of file N_DEV_MemristorTEAM.h.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1035 of file N_DEV_MemristorTEAM.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 991 of file N_DEV_MemristorTEAM.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 971 of file N_DEV_MemristorTEAM.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 917 of file N_DEV_MemristorTEAM.C.
|
virtual |
Populates and returns the store name map.
If the DeviceInstance::storeNameMap is empty, populate it.
For the purpose of lead currents, store vector elements must be given names that can be used to locate lead currents at print time. When a netlist attempts to print, say, "I(R1)" the output code looks for an entry in the store vector named R1:DEV_I.
This method does the assignment of names to various vector elements.
Implements Xyce::Device::DeviceInstance.
Definition at line 608 of file N_DEV_MemristorTEAM.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 461 of file N_DEV_MemristorTEAM.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 588 of file N_DEV_MemristorTEAM.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 653 of file N_DEV_MemristorTEAM.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 484 of file N_DEV_MemristorTEAM.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 528 of file N_DEV_MemristorTEAM.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 551 of file N_DEV_MemristorTEAM.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 704 of file N_DEV_MemristorTEAM.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 750 of file N_DEV_MemristorTEAM.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 912 of file N_DEV_MemristorTEAM.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 1076 of file N_DEV_MemristorTEAM.C.
|
friend |
Definition at line 135 of file N_DEV_MemristorTEAM.h.
|
friend |
Definition at line 136 of file N_DEV_MemristorTEAM.h.
|
friend |
Definition at line 133 of file N_DEV_MemristorTEAM.h.
|
friend |
Definition at line 132 of file N_DEV_MemristorTEAM.h.
|
friend |
Definition at line 134 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 263 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 262 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 264 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 260 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 259 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 261 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 243 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 242 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 244 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 248 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 247 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 249 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 275 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 274 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 276 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 272 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 271 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 273 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 278 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 277 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 279 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 240 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 245 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 237 of file N_DEV_MemristorTEAM.h.
|
staticprivate |
Definition at line 231 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 256 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 252 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 251 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 255 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 254 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 253 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 234 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 280 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 241 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 266 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 265 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 267 of file N_DEV_MemristorTEAM.h.
|
private |
Definition at line 246 of file N_DEV_MemristorTEAM.h.