42nd 2D example, defining relationships between voltages.

Based on test2d01.dat, ideal hemispherical deflection analyzer, which had:

inner voltage = V1 = 1.66667

outer voltage = V2 = 0.6

Here we have created two extra voltages and have defined:

inner voltage = V1 = V3 + 0.5*V4,

outer voltage = V2 = V3 - 0.5*V4,

where V3 = 1.133333, V4 = 1.066667

This has been achieved by using the voltages:

1.E11               3 4 4  1.  0.5 0. inner hemisphere

1.E11               3 4 4  1. -0.5 0. outer hemisphere

1.133333            V3

1.066667            V4

This option is triggered by entering a voltage as 1.E11 and then entering 3 integers (n1, n2, n3) and 3 real numbers (a1,a2,a3) from space 20 onwards.  The voltage is then set to:

a1*voltage(n1) + a2*voltage(n2) + a3*voltage(n3)

The voltages V1 and V2 in this example are referred to as 'dependent voltages', while the voltages V3 and V4 are referred to as 'source voltages'.

Important notes:

The dependent voltages must be given first, followed by the source voltages.  All voltages must be either dependent voltages or source voltages. Only dependent voltages can be applied to electrodes, not source voltages.