These variables are defined as the summation of the field Ik or Gk for each channel of the same type in the model. For this to work correctly, each channel of the same type must have the same name in each compartment. Then, before the SETUP action, the storemode field should be set to one of the following values:
Now if you want hsolve to report where it will store the totals of currents or conductances for each channel type, set the silent flag of Genesis to a negative value, call the RESET action on the hsolve element and reset the silent flag to its original value. Hsolve will then report where to find the computed fields for each channel type (or better for each unique channel name that is encountered in the model):
genesis > silent -1 genesis > call solver RESET storing leak in itotal storing CaP in itotal storing KC in itotal storing K2 in itotal storing Ca_pool in itotal storing Ca_nernst in itotal storing stellate in itotal storing Kdr in itotal storing NaF in itotal transferring element field values into solve arrays genesis > silent 0
Now you can use the getfield and showfield commands to examine the values of the variables.
genesis > step genesis > showfield solve itotal [ /Purkinje/solve ] itotal = 8.777549691e-10
The storemode field does not influence any other functionality of hsolve. So you are still able to use findsolvefield to inspect other computed values of interest.