/[PAMELA software]/DarthVader/TrackerLevel2/inc/F77/common_B.f
ViewVC logotype

Contents of /DarthVader/TrackerLevel2/inc/F77/common_B.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri May 19 13:15:52 2006 UTC (18 years, 6 months ago) by mocchiut
Branch: MAIN
Branch point for: DarthVader
Initial revision

1 *************************************************************************
2 *
3 * Common common_B_inner.f
4 *
5 * to be included in:
6 * - ../magnet/read_B_inner.f
7 * - ../magnet/inter_B.f
8 * - ../magnet/inter_B_inner.f
9 *
10 *************************************************************************
11
12 c implicit double precision (a-h,o-z)
13
14
15 parameter (nx=29, ny=23, nz=101) !number of measures along X, Y and Z axes
16
17 c coordinates in m of the edges of the volume in which the field
18 c is interpolated according to the inner maps
19 parameter (edgexmin=-0.085,edgexmax=0.085
20 $ ,edgeymin=-0.07,edgeymax=0.07
21 $ ,edgezmin=-0.26,edgezmax=0.26)
22
23 ************
24 c first map
25 real*8 px1(nx,3),py1(ny,3),pz1(nz,3) !coordinates of measure points:
26 c e.g. py1(ny,1) = Y coordinates of Bx (=1) component of magnetic field
27
28 real*8 b1(nx,ny,nz,3) !magnetic field values:
29 c e.g. b1(nx,ny,nz,2) = By (=2) component of magnetic field measured in (nx, ny, nz)
30
31 real*8 px1max(3),px1min(3),py1max(3),py1min(3),pz1max(3),pz1min(3) !grid edges
32
33 common/interpolation1/px1,py1,pz1,b1
34 $ ,px1max,px1min,py1max,py1min,pz1max,pz1min
35
36 ************
37 c second map
38 real*8 px2(nx,3),py2(ny,3),pz2(nz,3)
39 real*8 b2(nx,ny,nz,3)
40 real*8 px2max(3),px2min(3),py2max(3),py2min(3),pz2max(3),pz2min(3) !grid edges
41
42 common/interpolation2/px2,py2,pz2,b2
43 $ ,px2max,px2min,py2max,py2min,pz2max,pz2min
44
45 *************************************************************************
46 *
47 * Common common_B_outer.f
48 *
49 * to be included in:
50 * - ../magnet/read_B_outer.f
51 * - ../magnet/inter_B.f
52 * - ../magnet/inter_B_outer.f
53 *
54 *************************************************************************
55
56 c implicit double precision (a-h,o-z)
57
58
59 c number of measures along X, Y and Z axes
60 parameter (nox=13, noy=13, noz=4)
61
62 c coordinates in m of the edges of the volume in which the field
63 c is interpolated according to the inner maps
64 c UPPER VOLUME
65 parameter (edgeuxmin=-0.18)
66 parameter (edgeuxmax=0.18)
67 parameter (edgeuymin=-0.18)
68 parameter (edgeuymax=0.18)
69 parameter (edgeuzmin=0.28)
70 parameter (edgeuzmax=0.37)
71 c LOWER VOLUME
72 parameter (edgelxmin=edgeuxmin)
73 parameter (edgelxmax=edgeuxmax)
74 parameter (edgelymin=edgeuymin)
75 parameter (edgelymax=edgeuymax)
76 parameter (edgelzmin=-0.37)
77 parameter (edgelzmax=-0.28)
78
79 ************
80
81
82 c MAGNETIC-FIELD MAP
83 real*8 pox(nox,3),poy(noy,3),poz(noz,3) !coordinates of measure points:
84 c e.g. py1(ny,1) = Y coordinates of Bx (=1) component of magnetic field
85
86 real*8 bo(nox,noy,noz,3) !magnetic field values:
87 c e.g. b1(nx,ny,nz,2) = By (=2) component of magnetic field measured in (nx, ny, nz)
88
89 real*8 poxmax(3),poxmin(3),poymax(3),poymin(3),pozmax(3),pozmin(3)
90 c grid edges
91
92 common/interpolationo/pox,poy,poz,bo
93 $ ,poxmax,poxmin,poymax,poymin,pozmax,pozmin
94
95
96 SAVE/interpolation1/
97 SAVE/interpolation2/
98 SAVE/interpolationo/
99
100
101
102

  ViewVC Help
Powered by ViewVC 1.1.23