GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
PostsynapticModels::ExpCond Class Reference

Exponential decay with synaptic input treated as a conductance value. More...

#include <postsynapticModels.h>

Inheritance diagram for PostsynapticModels::ExpCond:
PostsynapticModels::Base Models::Base Snippet::Base

Public Types

typedef Snippet::ValueBase< 2 > ParamValues
 
typedef Models::VarInitContainerBase< 0 > VarValues
 
typedef Models::VarInitContainerBase< 0 > PreVarValues
 
typedef Models::VarInitContainerBase< 0 > PostVarValues
 
- Public Types inherited from Models::Base
typedef std::vector< VarVarVec
 
typedef std::vector< VarRefVarRefVec
 
typedef std::vector< EGPRefEGPRefVec
 
- Public Types inherited from Snippet::Base
typedef std::vector< std::string > StringVec
 
typedef std::vector< EGPEGPVec
 
typedef std::vector< ParamValParamValVec
 
typedef std::vector< DerivedParamDerivedParamVec
 

Public Member Functions

virtual std::string getDecayCode () const override
 
virtual std::string getApplyInputCode () const override
 
virtual StringVec getParamNames () const override
 Gets names of of (independent) model parameters. More...
 
virtual DerivedParamVec getDerivedParams () const override
 
- Public Member Functions inherited from PostsynapticModels::Base
virtual std::string getSupportCode () const
 
boost::uuids::detail::sha1::digest_type getHashDigest () const
 Update hash from model. More...
 
void validate () const
 Validate names of parameters etc. More...
 
- Public Member Functions inherited from Models::Base
virtual VarVec getVars () const
 Gets names and types (as strings) of model variables. More...
 
size_t getVarIndex (const std::string &varName) const
 Find the index of a named variable. More...
 
- Public Member Functions inherited from Snippet::Base
virtual ~Base ()
 
virtual EGPVec getExtraGlobalParams () const
 
size_t getExtraGlobalParamIndex (const std::string &paramName) const
 Find the index of a named extra global parameter. More...
 

Static Public Member Functions

static const ExpCondgetInstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from Models::Base
void updateHash (boost::uuids::detail::sha1 &hash) const
 
void validate () const
 Validate names of parameters etc. More...
 
- Protected Member Functions inherited from Snippet::Base
void updateHash (boost::uuids::detail::sha1 &hash) const
 
void validate () const
 Validate names of parameters etc. More...
 
- Static Protected Member Functions inherited from Snippet::Base
template<typename T >
static size_t getNamedVecIndex (const std::string &name, const std::vector< T > &vec)
 

Detailed Description

Exponential decay with synaptic input treated as a conductance value.

This model has no variables and two parameters:

  • tau : Decay time constant
  • E : Reversal potential

tau is used by the derived parameter expdecay which returns expf(-dt/tau).

Member Typedef Documentation

◆ ParamValues

◆ PostVarValues

◆ PreVarValues

◆ VarValues

Member Function Documentation

◆ getApplyInputCode()

virtual std::string PostsynapticModels::ExpCond::getApplyInputCode ( ) const
inlineoverridevirtual

Reimplemented from PostsynapticModels::Base.

◆ getDecayCode()

virtual std::string PostsynapticModels::ExpCond::getDecayCode ( ) const
inlineoverridevirtual

Reimplemented from PostsynapticModels::Base.

◆ getDerivedParams()

virtual DerivedParamVec PostsynapticModels::ExpCond::getDerivedParams ( ) const
inlineoverridevirtual

Gets names of derived model parameters and the function objects to call to Calculate their value from a vector of model parameter values

Reimplemented from Snippet::Base.

◆ getInstance()

static const ExpCond* PostsynapticModels::ExpCond::getInstance ( )
inlinestatic

◆ getParamNames()

virtual StringVec PostsynapticModels::ExpCond::getParamNames ( ) const
inlineoverridevirtual

Gets names of of (independent) model parameters.

Reimplemented from Snippet::Base.


The documentation for this class was generated from the following file: