Skip to content

Commit

Permalink
Add to values to be set for synaptic elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ackurth committed Jan 2, 2024
1 parent 91a02ed commit 04443d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions nestkernel/synaptic_element.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ nest::SynapticElement::set( const DictionaryDatum& d )
updateValue< double >( d, names::tau_vacant, new_tau_vacant );
updateValue< bool >( d, names::continuous, continuous_ );
updateValue< double >( d, names::z, z_ );
updateValue< double >( d, names::z_connected, z_connected_ );

if ( d->known( names::growth_curve ) )
{
Expand Down
4 changes: 4 additions & 0 deletions nestkernel/synaptic_element.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
* double value. An standard value for the growth of
* a
* synaptic element is around 0.0001 elements/ms.
* z_connected integer - Current number of connected synaptic elements. Stored
* as an integer variable. The difference between z
* and this value determines the number of vacant
* synaptic elements. Default is 0.
* continuous boolean - Defines if the number of synaptic elements should
* be treated as a continuous double number or as an
* integer value. Default is false.
Expand Down

0 comments on commit 04443d2

Please sign in to comment.