#include <customUpdate.h>
◆ CustomUpdateBase() [1/3]
◆ CustomUpdateBase() [2/3]
CustomUpdateBase::CustomUpdateBase |
( |
| ) |
|
|
delete |
◆ CustomUpdateBase() [3/3]
◆ checkVarReferenceBatching()
template<typename V >
void CustomUpdateBase::checkVarReferenceBatching |
( |
const std::vector< V > & |
varRefs, |
|
|
unsigned int |
batchSize |
|
) |
| |
|
inlineprotected |
Helper function to check if variable reference types match those specified in model.
◆ checkVarReferences()
template<typename V >
void CustomUpdateBase::checkVarReferences |
( |
const std::vector< V > & |
varRefs | ) |
|
|
inlineprotected |
Helper function to check if variable reference types match those specified in model.
◆ getCustomUpdateModel()
Gets the custom update model used by this group.
◆ getDerivedParams()
const std::vector<double>& CustomUpdateBase::getDerivedParams |
( |
| ) |
const |
|
inlineprotected |
◆ getEGPReferences()
◆ getName()
const std::string& CustomUpdateBase::getName |
( |
| ) |
const |
|
inline |
◆ getParams()
const std::vector<double>& CustomUpdateBase::getParams |
( |
| ) |
const |
|
inline |
◆ getUpdateGroupName()
const std::string& CustomUpdateBase::getUpdateGroupName |
( |
| ) |
const |
|
inline |
◆ getVarInitialisers()
const std::vector<Models::VarInit>& CustomUpdateBase::getVarInitialisers |
( |
| ) |
const |
|
inline |
◆ getVarLocation() [1/2]
VarLocation CustomUpdateBase::getVarLocation |
( |
const std::string & |
varName | ) |
const |
Get variable location for custom update model state variable.
◆ getVarLocation() [2/2]
VarLocation CustomUpdateBase::getVarLocation |
( |
size_t |
index | ) |
const |
|
inline |
Get variable location for custom update model state variable.
◆ getVarLocationHashDigest()
boost::uuids::detail::sha1::digest_type CustomUpdateBase::getVarLocationHashDigest |
( |
| ) |
const |
|
protected |
◆ initDerivedParams()
void CustomUpdateBase::initDerivedParams |
( |
double |
dt | ) |
|
|
protected |
◆ isBatched()
bool CustomUpdateBase::isBatched |
( |
| ) |
const |
|
inlineprotected |
Is this custom update batched i.e. run in parallel across model batches.
◆ isInitRNGRequired()
bool CustomUpdateBase::isInitRNGRequired |
( |
| ) |
const |
|
protected |
Does this current source group require an RNG for it's init code.
◆ isReduction()
template<typename V >
bool CustomUpdateBase::isReduction |
( |
const std::vector< V > & |
varRefs, |
|
|
VarAccessDuplication |
duplication |
|
) |
| const |
|
inlineprotected |
◆ isVarInitRequired()
bool CustomUpdateBase::isVarInitRequired |
( |
| ) |
const |
Is var init code required for any variables in this custom update group's custom update model?
◆ isZeroCopyEnabled()
bool CustomUpdateBase::isZeroCopyEnabled |
( |
| ) |
const |
|
protected |
◆ setVarLocation()
void CustomUpdateBase::setVarLocation |
( |
const std::string & |
varName, |
|
|
VarLocation |
loc |
|
) |
| |
Set location of state variable.
This is ignored for simulations on hardware with a single memory space
◆ updateHash()
void CustomUpdateBase::updateHash |
( |
boost::uuids::detail::sha1 & |
hash | ) |
const |
|
protected |
Updates hash with custom update.
NOTE: this can only be called after model is finalized
◆ updateInitHash()
void CustomUpdateBase::updateInitHash |
( |
boost::uuids::detail::sha1 & |
hash | ) |
const |
|
protected |
Updates hash with custom update.
NOTE: this can only be called after model is finalized
The documentation for this class was generated from the following files: