#include <currentSource.h>
◆ CurrentSource() [1/3]
◆ CurrentSource() [2/3]
CurrentSource::CurrentSource |
( |
| ) |
|
|
delete |
◆ CurrentSource() [3/3]
◆ getCurrentSourceModel()
Gets the current source model used by this group.
◆ getDerivedParams()
const std::vector<double>& CurrentSource::getDerivedParams |
( |
| ) |
const |
|
inlineprotected |
◆ getExtraGlobalParamLocation() [1/2]
VarLocation CurrentSource::getExtraGlobalParamLocation |
( |
const std::string & |
paramName | ) |
const |
Get location of neuron model extra global parameter by name.
This is only used by extra global parameters which are pointers
◆ getExtraGlobalParamLocation() [2/2]
VarLocation CurrentSource::getExtraGlobalParamLocation |
( |
size_t |
index | ) |
const |
|
inline |
Get location of neuron model extra global parameter by omdex.
This is only used by extra global parameters which are pointers
◆ getHashDigest()
boost::uuids::detail::sha1::digest_type CurrentSource::getHashDigest |
( |
| ) |
const |
|
protected |
Updates hash with current source.
NOTE: this can only be called after model is finalized
◆ getInitHashDigest()
boost::uuids::detail::sha1::digest_type CurrentSource::getInitHashDigest |
( |
| ) |
const |
|
protected |
Updates hash with current source initialisation.
NOTE: this can only be called after model is finalized
◆ getName()
const std::string& CurrentSource::getName |
( |
| ) |
const |
|
inline |
◆ getParams()
const std::vector<double>& CurrentSource::getParams |
( |
| ) |
const |
|
inline |
◆ getTrgNeuronGroup()
◆ getVarInitialisers()
const std::vector<Models::VarInit>& CurrentSource::getVarInitialisers |
( |
| ) |
const |
|
inline |
◆ getVarLocation() [1/2]
VarLocation CurrentSource::getVarLocation |
( |
const std::string & |
varName | ) |
const |
Get variable location for current source model state variable.
◆ getVarLocation() [2/2]
VarLocation CurrentSource::getVarLocation |
( |
size_t |
index | ) |
const |
|
inline |
Get variable location for current source model state variable.
◆ getVarLocationHashDigest()
boost::uuids::detail::sha1::digest_type CurrentSource::getVarLocationHashDigest |
( |
| ) |
const |
|
protected |
◆ initDerivedParams()
void CurrentSource::initDerivedParams |
( |
double |
dt | ) |
|
|
protected |
◆ isInitRNGRequired()
bool CurrentSource::isInitRNGRequired |
( |
| ) |
const |
|
protected |
Does this current source group require an RNG for it's init code.
◆ isSimRNGRequired()
bool CurrentSource::isSimRNGRequired |
( |
| ) |
const |
|
protected |
Does this current source require an RNG to simulate.
◆ isZeroCopyEnabled()
bool CurrentSource::isZeroCopyEnabled |
( |
| ) |
const |
|
protected |
◆ setExtraGlobalParamLocation()
void CurrentSource::setExtraGlobalParamLocation |
( |
const std::string & |
paramName, |
|
|
VarLocation |
loc |
|
) |
| |
Set location of extra global parameter.
This is ignored for simulations on hardware with a single memory space and only applies to extra global parameters which are pointers.
◆ setVarLocation()
void CurrentSource::setVarLocation |
( |
const std::string & |
varName, |
|
|
VarLocation |
loc |
|
) |
| |
Set location of current source state variable.
The documentation for this class was generated from the following files: