Input data for a 'spherical triangle'

A triangle that lies on a spherical surface.

The user specifies:

(1) the x,y,z coordinates of the three corners

(2) the radius of the parent sphere

(3) the x,y,z coordinates of the centre of the sphere

(4) the numbers nv1,nv2 that label the voltages that are applied to the electrode (the values of the voltages will be entered later) -nv1 and nv2 are the same if the electrode is an equipotential -they are different if a potential gradient is required in the z direction

(5) if nv1 and nv2 are different, then the user specifies the values of z at which these 2 voltages are applied

(6) the number n of subdivisions into smaller triangles (n will be adjusted if it is not already of the form m**2).

For important advice on subdividing please look at section 3.4 of the Users Guide or the general advice on segmentation.

All types of electrodes can be scaled and/or shifted and/or reflected and/or rotated.

Examples of all the different types of triangles are given in shap3d28.dat.

For users who are editing or constructing an 'input data file' without the use of the data-builder -that is, pre-processor:

But Manual editing is certainly not recommended -it is a relic from the time when the databuilder was not available All users are strongly encouraged to use the databuilder, which always gives the correct formats and which has many options for which the formats are not described or easily deduced.

Typical data for a triangle on a spherical surface, taken from cpo3d.dat, are:

str -triangle on spherical surface

100. 0. 0. corners of triangle

70.71 70.71 0.

0. 0. 100.

100. radius of sphere that triangle lies on

0. 0. 0. centre of sphere

1 1 numbers of 2 applied voltages (can be same)

0 number of subdivisions (=2**n) (0 cancels)

(and note that this electrode has been 'cancelled' by the last line).

The data required are:

(1) x,y,z coordinates of corners

(2) radius of the parent sphere -to disable the 'inscribing correction' (see the relevant note and the second relevant note), enter a negative value

(3) x,y,z coordinates of centre of curvature

(4) numbers nv1,nv2 that label voltages that are applied to the electrode (the values of the voltages will be entered later) -nv1 and nv2 are the same if the electrode is an equipotential -they are different if a potential gradient is required in the z direction

(5) if nv1 and nv2 are different, then enter values of z at which these 2 voltages are applied

(6) number n of subdivisions into smaller triangles (n will be adjusted if it is not already of the form m**2).

For important advice on subdividing please look at section 3.4 of the Users Guide or the general advice on segmentation.