Xyce
6.1
|
#include <N_DEV_Neuron3.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 std::ostream & | printName (std::ostream &os) const |
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< Util::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 () |
virtual bool | loadDAEBVector () |
const InstanceName & | getName () const |
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 () |
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 () |
const ExternData & | getExternData () const |
![]() | |
DeviceEntity (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 () 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 | getParam (const std::string ¶mName, double &result) const |
bool | getParamBreakpoints (std::vector< Util::BreakPoint > &) |
bool | updateDependentParameters (N_LAS_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 | |
template<typename ScalarT > | |
static ScalarT | alphaN (const ScalarT &Vn1, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | betaN (const ScalarT &Vn1, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | alphaM (const ScalarT &Vn1, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | betaM (const ScalarT &Vn1, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | alphaH (const ScalarT &Vn1, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | betaH (const ScalarT &Vn1, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | kcl1EquF (const ScalarT &VSeg, const ScalarT &VSegP, const ScalarT &VSegN, const ScalarT &n, const ScalarT &m, const ScalarT &h, const ScalarT &gPrev, const ScalarT &gNext, const ScalarT &memG, const ScalarT &restV, const ScalarT &Kg, const ScalarT &Ke, const ScalarT &NaG, const ScalarT &NaE) |
template<typename ScalarT > | |
static ScalarT | kcl1EquQ (const ScalarT &VSeg, const ScalarT &memC) |
template<typename ScalarT > | |
static ScalarT | nEquF (const ScalarT &Vn1, 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 &m, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | mEquQ (const ScalarT &m) |
template<typename ScalarT > | |
static ScalarT | hEquF (const ScalarT &Vn1, const ScalarT &h, const ScalarT &Vrest) |
template<typename ScalarT > | |
static ScalarT | hEquQ (const ScalarT &h) |
Private Attributes | |
Model & | model_ |
std::vector< std::vector< int > > | jacStamp |
double | rInt |
double | radius |
double | length |
double | segArea |
int | nSeg |
bool | rIntGiven |
bool | radiusGiven |
bool | lengthGiven |
bool | nSegGiven |
double | rIntPrevious |
double | radiusPrevious |
double | lengthPrevious |
double | rIntNext |
double | radiusNext |
double | lengthNext |
bool | rIntPreviousGiven |
bool | radiusPreviousGiven |
bool | lengthPreviousGiven |
bool | rIntNextGiven |
bool | radiusNextGiven |
bool | lengthNextGiven |
std::vector< double > | gBackward |
std::vector< double > | gForward |
double | kcl1Fvalue |
double | kcl2Fvalue |
std::vector< double > | segFvalue |
std::vector< double > | segQvalue |
std::vector< double > | segNEquFvalue |
std::vector< double > | segNEquQvalue |
std::vector< double > | segMEquFvalue |
std::vector< double > | segMEquQvalue |
std::vector< double > | segHEquFvalue |
std::vector< double > | segHEquQvalue |
double | dkcl1F_dVin |
double | dkcl1F_dVs0 |
double | dkcl2F_dVout |
double | dkcl2F_dVsn |
std::vector< double > | segF_dVp |
std::vector< double > | segF_dV |
std::vector< double > | segF_dVn |
std::vector< double > | segF_dn |
std::vector< double > | segF_dm |
std::vector< double > | segF_dh |
std::vector< double > | segQ_dV |
std::vector< double > | dnF_dV |
std::vector< double > | dnF_dn |
std::vector< double > | dnQ_dn |
std::vector< double > | dmF_dV |
std::vector< double > | dmF_dm |
std::vector< double > | dmQ_dm |
std::vector< double > | dhF_dV |
std::vector< double > | dhF_dh |
std::vector< double > | dhQ_dh |
std::vector< double > | potassiumCurrent |
std::vector< double > | sodiumCurrent |
std::vector< int > | li_KCurrentState |
std::vector< int > | li_NaCurrentState |
int | li_Pos |
int | li_Neg |
std::vector< int > | li_Vol |
std::vector< int > | li_nPro |
std::vector< int > | li_mPro |
std::vector< int > | li_hPro |
int | APosEquPosNodeOffset |
int | APosEquNextNodeOffset |
int | ANegEquNegNodeOffset |
int | ANegEquLastNodeOffset |
std::vector< int > | SegVEqnVpreOffset |
std::vector< int > | SegVEqnVsegOffset |
std::vector< int > | SegVEqnVnexOffset |
std::vector< int > | SegVEqnNOffset |
std::vector< int > | SegVEqnMOffset |
std::vector< int > | SegVEqnHOffset |
std::vector< int > | NEquVNodeOffset |
std::vector< int > | NEquNNodeOffset |
std::vector< int > | MEquVNodeOffset |
std::vector< int > | MEquMNodeOffset |
std::vector< int > | HEquVNodeOffset |
std::vector< int > | HEquHNodeOffset |
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 | 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 93 of file N_DEV_Neuron3.h.
Xyce::Device::Neuron3::Instance::Instance | ( | const Configuration & | configuration, |
const InstanceBlock & | IB, | ||
Model & | Miter, | ||
const FactoryBlock & | factory_block | ||
) |
Definition at line 261 of file N_DEV_Neuron3.C.
Xyce::Device::Neuron3::Instance::~Instance | ( | ) |
Definition at line 546 of file N_DEV_Neuron3.C.
|
private |
|
inlinestaticprivate |
Definition at line 217 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 188 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 160 of file N_DEV_Neuron3.h.
void Xyce::Device::Neuron3::Instance::auxDAECalculations | ( | ) |
|
inlinestaticprivate |
Definition at line 226 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 207 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 178 of file N_DEV_Neuron3.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 618 of file N_DEV_Neuron3.C.
|
inline |
Definition at line 336 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 320 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 327 of file N_DEV_Neuron3.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 695 of file N_DEV_Neuron3.C.
|
inlinestaticprivate |
Definition at line 249 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 261 of file N_DEV_Neuron3.h.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1121 of file N_DEV_Neuron3.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1092 of file N_DEV_Neuron3.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1063 of file N_DEV_Neuron3.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 1032 of file N_DEV_Neuron3.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 673 of file N_DEV_Neuron3.C.
|
inlinestaticprivate |
Definition at line 305 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 312 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 290 of file N_DEV_Neuron3.h.
|
inlinestaticprivate |
Definition at line 297 of file N_DEV_Neuron3.h.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 228 of file N_DEV_Neuron3.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 708 of file N_DEV_Neuron3.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 558 of file N_DEV_Neuron3.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 645 of file N_DEV_Neuron3.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 1161 of file N_DEV_Neuron3.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 778 of file N_DEV_Neuron3.C.
|
virtual |
Implements Xyce::Device::DeviceInstance.
Definition at line 984 of file N_DEV_Neuron3.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 1010 of file N_DEV_Neuron3.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 247 of file N_DEV_Neuron3.C.
|
virtual |
Reimplemented from Xyce::Device::DeviceInstance.
Definition at line 1176 of file N_DEV_Neuron3.C.
|
friend |
Definition at line 96 of file N_DEV_Neuron3.h.
|
friend |
Definition at line 95 of file N_DEV_Neuron3.h.
|
friend |
Definition at line 97 of file N_DEV_Neuron3.h.
|
private |
Definition at line 420 of file N_DEV_Neuron3.h.
|
private |
Definition at line 420 of file N_DEV_Neuron3.h.
|
private |
Definition at line 419 of file N_DEV_Neuron3.h.
|
private |
Definition at line 419 of file N_DEV_Neuron3.h.
|
private |
Definition at line 397 of file N_DEV_Neuron3.h.
|
private |
Definition at line 397 of file N_DEV_Neuron3.h.
|
private |
Definition at line 397 of file N_DEV_Neuron3.h.
|
private |
Definition at line 390 of file N_DEV_Neuron3.h.
|
private |
Definition at line 390 of file N_DEV_Neuron3.h.
|
private |
Definition at line 391 of file N_DEV_Neuron3.h.
|
private |
Definition at line 391 of file N_DEV_Neuron3.h.
|
private |
Definition at line 396 of file N_DEV_Neuron3.h.
|
private |
Definition at line 396 of file N_DEV_Neuron3.h.
|
private |
Definition at line 396 of file N_DEV_Neuron3.h.
|
private |
Definition at line 395 of file N_DEV_Neuron3.h.
|
private |
Definition at line 395 of file N_DEV_Neuron3.h.
|
private |
Definition at line 395 of file N_DEV_Neuron3.h.
|
private |
Definition at line 376 of file N_DEV_Neuron3.h.
|
private |
Definition at line 377 of file N_DEV_Neuron3.h.
|
private |
Definition at line 432 of file N_DEV_Neuron3.h.
|
private |
Definition at line 431 of file N_DEV_Neuron3.h.
|
private |
Definition at line 345 of file N_DEV_Neuron3.h.
|
private |
Definition at line 381 of file N_DEV_Neuron3.h.
|
private |
Definition at line 382 of file N_DEV_Neuron3.h.
|
private |
Definition at line 350 of file N_DEV_Neuron3.h.
|
private |
Definition at line 355 of file N_DEV_Neuron3.h.
|
private |
Definition at line 366 of file N_DEV_Neuron3.h.
|
private |
Definition at line 372 of file N_DEV_Neuron3.h.
|
private |
Definition at line 363 of file N_DEV_Neuron3.h.
|
private |
Definition at line 369 of file N_DEV_Neuron3.h.
|
private |
Definition at line 414 of file N_DEV_Neuron3.h.
|
private |
Definition at line 404 of file N_DEV_Neuron3.h.
|
private |
Definition at line 413 of file N_DEV_Neuron3.h.
|
private |
Definition at line 405 of file N_DEV_Neuron3.h.
|
private |
Definition at line 409 of file N_DEV_Neuron3.h.
|
private |
Definition at line 412 of file N_DEV_Neuron3.h.
|
private |
Definition at line 408 of file N_DEV_Neuron3.h.
|
private |
Definition at line 411 of file N_DEV_Neuron3.h.
|
private |
Definition at line 430 of file N_DEV_Neuron3.h.
|
private |
Definition at line 429 of file N_DEV_Neuron3.h.
|
private |
Definition at line 343 of file N_DEV_Neuron3.h.
|
private |
Definition at line 428 of file N_DEV_Neuron3.h.
|
private |
Definition at line 427 of file N_DEV_Neuron3.h.
|
private |
Definition at line 352 of file N_DEV_Neuron3.h.
|
private |
Definition at line 356 of file N_DEV_Neuron3.h.
|
private |
Definition at line 400 of file N_DEV_Neuron3.h.
|
private |
Definition at line 349 of file N_DEV_Neuron3.h.
|
private |
Definition at line 354 of file N_DEV_Neuron3.h.
|
private |
Definition at line 365 of file N_DEV_Neuron3.h.
|
private |
Definition at line 371 of file N_DEV_Neuron3.h.
|
private |
Definition at line 362 of file N_DEV_Neuron3.h.
|
private |
Definition at line 368 of file N_DEV_Neuron3.h.
|
private |
Definition at line 348 of file N_DEV_Neuron3.h.
|
private |
Definition at line 353 of file N_DEV_Neuron3.h.
|
private |
Definition at line 364 of file N_DEV_Neuron3.h.
|
private |
Definition at line 370 of file N_DEV_Neuron3.h.
|
private |
Definition at line 361 of file N_DEV_Neuron3.h.
|
private |
Definition at line 367 of file N_DEV_Neuron3.h.
|
private |
Definition at line 351 of file N_DEV_Neuron3.h.
|
private |
Definition at line 393 of file N_DEV_Neuron3.h.
|
private |
Definition at line 393 of file N_DEV_Neuron3.h.
|
private |
Definition at line 393 of file N_DEV_Neuron3.h.
|
private |
Definition at line 393 of file N_DEV_Neuron3.h.
|
private |
Definition at line 393 of file N_DEV_Neuron3.h.
|
private |
Definition at line 393 of file N_DEV_Neuron3.h.
|
private |
Definition at line 384 of file N_DEV_Neuron3.h.
|
private |
Definition at line 388 of file N_DEV_Neuron3.h.
|
private |
Definition at line 388 of file N_DEV_Neuron3.h.
|
private |
Definition at line 387 of file N_DEV_Neuron3.h.
|
private |
Definition at line 387 of file N_DEV_Neuron3.h.
|
private |
Definition at line 386 of file N_DEV_Neuron3.h.
|
private |
Definition at line 386 of file N_DEV_Neuron3.h.
|
private |
Definition at line 394 of file N_DEV_Neuron3.h.
|
private |
Definition at line 385 of file N_DEV_Neuron3.h.
|
private |
Definition at line 426 of file N_DEV_Neuron3.h.
|
private |
Definition at line 425 of file N_DEV_Neuron3.h.
|
private |
Definition at line 424 of file N_DEV_Neuron3.h.
|
private |
Definition at line 423 of file N_DEV_Neuron3.h.
|
private |
Definition at line 421 of file N_DEV_Neuron3.h.
|
private |
Definition at line 422 of file N_DEV_Neuron3.h.
|
private |
Definition at line 401 of file N_DEV_Neuron3.h.