The template for 3D input data files.

 

A new simulation can be set up by selecting the template data file template3,dat (which used to be called default3.dat).


See also default2 file for 2D.

 

The default file:

 

Template for CPO3D

tmp.dat name of output file, for processed data

tmpa.dat name of 2nd output file, for ray data

m n/p/m/a for nearlyzero/partial/most/all printing level

1 1 0 1 voltage reflection symmetries in x,y,z,x=y planes

2 number of different voltages, time dependence

0.01 5 allowed reading error, side/length ratio check

a apply inscribing correction (a/s/n=always/sometimes/never)

spherical electrode 1st electrode

0.5 0 0 -0.5 radius, centre of sphere

0 0 -0.5 centre of 1st bounding circle

0 0 -1 centre of 2nd bounding circle

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

50 number of subdivisions into triangles

spherical electrode 1st electrode

0.5 0 0 0.5 radius, centre of sphere

0 0 0.5 centre of 1st bounding circle

0 0 1 centre of 2nd bounding circle

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

50 number of subdivisions into triangles

end of electrode information

0 1 0.5 final number of segments, number of steps, weight

1e-06 fractional inaccuracy of charge evaluation

end of segment information

-1 left-hand sphere

1 right-hand sphere

n no more magnetic fields from menu

y y n potentials and fields along a line

0 0 -0.1 coordinates of initial end

0 0 0.1 coordinates of final end end

5 Number of points

0.0001 inaccuracy of evaluation

n n n no more potentials and fields along a line

start of ray information

d direct (d), or mesh (m) method and mesh spacing

m 'n/p/m/a' for 'nearlyzero/partial/most/all' printing level, rho/radius

-1.5 1.5 minimum and maximum x(mm) of screen 2D fields of view

-1.5 1.5 minimum and maximum y

-1.5 1.5 minimum and maximum z

-1.5 1.5 minimum and maximum x(mm) of rays

-1.5 1.5 minimum and maximum y

-1.5 1.5 minimum and maximum z

-1e+10 1e+10 minimum and maximum vx(m/s) of rays

-1e+10 1e+10 minimum and maximum vy

-1e+10 1e+10 minimum and maximum vz

0 1.5 minimum and maximum rho (=sqrt(x**2+y**2))

+ y direction of time, stop ray if electrode crossed (+/-, y/n)

1e-05 final time(ms)

0.1 0.1 3 initial and max step length or time(mm) and interpolation points

-0.001 fractional inaccuracy of ray tracing

1 number of test planes, multiple crossing, iterate to focus

0 0 1 0.25 a,b,c,d of test plane defined by a*x+b*y+c*z=d

el 'el' for electron; or 'co' or 'va' for other particles

k kinetic energy (k); or total energy (t) and potential

set of single rays:

0 0 0 0.5 0.5 1 1 0 x,y,z,vx,vy,vz,eV,I

last of this set of rays

n calculate space-charges?

0 0 0 0 symmetries of rays in yz,zx,xy an x=y planes

Template for CPO3D