Main Neurospaces logo Genesis 2 Backwards Compatibility Bridge

Index of group ./specifications/core/getfield


Index
Up

create a compartment, set its fields and then copy it

1. Can we perform a getfield on each of the compartments parameters (fields)?
2. Can we perform a getfield from a heccer solved variable?

1. Can we perform a getfield on each of the compartments parameters (fields)?

Startup command : src/ns-sli ..//tests/scripts/genesis-2/getfield.g


1.1. Can we perform getfield on compartment parameters?

1. Expected output
Echoing each field via getfield
4.57537e-11
3.58441e+08
360502
1
1
-0.068
-0.08

2. Can we perform a getfield from a heccer solved variable?

Startup command : src/ns-sli ..//tests/scripts/heccer/springmass1.g


2.1. Can we get the field for the voltage potential from compartment 1 in springmass1.?

1. Executed command
echo {"Vm = " @ {getfield /hardcoded_neutral/c1 Vm}}
2. Expected output
Vm = -0.0791698

2.2. Can we read voltage potential from compartment 2 in springmass1.g?

1. Executed command
echo {"Vm = " @ {getfield /hardcoded_neutral/c2 Vm}}
2. Expected output
Vm = -0.0791697