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[0] storing CaP in itotal[1] storing KC in itotal[2] storing K2 in itotal[3] storing Ca_pool in itotal[4] storing Ca_nernst in itotal[5] storing stellate in itotal[6] storing Kdr in itotal[7] storing NaF in itotal[8] 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[1] [ /Purkinje/solve ] itotal[3] = 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.