Changeset 688 for trunk/MagicSoft/Simulation/Corsika/Mmcs/main.f
- Timestamp:
- 03/05/01 16:41:16 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Corsika/Mmcs/main.f
r687 r688 739 739 c And then, RE-calculate the GLOBAL direction in CORSIKA 740 740 c We use formulae for spherical triangles 741 theprim = acos( cos(THETAP)*cos(spinthe)+ 741 742 if ( THETAP .EQ. 0.0 ) then 743 theprim = spinthe 744 phiprim = spinphi 745 elseif ( spinthe .eq. 0.0 ) then 746 theprim = THETAP 747 phiprim = 0.0 748 else 749 theprim = acos( cos(THETAP)*cos(spinthe)+ 742 750 $ sin(THETAP)*sin(spinthe)*cos(spinphi) ) 743 phiprim = asin( sin(spinthe)*sin(spinphi)/sin(theprim) ) 751 phiprim = asin( sin(spinthe)*sin(spinphi)/sin(theprim) ) 752 endif 744 753 THETAP = theprim 745 754 EVTH(140) = spinthe
Note:
See TracChangeset
for help on using the changeset viewer.