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

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

#include <newPostsynapticModels.h>

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

Public Types

typedef Snippet::ValueBase< 2 > ParamValues
 
typedef NewModels::VarInitContainerBase< 0 > VarValues
 
typedef NewModels::VarInitContainerBase< 0 > PreVarValues
 
typedef NewModels::VarInitContainerBase< 0 > PostVarValues
 
- Public Types inherited from Snippet::Base
typedef std::function< double(const std::vector< double > &, double)> DerivedParamFunc
 
typedef std::vector< std::string > StringVec
 
typedef std::vector< std::pair< std::string, std::string > > StringPairVec
 
typedef std::vector< std::pair< std::string, std::pair< std::string, double > > > NameTypeValVec
 
typedef std::vector< std::pair< std::string, DerivedParamFunc > > DerivedParamVec
 

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
 
virtual NewModels::Base::StringPairVec getExtraGlobalParams () const
 
- Public Member Functions inherited from NewModels::Base
virtual StringPairVec 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 ()
 

Static Public Member Functions

static const ExpCondgetInstance ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from NewModels::Base
static size_t getVarIndex (const std::string &varName, const StringPairVec &vars)
 

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: