From 04443d22a8b40a39a8fe3040e7ef7c63887f0034 Mon Sep 17 00:00:00 2001 From: ackurth Date: Tue, 2 Jan 2024 19:55:55 +0100 Subject: [PATCH] Add to values to be set for synaptic elements --- nestkernel/synaptic_element.cpp | 1 + nestkernel/synaptic_element.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/nestkernel/synaptic_element.cpp b/nestkernel/synaptic_element.cpp index cd51c16861..18750ea5e5 100644 --- a/nestkernel/synaptic_element.cpp +++ b/nestkernel/synaptic_element.cpp @@ -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 ) ) { diff --git a/nestkernel/synaptic_element.h b/nestkernel/synaptic_element.h index 8c2dfac349..e8e425caa3 100644 --- a/nestkernel/synaptic_element.h +++ b/nestkernel/synaptic_element.h @@ -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.