![]() |
GeNN
4.9.0
GPU enhanced Neuronal Networks (GeNN)
|
Hodgkin-Huxley neurons with Traub & Miles algorithm. More...
#include <neuronModels.h>
Public Types | |
typedef Snippet::ValueBase< 7 > | ParamValues |
typedef Models::VarInitContainerBase< 4 > | VarValues |
typedef Models::VarInitContainerBase< 0 > | PreVarValues |
typedef Models::VarInitContainerBase< 0 > | PostVarValues |
![]() | |
typedef Snippet::ValueBase< 7 > | ParamValues |
typedef Models::VarInitContainerBase< 4 > | VarValues |
typedef Models::VarInitContainerBase< 0 > | PreVarValues |
typedef Models::VarInitContainerBase< 0 > | PostVarValues |
![]() | |
typedef std::vector< Var > | VarVec |
typedef std::vector< VarRef > | VarRefVec |
typedef std::vector< EGPRef > | EGPRefVec |
![]() | |
typedef std::vector< std::string > | StringVec |
typedef std::vector< EGP > | EGPVec |
typedef std::vector< ParamVal > | ParamValVec |
typedef std::vector< DerivedParam > | DerivedParamVec |
Public Member Functions | |
virtual std::string | getSimCode () const override |
Gets the code that defines the execution of one timestep of integration of the neuron model. More... | |
![]() | |
virtual std::string | getThresholdConditionCode () const override |
Gets code which defines the condition for a true spike in the described neuron model. More... | |
virtual StringVec | getParamNames () const override |
Gets names of of (independent) model parameters. More... | |
virtual VarVec | getVars () const override |
Gets names and types (as strings) of model variables. More... | |
![]() | |
virtual std::string | getResetCode () const |
Gets code that defines the reset action taken after a spike occurred. This can be empty. More... | |
virtual std::string | getSupportCode () const |
Gets support code to be made available within the neuron kernel/funcion. More... | |
virtual Models::Base::ParamValVec | getAdditionalInputVars () const |
virtual bool | isAutoRefractoryRequired () const |
Does this model require auto-refractory logic? More... | |
boost::uuids::detail::sha1::digest_type | getHashDigest () const |
Update hash from model. More... | |
void | validate () const |
Validate names of parameters etc. More... | |
![]() | |
size_t | getVarIndex (const std::string &varName) const |
Find the index of a named variable. More... | |
![]() | |
virtual | ~Base () |
virtual DerivedParamVec | getDerivedParams () const |
virtual EGPVec | getExtraGlobalParams () const |
size_t | getExtraGlobalParamIndex (const std::string ¶mName) const |
Find the index of a named extra global parameter. More... | |
Static Public Member Functions | |
static const NeuronModels::TraubMilesAlt * | getInstance () |
![]() | |
static const NeuronModels::TraubMiles * | getInstance () |
Additional Inherited Members | |
![]() | |
void | updateHash (boost::uuids::detail::sha1 &hash) const |
void | validate () const |
Validate names of parameters etc. More... | |
![]() | |
void | updateHash (boost::uuids::detail::sha1 &hash) const |
void | validate () const |
Validate names of parameters etc. More... | |
![]() | |
template<typename T > | |
static size_t | getNamedVecIndex (const std::string &name, const std::vector< T > &vec) |
Hodgkin-Huxley neurons with Traub & Miles algorithm.
Using a workaround to avoid singularity: adding the munimum numerical value of the floating point precision used.
|
inlinestatic |
|
inlineoverridevirtual |
Gets the code that defines the execution of one timestep of integration of the neuron model.
The code will refer to for the value of the variable with name "NN". It needs to refer to the predefined variable "ISYN", i.e. contain , if it is to receive input.
Reimplemented from NeuronModels::TraubMiles.