GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
CurrentSourceInternal Class Reference

#include <currentSourceInternal.h>

Inheritance diagram for CurrentSourceInternal:
CurrentSource

Public Member Functions

 CurrentSourceInternal (const std::string &name, const CurrentSourceModels::Base *currentSourceModel, const std::vector< double > &params, const std::vector< Models::VarInit > &varInitialisers, const NeuronGroupInternal *targetNeuronGroup, VarLocation defaultVarLocation, VarLocation defaultExtraGlobalParamLocation)
 
- Public Member Functions inherited from CurrentSource
 CurrentSource (const CurrentSource &)=delete
 
 CurrentSource ()=delete
 
void setVarLocation (const std::string &varName, VarLocation loc)
 Set location of current source state variable. More...
 
void setExtraGlobalParamLocation (const std::string &paramName, VarLocation loc)
 Set location of extra global parameter. More...
 
const std::string & getName () const
 
const CurrentSourceModels::BasegetCurrentSourceModel () const
 Gets the current source model used by this group. More...
 
const std::vector< double > & getParams () const
 
const std::vector< Models::VarInit > & getVarInitialisers () const
 
VarLocation getVarLocation (const std::string &varName) const
 Get variable location for current source model state variable. More...
 
VarLocation getVarLocation (size_t index) const
 Get variable location for current source model state variable. More...
 
VarLocation getExtraGlobalParamLocation (const std::string &paramName) const
 Get location of neuron model extra global parameter by name. More...
 
VarLocation getExtraGlobalParamLocation (size_t index) const
 Get location of neuron model extra global parameter by omdex. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CurrentSource
 CurrentSource (const std::string &name, const CurrentSourceModels::Base *currentSourceModel, const std::vector< double > &params, const std::vector< Models::VarInit > &varInitialisers, const NeuronGroupInternal *trgNeuronGroup, VarLocation defaultVarLocation, VarLocation defaultExtraGlobalParamLocation)
 
void initDerivedParams (double dt)
 
const NeuronGroupInternalgetTrgNeuronGroup () const
 
const std::vector< double > & getDerivedParams () const
 
bool isSimRNGRequired () const
 Does this current source require an RNG to simulate. More...
 
bool isInitRNGRequired () const
 Does this current source group require an RNG for it's init code. More...
 
bool isZeroCopyEnabled () const
 
boost::uuids::detail::sha1::digest_type getHashDigest () const
 Updates hash with current source. More...
 
boost::uuids::detail::sha1::digest_type getInitHashDigest () const
 Updates hash with current source initialisation. More...
 
boost::uuids::detail::sha1::digest_type getVarLocationHashDigest () const
 

Constructor & Destructor Documentation

◆ CurrentSourceInternal()

CurrentSourceInternal::CurrentSourceInternal ( const std::string &  name,
const CurrentSourceModels::Base currentSourceModel,
const std::vector< double > &  params,
const std::vector< Models::VarInit > &  varInitialisers,
const NeuronGroupInternal targetNeuronGroup,
VarLocation  defaultVarLocation,
VarLocation  defaultExtraGlobalParamLocation 
)
inline

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