Xyce
6.1
|
#include <N_DEV_Vsrc.h>
Public Member Functions | |
Instance (const Configuration &configuration, const InstanceBlock &IB, Model &Viter, const FactoryBlock &factory_block) | |
Instance (const Instance &right) | |
~Instance () | |
void | registerLIDs (const std::vector< int > &intLIDVecRef, const std::vector< int > &extLIDVecRef) |
void | registerStateLIDs (const std::vector< int > &staLIDVecRef) |
std::map< int, std::string > & | getIntNameMap () |
const std::vector< std::vector < int > > & | jacobianStamp () const |
void | registerJacLIDs (const std::vector< std::vector< int > > &jacLIDVec) |
bool | processParams () |
bool | updateIntermediateVars () |
bool | updatePrimaryState () |
bool | loadBVectorsforAC (double *bVecReal, double *bVecImag) |
bool | loadDAEQVector () |
bool | loadDAEFVector () |
bool | loadDAEdQdx () |
bool | loadDAEdFdx () |
void | setupPointers () |
double | getMaxTimeStepSize () |
void | varTypes (std::vector< char > &varTypeVec) |
void | getLIDs (int &lpos, int &lneg, int &lbra) |
Model & | getModel () |
![]() | |
SourceInstance (const InstanceBlock &IB, ParametricData< void > ¶metric_data, const FactoryBlock &factory_block) | |
~SourceInstance () | |
void | setFastSourceFlag (bool value) |
bool | getFastSourceFlag () |
bool | getResetFlag () |
double | period () |
virtual bool | getInstanceBreakPoints (std::vector< N_UTL_BreakPoint > &breakPointTimes) |
virtual bool | updateSource () |
![]() | |
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 void | registerStoreLIDs (const std::vector< int > &stoLIDVecRef) |
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 | processInstanceParams () |
virtual bool | updateTemperature (const double &temp_tmp) |
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 () |
virtual std::map< int, std::string > & | getStoreNameMap () |
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 () |
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 Attributes | |
Model & | model_ |
double | srcCurrent |
double | srcVoltage |
double | srcDrop |
double | srcBC |
double | scale |
int | nlstep |
double | DCV0 |
double | par0 |
double | par1 |
double | par2 |
double | par3 |
double | par4 |
double | par5 |
double | par6 |
double | par7 |
double | REPEATTIME |
double | T |
double | V |
double | ACMAG |
double | ACPHASE |
int | NUM |
bool | REPEAT |
int | TRANSIENTSOURCETYPE |
bool | TRANSIENTSOURCETYPEgiven |
int | ACSOURCETYPE |
bool | ACSOURCETYPEgiven |
int | DCSOURCETYPE |
bool | DCSOURCETYPEgiven |
bool | gotParams |
double | source |
double | v_pos |
double | v_neg |
double | i_bra |
int | istate_I |
int | li_Pos |
int | li_Neg |
int | li_Bra |
int | ABraEquPosNodeOffset |
int | ABraEquNegNodeOffset |
int | APosEquBraVarOffset |
int | ANegEquBraVarOffset |
int | APosEquPosNodeOffset |
int | ANegEquNegNodeOffset |
int | ABraEquBraVarOffset |
double * | fBraEquPosNodePtr |
double * | fBraEquNegNodePtr |
double * | fPosEquBraVarPtr |
double * | fNegEquBraVarPtr |
double * | fPosEquPosNodePtr |
double * | fNegEquNegNodePtr |
double * | fBraEquBraVarPtr |
Static Private Attributes | |
static std::vector < std::vector< int > > | jacStamp |
static std::vector < std::vector< int > > | jacStampPDE |
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) |
![]() | |
int | sourceType |
SourceData * | Data_ptr |
SourceData * | acData_ptr |
SourceData * | dcData_ptr |
Definition at line 88 of file N_DEV_Vsrc.h.
Xyce::Device::Vsrc::Instance::Instance | ( | const Configuration & | configuration, |
const InstanceBlock & | IB, | ||
Model & | Viter, | ||
const FactoryBlock & | factory_block | ||
) |
Definition at line 230 of file N_DEV_Vsrc.C.
Xyce::Device::Vsrc::Instance::Instance | ( | const Instance & | right | ) |
Xyce::Device::Vsrc::Instance::~Instance | ( | ) |
Definition at line 448 of file N_DEV_Vsrc.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 538 of file N_DEV_Vsrc.C.
|
inline |
Definition at line 132 of file N_DEV_Vsrc.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 812 of file N_DEV_Vsrc.C.
|
inline |
Definition at line 138 of file N_DEV_Vsrc.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 575 of file N_DEV_Vsrc.C.
|
virtual |
Reimplemented from Xyce::Device::SourceInstance.
Definition at line 742 of file N_DEV_Vsrc.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 790 of file N_DEV_Vsrc.C.
|
inlinevirtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 123 of file N_DEV_Vsrc.h.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 718 of file N_DEV_Vsrc.C.
|
inlinevirtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 119 of file N_DEV_Vsrc.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 403 of file N_DEV_Vsrc.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 591 of file N_DEV_Vsrc.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 474 of file N_DEV_Vsrc.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 562 of file N_DEV_Vsrc.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 619 of file N_DEV_Vsrc.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 639 of file N_DEV_Vsrc.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 700 of file N_DEV_Vsrc.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 830 of file N_DEV_Vsrc.C.
|
friend |
Definition at line 92 of file N_DEV_Vsrc.h.
|
friend |
Definition at line 91 of file N_DEV_Vsrc.h.
|
friend |
Definition at line 90 of file N_DEV_Vsrc.h.
|
friend |
Definition at line 92 of file N_DEV_Vsrc.h.
|
private |
Definition at line 218 of file N_DEV_Vsrc.h.
|
private |
Definition at line 201 of file N_DEV_Vsrc.h.
|
private |
Definition at line 198 of file N_DEV_Vsrc.h.
|
private |
Definition at line 170 of file N_DEV_Vsrc.h.
|
private |
Definition at line 171 of file N_DEV_Vsrc.h.
|
private |
Definition at line 177 of file N_DEV_Vsrc.h.
|
private |
Definition at line 178 of file N_DEV_Vsrc.h.
|
private |
Definition at line 207 of file N_DEV_Vsrc.h.
|
private |
Definition at line 215 of file N_DEV_Vsrc.h.
|
private |
Definition at line 204 of file N_DEV_Vsrc.h.
|
private |
Definition at line 212 of file N_DEV_Vsrc.h.
|
private |
Definition at line 179 of file N_DEV_Vsrc.h.
|
private |
Definition at line 180 of file N_DEV_Vsrc.h.
|
private |
Definition at line 158 of file N_DEV_Vsrc.h.
|
private |
Definition at line 231 of file N_DEV_Vsrc.h.
|
private |
Definition at line 224 of file N_DEV_Vsrc.h.
|
private |
Definition at line 223 of file N_DEV_Vsrc.h.
|
private |
Definition at line 226 of file N_DEV_Vsrc.h.
|
private |
Definition at line 230 of file N_DEV_Vsrc.h.
|
private |
Definition at line 225 of file N_DEV_Vsrc.h.
|
private |
Definition at line 229 of file N_DEV_Vsrc.h.
|
private |
Definition at line 181 of file N_DEV_Vsrc.h.
|
private |
Definition at line 184 of file N_DEV_Vsrc.h.
|
private |
Definition at line 187 of file N_DEV_Vsrc.h.
|
staticprivate |
Definition at line 234 of file N_DEV_Vsrc.h.
|
staticprivate |
Definition at line 235 of file N_DEV_Vsrc.h.
|
private |
Definition at line 194 of file N_DEV_Vsrc.h.
|
private |
Definition at line 193 of file N_DEV_Vsrc.h.
|
private |
Definition at line 192 of file N_DEV_Vsrc.h.
|
private |
Definition at line 145 of file N_DEV_Vsrc.h.
|
private |
Definition at line 155 of file N_DEV_Vsrc.h.
|
private |
Definition at line 173 of file N_DEV_Vsrc.h.
|
private |
Definition at line 159 of file N_DEV_Vsrc.h.
|
private |
Definition at line 160 of file N_DEV_Vsrc.h.
|
private |
Definition at line 161 of file N_DEV_Vsrc.h.
|
private |
Definition at line 162 of file N_DEV_Vsrc.h.
|
private |
Definition at line 163 of file N_DEV_Vsrc.h.
|
private |
Definition at line 164 of file N_DEV_Vsrc.h.
|
private |
Definition at line 165 of file N_DEV_Vsrc.h.
|
private |
Definition at line 166 of file N_DEV_Vsrc.h.
|
private |
Definition at line 174 of file N_DEV_Vsrc.h.
|
private |
Definition at line 167 of file N_DEV_Vsrc.h.
|
private |
Definition at line 154 of file N_DEV_Vsrc.h.
|
private |
Definition at line 184 of file N_DEV_Vsrc.h.
|
private |
Definition at line 151 of file N_DEV_Vsrc.h.
|
private |
Definition at line 148 of file N_DEV_Vsrc.h.
|
private |
Definition at line 150 of file N_DEV_Vsrc.h.
|
private |
Definition at line 149 of file N_DEV_Vsrc.h.
|
private |
Definition at line 168 of file N_DEV_Vsrc.h.
|
private |
Definition at line 175 of file N_DEV_Vsrc.h.
|
private |
Definition at line 176 of file N_DEV_Vsrc.h.
|
private |
Definition at line 169 of file N_DEV_Vsrc.h.
|
private |
Definition at line 184 of file N_DEV_Vsrc.h.
|
private |
Definition at line 184 of file N_DEV_Vsrc.h.