Xyce
6.1
|
#include <N_DEV_Diode.h>
Public Member Functions | |
Instance (const Configuration &configuration, const InstanceBlock &instance_block, Model &model, 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 | registerStoreLIDs (const std::vector< int > &stoLIDVecRef) |
std::map< int, std::string > & | getIntNameMap () |
std::map< int, std::string > & | getStoreNameMap () |
const std::vector< std::vector < int > > & | jacobianStamp () const |
void | registerJacLIDs (const std::vector< std::vector< int > > &jacLIDVec) |
bool | processParams () |
bool | updateTemperature (const double &temp=-999.0) |
bool | lambertWCurrent (double Isat, double Vte, double RS) |
bool | lambertWBreakdownCurrent (double Isat, double Vte, double RS) |
bool | lambertWLinearReverseBias (double Isat, double Vte, double RS) |
bool | updateIntermediateVars () |
bool | updatePrimaryState () |
bool | loadDAEQVector () |
bool | loadDAEFVector () |
bool | loadDAEdQdx () |
bool | loadDAEdFdx () |
void | setupPointers () |
Model & | getModel () |
![]() | |
DeviceInstance (const InstanceBlock &instance_block, ParametricData< void > ¶metric_data, const FactoryBlock &factory_block) | |
virtual | ~DeviceInstance () |
virtual void | enableLeadCurrentCalc () |
virtual void | registerGIDs (const std::list< index_pair > &intGIDListRef, const std::list< index_pair > &extGIDListRef) |
virtual void | registerStateGIDs (const std::list< index_pair > &staGIDListRef) |
virtual void | registerStoreGIDs (const std::list< index_pair > &stoGIDListRef) |
virtual const std::vector < std::string > & | getDepSolnVars () |
virtual void | registerDepSolnGIDs (const std::vector< std::vector< int > > &varList) |
virtual const std::vector < std::string > & | getDepStateVars () |
virtual void | registerDepStateGIDs (const std::vector< std::vector< int > > &varList) |
virtual const std::vector < std::string > & | getDepStoreVars () |
virtual void | registerDepStoreGIDs (const std::vector< std::vector< int > > &varList) |
virtual void | registerDepSolnLIDs (const std::vector< std::vector< int > > &depSolnLIDVecRef) |
virtual void | registerDepStateLIDs (const std::vector< std::vector< int > > &depStaLIDVecRef) |
virtual void | registerDepStoreLIDs (const std::vector< std::vector< int > > &depStoLIDVecRef) |
virtual void | registerGIDData (const std::vector< int > &counts, const std::vector< int > &GIDs, const std::vector< std::vector< int > > &jacGIDs) |
virtual void | getDepSolnGIDVec (std::vector< int > &depGIDVec) |
virtual bool | getIndexPairList (std::list< index_pair > &iplRef) |
virtual bool | getInstanceBreakPoints (std::vector< N_UTL_BreakPoint > &breakPointTimes) |
virtual bool | updateSource () |
virtual bool | processInstanceParams () |
virtual bool | isConverged () |
virtual bool | testDAEMatrices (std::vector< std::string > &nameVec) |
virtual bool | loadTrivialDAE_FMatrixStamp () |
bool | trivialStampLoader (N_LAS_Matrix *matPtr) |
bool | zeroMatrixDiagonal (N_LAS_Matrix *matPtr) |
virtual bool | updateSecondaryState () |
virtual bool | setIC () |
virtual bool | plotfileFlag () |
virtual bool | loadDeviceMask () |
virtual void | acceptStep () |
int | getNumIntVars () const |
int | getNumExtVars () const |
int | getNumStateVars () const |
int | getNumStoreVars () const |
void | setNumStoreVars (int num_store_vars) |
virtual void | getDevConMap (std::vector< int > &) |
virtual DeviceState * | getInternalState () |
virtual bool | setInternalState (const DeviceState &state) |
virtual bool | loadDFDV (int iElectrode, N_LAS_Vector *dfdvPtr) |
virtual bool | calcConductance (int iElectrode, const N_LAS_Vector *dxdvPtr) |
virtual std::map< int, std::string > & | getStateNameMap () |
void | spiceInternalName (std::string &tmpname) |
virtual bool | outputPlotFiles () |
virtual bool | enablePDEContinuation () |
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 std::vector< int > & | getDevLIDs () const |
const std::vector< std::vector < int > > & | getDevJacLIDs () const |
const std::vector< int > & | getStaLIDVec () const |
bool | getMergeRowColChecked () const |
void | setMergeRowColChecked (bool mergeRowColChecked_local) |
const MatrixLoadData & | getMatrixLoadData () const |
MatrixLoadData & | getMatrixLoadData () |
![]() | |
DeviceEntity (const char *const entity_type, const std::string &device_name, ParametricData< void > ¶metric_data, const SolverState &solver_state, const DeviceOptions &device_options, const std::string &netlist_path, int netlist_line) | |
virtual | ~DeviceEntity () |
virtual CompositeParam * | constructComposite (const std::string &composite_name, const std::string ¶m_name) |
bool | setDefaultParam (double val) |
double | getDefaultParam () |
bool | scaleParam (const std::string ¶mName, double val, double val0) |
bool | scaleParam (const std::string ¶mName, double val) |
bool | scaleDefaultParam (double val) |
bool | setParam (const std::string ¶mName, double val) |
bool | getParam (const std::string ¶mName, double &result) |
bool | getParamBreakpoints (std::vector< Util::BreakPoint > &) |
bool | updateDependentParameters (N_LAS_Vector &vars) |
bool | updateDependentParameters (double temp_tmp) |
bool | updateGlobalParameters (std::map< std::string, double > &) |
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 |
const char * | getEntityType () const |
const std::string & | getName () const |
void | setDefaultParamName (const std::string &default_param_name) |
const std::vector< Depend > & | getDependentParams () |
const DeviceOptions & | getDeviceOptions () const |
const SolverState & | getSolverState () const |
const NetlistLocation & | netlistLocation () const |
const ParameterMap & | getParameterMap () const |
![]() | |
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 Attributes | |
static std::vector < std::vector< int > > | jacStamp_RS |
static std::vector < std::vector< int > > | jacStamp |
static std::vector< int > | jacMap_RS |
static std::vector< int > | jacMap |
static std::vector < std::vector< int > > | jacMap2_RS |
static std::vector < std::vector< int > > | jacMap2 |
Friends | |
class | ParametricData< Instance > |
class | Model |
class | Traits |
class | Master |
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 | numLeadCurrentStoreVars |
bool | loadLeadCurrent |
std::vector< int > | devConMap |
bool | mergeRowColChecked |
![]() | |
void | jacStampMap (std::vector< std::vector< int > > &stamp_parent, std::vector< int > &map_parent, std::vector< std::vector< int > > &map2_parent, std::vector< std::vector< int > > &stamp, std::vector< int > &map, std::vector< std::vector< int > > &map2, int from, int to, int original_size) |
void | jacStampMap_fixOrder (std::vector< std::vector< int > > &stamp_parent, std::vector< std::vector< int > > &map2_parent, std::vector< std::vector< int > > &stamp, std::vector< std::vector< int > > &map2) |
void | outputJacStamp (const std::vector< std::vector< int > > &jac) |
void | outputJacMaps (const std::vector< int > &jacMap, const std::vector< std::vector< int > > &jacMap2) |
![]() | |
const ExternData & | extData |
std::list< index_pair > | intGIDList |
std::list< index_pair > | extGIDList |
std::list< index_pair > | indexPairList |
std::list< index_pair > | staGIDList |
std::vector< int > | intLIDVec |
std::vector< int > | extLIDVec |
std::vector< int > | staLIDVec |
std::vector< int > | stoLIDVec |
std::vector< int > | devLIDs |
std::vector< std::vector< int > > | devJacLIDs |
std::map< int, std::string > | intNameMap |
std::map< int, std::string > | stateNameMap |
std::map< int, std::string > | storeNameMap |
DeviceSupport | devSupport |
Definition at line 95 of file N_DEV_Diode.h.
Xyce::Device::Diode::Instance::Instance | ( | const Configuration & | configuration, |
const InstanceBlock & | instance_block, | ||
Model & | model, | ||
const FactoryBlock & | factory_block | ||
) |
Definition at line 285 of file N_DEV_Diode.C.
Xyce::Device::Diode::Instance::~Instance | ( | ) |
Definition at line 412 of file N_DEV_Diode.C.
|
private |
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 499 of file N_DEV_Diode.C.
|
inline |
Definition at line 148 of file N_DEV_Diode.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 600 of file N_DEV_Diode.C.
bool Xyce::Device::Diode::Instance::lambertWBreakdownCurrent | ( | double | Isat, |
double | Vte, | ||
double | RS | ||
) |
Definition at line 1696 of file N_DEV_Diode.C.
bool Xyce::Device::Diode::Instance::lambertWCurrent | ( | double | Isat, |
double | Vte, | ||
double | RS | ||
) |
Definition at line 1560 of file N_DEV_Diode.C.
bool Xyce::Device::Diode::Instance::lambertWLinearReverseBias | ( | double | Isat, |
double | Vte, | ||
double | RS | ||
) |
Definition at line 1639 of file N_DEV_Diode.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 824 of file N_DEV_Diode.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 793 of file N_DEV_Diode.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 738 of file N_DEV_Diode.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 692 of file N_DEV_Diode.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 271 of file N_DEV_Diode.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 616 of file N_DEV_Diode.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 425 of file N_DEV_Diode.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 524 of file N_DEV_Diode.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 540 of file N_DEV_Diode.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 653 of file N_DEV_Diode.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 873 of file N_DEV_Diode.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 854 of file N_DEV_Diode.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 1332 of file N_DEV_Diode.C.
|
friend |
Definition at line 99 of file N_DEV_Diode.h.
|
friend |
Definition at line 98 of file N_DEV_Diode.h.
|
friend |
Definition at line 97 of file N_DEV_Diode.h.
|
friend |
Definition at line 99 of file N_DEV_Diode.h.
|
private |
Definition at line 228 of file N_DEV_Diode.h.
|
private |
Definition at line 229 of file N_DEV_Diode.h.
|
private |
Definition at line 226 of file N_DEV_Diode.h.
|
private |
Definition at line 227 of file N_DEV_Diode.h.
|
private |
Definition at line 231 of file N_DEV_Diode.h.
|
private |
Definition at line 230 of file N_DEV_Diode.h.
|
private |
Definition at line 232 of file N_DEV_Diode.h.
|
private |
Definition at line 167 of file N_DEV_Diode.h.
|
private |
Definition at line 256 of file N_DEV_Diode.h.
|
private |
Definition at line 188 of file N_DEV_Diode.h.
|
private |
Definition at line 238 of file N_DEV_Diode.h.
|
private |
Definition at line 239 of file N_DEV_Diode.h.
|
private |
Definition at line 236 of file N_DEV_Diode.h.
|
private |
Definition at line 237 of file N_DEV_Diode.h.
|
private |
Definition at line 241 of file N_DEV_Diode.h.
|
private |
Definition at line 240 of file N_DEV_Diode.h.
|
private |
Definition at line 242 of file N_DEV_Diode.h.
|
private |
Definition at line 189 of file N_DEV_Diode.h.
|
private |
Definition at line 187 of file N_DEV_Diode.h.
|
private |
Definition at line 192 of file N_DEV_Diode.h.
|
private |
Definition at line 210 of file N_DEV_Diode.h.
|
private |
Definition at line 191 of file N_DEV_Diode.h.
|
private |
Definition at line 186 of file N_DEV_Diode.h.
|
private |
Definition at line 168 of file N_DEV_Diode.h.
|
private |
Definition at line 171 of file N_DEV_Diode.h.
|
staticprivate |
Definition at line 158 of file N_DEV_Diode.h.
|
staticprivate |
Definition at line 161 of file N_DEV_Diode.h.
|
staticprivate |
Definition at line 160 of file N_DEV_Diode.h.
|
staticprivate |
Definition at line 157 of file N_DEV_Diode.h.
|
staticprivate |
Definition at line 155 of file N_DEV_Diode.h.
|
staticprivate |
Definition at line 154 of file N_DEV_Diode.h.
|
private |
Definition at line 170 of file N_DEV_Diode.h.
|
private |
Definition at line 222 of file N_DEV_Diode.h.
|
private |
Definition at line 221 of file N_DEV_Diode.h.
|
private |
Definition at line 223 of file N_DEV_Diode.h.
|
private |
Definition at line 219 of file N_DEV_Diode.h.
|
private |
Definition at line 216 of file N_DEV_Diode.h.
|
private |
Definition at line 164 of file N_DEV_Diode.h.
|
private |
Definition at line 204 of file N_DEV_Diode.h.
|
private |
Definition at line 166 of file N_DEV_Diode.h.
|
private |
Definition at line 209 of file N_DEV_Diode.h.
|
private |
Definition at line 190 of file N_DEV_Diode.h.
|
private |
Definition at line 246 of file N_DEV_Diode.h.
|
private |
Definition at line 247 of file N_DEV_Diode.h.
|
private |
Definition at line 244 of file N_DEV_Diode.h.
|
private |
Definition at line 245 of file N_DEV_Diode.h.
|
private |
Definition at line 249 of file N_DEV_Diode.h.
|
private |
Definition at line 248 of file N_DEV_Diode.h.
|
private |
Definition at line 250 of file N_DEV_Diode.h.
|
private |
Definition at line 179 of file N_DEV_Diode.h.
|
private |
Definition at line 183 of file N_DEV_Diode.h.
|
private |
Definition at line 175 of file N_DEV_Diode.h.
|
private |
Definition at line 169 of file N_DEV_Diode.h.
|
private |
Definition at line 255 of file N_DEV_Diode.h.
|
private |
Definition at line 178 of file N_DEV_Diode.h.
|
private |
Definition at line 181 of file N_DEV_Diode.h.
|
private |
Definition at line 184 of file N_DEV_Diode.h.
|
private |
Definition at line 174 of file N_DEV_Diode.h.
|
private |
Definition at line 173 of file N_DEV_Diode.h.
|
private |
Definition at line 182 of file N_DEV_Diode.h.
|
private |
Definition at line 176 of file N_DEV_Diode.h.
|
private |
Definition at line 180 of file N_DEV_Diode.h.
|
private |
Definition at line 177 of file N_DEV_Diode.h.
|
private |
Definition at line 198 of file N_DEV_Diode.h.
|
private |
Definition at line 200 of file N_DEV_Diode.h.
|
private |
Definition at line 201 of file N_DEV_Diode.h.
|
private |
Definition at line 202 of file N_DEV_Diode.h.
|
private |
Definition at line 197 of file N_DEV_Diode.h.
|
private |
Definition at line 196 of file N_DEV_Diode.h.
|
private |
Definition at line 195 of file N_DEV_Diode.h.