Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add z_connected to values to be set for synaptic elements #3060

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading