Program for generating segments of a 3D hyperbolic surface.

The program is called ‘prog13.f90’ and is supplied with the CPO package, together with a compiled version that is activated by the command ‘prog13’. Remember to firstly put the input information (as explained below) into the file ‘tempin.dat’ in the same directory. The output data will be put into the file ‘tempout.dat’.

The program deals with a 3D surface that has planar symmetry, for use with CPO3D.

The equation of the surface is

x**2 - y**2 = a**2, for x > a, y > 0, where the limits of x are x = a and x_max, and the limits of z are z = z_min and z_max.

The input data are in file tempin.dat and have the format:

1. = a

1.72 = maximum x

0. 5. = minimum and maximum z

0.2 = approximate length of sides of each segment in the xy plane

1.0 = approximate length of sides of each segment in the z direction

1 = voltage number

See also program 11: and program 12: which deal with 2D hyperbolas that have two different orientations of the axis.

Please also see the powerful option for users to use their own equations to define electrode shapes.