GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
NewModels::VarInit Class Reference

#include <newModels.h>

Inheritance diagram for NewModels::VarInit:
Snippet::Init< InitVarSnippet::Base >

Public Member Functions

 VarInit (const InitVarSnippet::Base *snippet, const std::vector< double > &params)
 
 VarInit (double constant)
 
- Public Member Functions inherited from Snippet::Init< InitVarSnippet::Base >
 Init (const InitVarSnippet::Base *snippet, const std::vector< double > &params)
 
const InitVarSnippet::BasegetSnippet () const
 
const std::vector< double > & getParams () const
 
const std::vector< double > & getDerivedParams () const
 
void initDerivedParams (double dt)
 

Detailed Description

Class used to bind together everything required to initialise a variable:

  1. A pointer to a variable initialisation snippet
  2. The parameters required to control the variable initialisation snippet

Constructor & Destructor Documentation

◆ VarInit() [1/2]

NewModels::VarInit::VarInit ( const InitVarSnippet::Base snippet,
const std::vector< double > &  params 
)
inline

◆ VarInit() [2/2]

NewModels::VarInit::VarInit ( double  constant)
inline

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