1 | SUBROUTINE AUSGB2
|
---|
2 | C
|
---|
3 | C*********************************************************************
|
---|
4 | C DESIGN : D. HECK IK3 FZK KARLSRUHE
|
---|
5 | C*********************************************************************
|
---|
6 | C IN CASE OF DEBUGGING WE PRINT THE PARTICLE COORDINATES.
|
---|
7 | C*********************************************************************
|
---|
8 | COMMON/MISC/KMPI,KMPO,DUNIT,NOSCAT,MED(6),RHOR(6),IRAYLR(6)
|
---|
9 | *KEEP,PARPAR.
|
---|
10 | COMMON /PARPAR/ CURPAR,SECPAR,PRMPAR,OUTPAR,C,
|
---|
11 | * E00,E00PN,PTOT0,PTOT0N,THICKH,ITYPE,LEVL
|
---|
12 | DOUBLE PRECISION CURPAR(14),SECPAR(14),PRMPAR(14),OUTPAR(14),
|
---|
13 | * C(50),E00,E00PN,PTOT0,PTOT0N,THICKH
|
---|
14 | INTEGER ITYPE,LEVL
|
---|
15 | *KEEP,RUNPAR.
|
---|
16 | COMMON /RUNPAR/ FIXHEI,THICK0,HILOECM,HILOELB,
|
---|
17 | * STEPFC,NRRUN,NSHOW,PATAPE,MONIIN,
|
---|
18 | * MONIOU,MDEBUG,NUCNUC,
|
---|
19 | * CETAPE,
|
---|
20 | * SHOWNO,ISHW,NOPART,NRECS,NBLKS,MAXPRT,NDEBDL,
|
---|
21 | * N1STTR,MDBASE,
|
---|
22 | * DEBDEL,DEBUG,FDECAY,FEGS,FIRSTI,FIXINC,FIXTAR,
|
---|
23 | * FIX1I,FMUADD,FNKG,FPRINT,FDBASE
|
---|
24 | * ,GHEISH,GHESIG
|
---|
25 | COMMON /RUNPAC/ DSN,HOST,USER
|
---|
26 | DOUBLE PRECISION FIXHEI,THICK0,HILOECM,HILOELB
|
---|
27 | REAL STEPFC
|
---|
28 | INTEGER NRRUN,NSHOW,PATAPE,MONIIN,MONIOU,MDEBUG,NUCNUC,
|
---|
29 | * SHOWNO,ISHW,NOPART,NRECS,NBLKS,MAXPRT,NDEBDL,
|
---|
30 | * N1STTR,MDBASE
|
---|
31 | INTEGER CETAPE
|
---|
32 | CHARACTER*79 DSN
|
---|
33 | CHARACTER*20 HOST,USER
|
---|
34 |
|
---|
35 | LOGICAL DEBDEL,DEBUG,FDECAY,FEGS,FIRSTI,FIXINC,FIXTAR,
|
---|
36 | * FIX1I,FMUADD,FNKG,FPRINT,FDBASE
|
---|
37 | * ,GHEISH,GHESIG
|
---|
38 | *KEEP,STACKE.
|
---|
39 | COMMON/STACKE/ E,TIME,X,Y,Z,U,V,W,DNEAR,IQ,IGEN,IR,IOBS,LPCTE,NP
|
---|
40 | DOUBLE PRECISION E(60),TIME(60)
|
---|
41 | REAL X(60),Y(60),Z(60),U(60),V(60),W(60),DNEAR(60)
|
---|
42 | INTEGER IQ(60),IGEN(60),IR(60),IOBS(60),LPCTE(60),NP
|
---|
43 | *KEND.
|
---|
44 | COMMON/UPHIOT/THETA,SINTHE,COSTHE,SINPHI, COSPHI,PI,TWOPI,PI5D2
|
---|
45 | DOUBLE PRECISION PZERO,PRM,PRMT2,RMI,VC
|
---|
46 | COMMON/USEFUL/PZERO,PRM,PRMT2,RMI,VC,RM,MEDIUM,MEDOLD,IBLOBE,ICALL
|
---|
47 | COMMON/ACLOCK/NCLOCK,JCLOCK
|
---|
48 | C*** ANGLE WITH RESPECT TO X AXIS
|
---|
49 | IF (U(NP)**2+V(NP)**2.GT.3.E-38) THEN
|
---|
50 | ANGLEX = -ATAN2(V(NP),U(NP))
|
---|
51 | ELSE
|
---|
52 | ANGLEX = 0.
|
---|
53 | END IF
|
---|
54 | XX=X(NP)
|
---|
55 | YY=-Y(NP)
|
---|
56 | ZZ=-Z(NP)
|
---|
57 | ANGLEZ=W(NP)
|
---|
58 | ANGLX=ANGLEX
|
---|
59 | ETOT=E(NP)*.001
|
---|
60 | WRITE(KMPO,170) IQ(NP),ETOT,ANGLEZ,ANGLX,ZZ,TIME(NP)*1.0D3,XX,YY,
|
---|
61 | *IGEN(NP)
|
---|
62 | 170 FORMAT(' AUSGB2:',10X,I4,1X,F10.3,1X,F7.4,1X,F7.4,1X,F9.0, F9.6,
|
---|
63 | * 1X,F10.1,1X,F10.1,1X,I3
|
---|
64 | * )
|
---|
65 | RETURN
|
---|
66 | END
|
---|