1 |
************************************************************************* |
2 |
* |
3 |
* Common common_B_outer.f |
4 |
* |
5 |
* to be included in: |
6 |
* - ../magnet/read_B_outer.f |
7 |
* - ../magnet/inter_B.f |
8 |
* - ../magnet/inter_B_outer.f |
9 |
* |
10 |
************************************************************************* |
11 |
|
12 |
c implicit double precision (a-h,o-z) |
13 |
|
14 |
|
15 |
c number of measures along X, Y and Z axes |
16 |
parameter (nox=13, noy=13, noz=4) |
17 |
|
18 |
c coordinates in m of the edges of the volume in which the field |
19 |
c is interpolated according to the inner maps |
20 |
c UPPER VOLUME |
21 |
double precision edgeuxmin,edgeuxmax,edgeuymin,edgeuymax, |
22 |
& edgeuzmin,edgeuzmax,edgelxmin,edgelxmax,edgelymin, |
23 |
& edgelymax,edgelzmin,edgelzmax |
24 |
parameter (edgeuxmin=-0.18) |
25 |
parameter (edgeuxmax=0.18) |
26 |
parameter (edgeuymin=-0.18) |
27 |
parameter (edgeuymax=0.18) |
28 |
parameter (edgeuzmin=0.28) |
29 |
parameter (edgeuzmax=0.37) |
30 |
c LOWER VOLUME |
31 |
parameter (edgelxmin=edgeuxmin) |
32 |
parameter (edgelxmax=edgeuxmax) |
33 |
parameter (edgelymin=edgeuymin) |
34 |
parameter (edgelymax=edgeuymax) |
35 |
parameter (edgelzmin=-0.37) |
36 |
parameter (edgelzmax=-0.28) |
37 |
|
38 |
************ |
39 |
c MAGNETIC-FIELD MAP |
40 |
double precision pox(nox,3),poy(noy,3),poz(noz,3) !coordinates of measure points: |
41 |
c e.g. py1(ny,1) = Y coordinates of Bx (=1) component of magnetic field |
42 |
|
43 |
double precision bo(nox,noy,noz,3) !magnetic field values: |
44 |
c e.g. b1(nx,ny,nz,2) = By (=2) component of magnetic field measured in (nx, ny, nz) |
45 |
|
46 |
double precision poxmax(3),poxmin(3), |
47 |
& poymax(3),poymin(3),pozmax(3),pozmin(3) |
48 |
c grid edges |
49 |
|
50 |
common/interpolationo/pox,poy,poz,bo |
51 |
& ,poxmax,poxmin,poymax,poymin,pozmax,pozmin |
52 |
save/interpolationo/ |