Xyce
6.1
|
#include <N_DEV_Neuron.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) |
std::map< int, std::string > & | getIntNameMap () |
bool | loadDeviceMask () |
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 () |
void | varTypes (std::vector< char > &varTypeVec) |
bool | loadDAEQVector () |
bool | loadDAEFVector () |
void | auxDAECalculations () |
bool | loadDAEdQdx () |
bool | loadDAEdFdx () |
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 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 | setupPointers () |
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 | plotfileFlag () |
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 () |
virtual double | getMaxTimeStepSize () |
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) |
Static Public Attributes | |
static std::vector < std::vector< int > > | jacStamp |
Private Member Functions | |
Instance (const Instance &) | |
Instance & | operator= (const Instance &) |
Static Private Member Functions | |
template<typename ScalarT > | |
static ScalarT | alphaN (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | betaN (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | alphaM (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | betaM (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | alphaH (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | betaH (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | kcl1EquF (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &n, const ScalarT &m, const ScalarT &h, const ScalarT &memG, const ScalarT &leakE, const ScalarT &Kg, const ScalarT &Ke, const ScalarT &NaG, const ScalarT &NaE) |
template<typename ScalarT > | |
static ScalarT | kcl1EquQ (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &memC) |
template<typename ScalarT > | |
static ScalarT | kcl2EquF (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &n, const ScalarT &m, const ScalarT &h, const ScalarT &memG, const ScalarT &leakE, const ScalarT &Kg, const ScalarT &Ke, const ScalarT &NaG, const ScalarT &NaE) |
template<typename ScalarT > | |
static ScalarT | kcl2EquQ (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &memC) |
template<typename ScalarT > | |
static ScalarT | nEquF (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &n, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | nEquQ (const ScalarT &n) |
template<typename ScalarT > | |
static ScalarT | mEquF (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &m, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | mEquQ (const ScalarT &m) |
template<typename ScalarT > | |
static ScalarT | hEquF (const ScalarT &Vn1, const ScalarT &Vn2, const ScalarT &h, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | hEquQ (const ScalarT &h) |
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 92 of file N_DEV_Neuron.h.
Xyce::Device::Neuron::Instance::Instance | ( | const Configuration & | configuration, |
const InstanceBlock & | IB, | ||
Model & | Miter, | ||
const FactoryBlock & | factory_block | ||
) |
Definition at line 168 of file N_DEV_Neuron.C.
Xyce::Device::Neuron::Instance::~Instance | ( | ) |
Definition at line 284 of file N_DEV_Neuron.C.
|
private |
|
inlinestaticprivate |
Definition at line 221 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 192 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 163 of file N_DEV_Neuron.h.
void Xyce::Device::Neuron::Instance::auxDAECalculations | ( | ) |
|
inlinestaticprivate |
Definition at line 230 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 211 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 182 of file N_DEV_Neuron.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 348 of file N_DEV_Neuron.C.
|
inline |
Definition at line 323 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 307 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 314 of file N_DEV_Neuron.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 423 of file N_DEV_Neuron.C.
|
inlinestaticprivate |
Definition at line 241 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 251 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 259 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 269 of file N_DEV_Neuron.h.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 827 of file N_DEV_Neuron.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 792 of file N_DEV_Neuron.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 768 of file N_DEV_Neuron.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 738 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 401 of file N_DEV_Neuron.C.
|
inlinestaticprivate |
Definition at line 292 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 299 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 277 of file N_DEV_Neuron.h.
|
inlinestaticprivate |
Definition at line 284 of file N_DEV_Neuron.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 135 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 436 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 296 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 376 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 868 of file N_DEV_Neuron.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 474 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 692 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 715 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 154 of file N_DEV_Neuron.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 883 of file N_DEV_Neuron.C.
|
friend |
Definition at line 96 of file N_DEV_Neuron.h.
|
friend |
Definition at line 95 of file N_DEV_Neuron.h.
|
friend |
Definition at line 94 of file N_DEV_Neuron.h.
|
friend |
Definition at line 96 of file N_DEV_Neuron.h.
|
private |
Definition at line 385 of file N_DEV_Neuron.h.
|
private |
Definition at line 384 of file N_DEV_Neuron.h.
|
private |
Definition at line 383 of file N_DEV_Neuron.h.
|
private |
Definition at line 381 of file N_DEV_Neuron.h.
|
private |
Definition at line 380 of file N_DEV_Neuron.h.
|
private |
Definition at line 379 of file N_DEV_Neuron.h.
|
private |
Definition at line 373 of file N_DEV_Neuron.h.
|
private |
Definition at line 372 of file N_DEV_Neuron.h.
|
private |
Definition at line 370 of file N_DEV_Neuron.h.
|
private |
Definition at line 371 of file N_DEV_Neuron.h.
|
private |
Definition at line 369 of file N_DEV_Neuron.h.
|
private |
Definition at line 376 of file N_DEV_Neuron.h.
|
private |
Definition at line 377 of file N_DEV_Neuron.h.
|
private |
Definition at line 375 of file N_DEV_Neuron.h.
|
private |
Definition at line 367 of file N_DEV_Neuron.h.
|
private |
Definition at line 366 of file N_DEV_Neuron.h.
|
private |
Definition at line 364 of file N_DEV_Neuron.h.
|
private |
Definition at line 365 of file N_DEV_Neuron.h.
|
private |
Definition at line 363 of file N_DEV_Neuron.h.
|
private |
Definition at line 343 of file N_DEV_Neuron.h.
|
private |
Definition at line 343 of file N_DEV_Neuron.h.
|
private |
Definition at line 343 of file N_DEV_Neuron.h.
|
private |
Definition at line 343 of file N_DEV_Neuron.h.
|
private |
Definition at line 339 of file N_DEV_Neuron.h.
|
private |
Definition at line 339 of file N_DEV_Neuron.h.
|
private |
Definition at line 339 of file N_DEV_Neuron.h.
|
private |
Definition at line 339 of file N_DEV_Neuron.h.
|
private |
Definition at line 339 of file N_DEV_Neuron.h.
|
private |
Definition at line 339 of file N_DEV_Neuron.h.
|
private |
Definition at line 339 of file N_DEV_Neuron.h.
|
private |
Definition at line 340 of file N_DEV_Neuron.h.
|
private |
Definition at line 340 of file N_DEV_Neuron.h.
|
private |
Definition at line 340 of file N_DEV_Neuron.h.
|
private |
Definition at line 340 of file N_DEV_Neuron.h.
|
private |
Definition at line 340 of file N_DEV_Neuron.h.
|
private |
Definition at line 340 of file N_DEV_Neuron.h.
|
private |
Definition at line 340 of file N_DEV_Neuron.h.
|
private |
Definition at line 342 of file N_DEV_Neuron.h.
|
private |
Definition at line 342 of file N_DEV_Neuron.h.
|
private |
Definition at line 342 of file N_DEV_Neuron.h.
|
private |
Definition at line 342 of file N_DEV_Neuron.h.
|
private |
Definition at line 341 of file N_DEV_Neuron.h.
|
private |
Definition at line 341 of file N_DEV_Neuron.h.
|
private |
Definition at line 341 of file N_DEV_Neuron.h.
|
private |
Definition at line 341 of file N_DEV_Neuron.h.
|
private |
Definition at line 338 of file N_DEV_Neuron.h.
|
private |
Definition at line 338 of file N_DEV_Neuron.h.
|
static |
Definition at line 99 of file N_DEV_Neuron.h.
|
private |
Definition at line 334 of file N_DEV_Neuron.h.
|
private |
Definition at line 334 of file N_DEV_Neuron.h.
|
private |
Definition at line 335 of file N_DEV_Neuron.h.
|
private |
Definition at line 335 of file N_DEV_Neuron.h.
|
private |
Definition at line 358 of file N_DEV_Neuron.h.
|
private |
Definition at line 350 of file N_DEV_Neuron.h.
|
private |
Definition at line 357 of file N_DEV_Neuron.h.
|
private |
Definition at line 351 of file N_DEV_Neuron.h.
|
private |
Definition at line 355 of file N_DEV_Neuron.h.
|
private |
Definition at line 356 of file N_DEV_Neuron.h.
|
private |
Definition at line 354 of file N_DEV_Neuron.h.
|
private |
Definition at line 337 of file N_DEV_Neuron.h.
|
private |
Definition at line 337 of file N_DEV_Neuron.h.
|
private |
Definition at line 330 of file N_DEV_Neuron.h.
|
private |
Definition at line 336 of file N_DEV_Neuron.h.
|
private |
Definition at line 336 of file N_DEV_Neuron.h.
|
private |
Definition at line 346 of file N_DEV_Neuron.h.
|
private |
Definition at line 347 of file N_DEV_Neuron.h.