|
COSMOS v7.655
COSMOSv7655
(AirShowerMC)
|
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | cbdefbyrk (aTrack, leng, newpos, newdir, newmom) |
| Compute magnetic deflection (angle and displacement) Use Runge-Kutta-Fehlberg Method. More... | |
| subroutine | cgeomfunc (L, y, f) |
| subroutine | krungekutfds (neq, func, x0, xe, y0, init, relerr, abserr, yn, esterr, nde, ier, h, yl0, yln, err, work) |
| subroutine | krungekutfs (neq, func, x0, xe, yh0, init, relerr, abserr, yhn, esterr, nde, ier, h, yl0, yln, err, ak1, ak2, ak3, ak4, ak5, ak6, et, work) |
| subroutine | krkflstep (neq, func, x, h, y0, yn, ak1, ak2, ak3, ak4, ak5, ak6, err, work) |
| subroutine | krkfhstep (neq, func, x, h, y0, yn, ak1, ak2, ak3, ak4, ak5, ak6, err, work) |
| subroutine | krkfehl (lindex, neq, func, x, h, y0, yn, ak1, ak2, ak3, ak4, ak5, ak6, err, w2, w3, w4, w5, w6) |
| subroutine | cbdefbyrk2 (aTrack, leng, newpos, newdir, newmom) |
| subroutine | krungekutg (func, n, x0, y0, m, h, ny, y, wk, ierr) |
| subroutine | cbdefuser (aTrack, leng, newpos, newdir, newmom) |
| subroutine cbdefbyrk | ( | type(track) | aTrack, |
| real*8 | leng, | ||
| type(coord) | newpos, | ||
| type(coord) | newdir, | ||
| real(8), dimension(3), intent(out) | newmom | ||
| ) |
Compute magnetic deflection (angle and displacement) Use Runge-Kutta-Fehlberg Method.
| [in] | aTrack | a charged ptcl (datatype /track/) |
| [in] | leng | length travelled in m (datatype real*8) |
| [out] | newpos | new position after leng move (datatype /coord/newpos) |
| [out] | newmom | changed mon |
Definition at line 12 of file cbDefByRK.f.
References cbdefbyrk2(), cgeomfunc(), d, d0, d3, and krungekutfds().
Referenced by cmagdef().


| subroutine cbdefbyrk2 | ( | type(track) | aTrack, |
| real*8 | leng, | ||
| type(coord) | newpos, | ||
| type(coord) | newdir, | ||
| real(8), dimension(3), intent(out) | newmom | ||
| ) |
Definition at line 473 of file cbDefByRK.f.
References cgeomfunc(), d, d0, krungekutg(), and parameter().
Referenced by cbdefbyrk(), and cmagdef().


| subroutine cbdefuser | ( | type(track) | aTrack, |
| real*8 | leng, | ||
| type(coord) | newpos, | ||
| type(coord) | newdir, | ||
| real(8), intent(out) | newmom | ||
| ) |
Definition at line 641 of file cbDefByRK.f.
References d.
Referenced by cmagdef().

Definition at line 103 of file cbDefByRK.f.
References cgeomag(), and ctransmagto().
Referenced by cbdefbyrk(), and cbdefbyrk2().


| subroutine krkfehl | ( | lindex, | |
| neq, | |||
| func, | |||
| x, | |||
| h, | |||
| dimension(neq) | y0, | ||
| dimension(neq) | yn, | ||
| dimension(neq) | ak1, | ||
| dimension(neq) | ak2, | ||
| dimension(neq) | ak3, | ||
| dimension(neq) | ak4, | ||
| dimension(neq) | ak5, | ||
| dimension(neq) | ak6, | ||
| dimension(neq) | err, | ||
| dimension(neq) | w2, | ||
| dimension(neq) | w3, | ||
| dimension(neq) | w4, | ||
| dimension(neq) | w5, | ||
| dimension(neq) | w6 | ||
| ) |
Definition at line 411 of file cbDefByRK.f.
References a, d, h, i, o, parameter(), x, and z.
Referenced by krkfhstep(), and krkflstep().


| subroutine krkfhstep | ( | neq, | |
| external | func, | ||
| x, | |||
| h, | |||
| dimension(neq) | y0, | ||
| dimension(neq) | yn, | ||
| dimension(neq) | ak1, | ||
| dimension(neq) | ak2, | ||
| dimension(neq) | ak3, | ||
| dimension(neq) | ak4, | ||
| dimension(neq) | ak5, | ||
| dimension(neq) | ak6, | ||
| dimension(neq) | err, | ||
| dimension(neq,5) | work | ||
| ) |
Definition at line 390 of file cbDefByRK.f.
References a, d, h, i, krkfehl(), o, x, x1(), and z.
Referenced by krungekutfs().


| subroutine krkflstep | ( | neq, | |
| external | func, | ||
| x, | |||
| h, | |||
| dimension(neq) | y0, | ||
| dimension(neq) | yn, | ||
| dimension(neq) | ak1, | ||
| dimension(neq) | ak2, | ||
| dimension(neq) | ak3, | ||
| dimension(neq) | ak4, | ||
| dimension(neq) | ak5, | ||
| dimension(neq) | ak6, | ||
| dimension(neq) | err, | ||
| dimension(neq,5) | work | ||
| ) |
Definition at line 377 of file cbDefByRK.f.
References a, h, krkfehl(), o, x, and z.
Referenced by krungekutfs().


| subroutine krungekutfds | ( | neq, | |
| external | func, | ||
| x0, | |||
| xe, | |||
| dimension(neq) | y0, | ||
| init, | |||
| relerr, | |||
| abserr, | |||
| dimension(neq) | yn, | ||
| dimension(neq) | esterr, | ||
| nde, | |||
| ier, | |||
| h, | |||
| dimension(neq) | yl0, | ||
| dimension(neq) | yln, | ||
| dimension(neq) | err, | ||
| dimension(neq,12) | work | ||
| ) |
Definition at line 145 of file cbDefByRK.f.
References a, h, init(), krungekutfs(), o, and z.
Referenced by cbdefbyrk().


| subroutine krungekutfs | ( | neq, | |
| external | func, | ||
| x0, | |||
| xe, | |||
| dimension(neq) | yh0, | ||
| init, | |||
| relerr, | |||
| abserr, | |||
| dimension(neq) | yhn, | ||
| dimension(neq) | esterr, | ||
| nde, | |||
| ier, | |||
| h, | |||
| dimension(neq) | yl0, | ||
| dimension(neq) | yln, | ||
| dimension(neq) | err, | ||
| dimension(neq) | ak1, | ||
| dimension(neq) | ak2, | ||
| dimension(neq) | ak3, | ||
| dimension(neq) | ak4, | ||
| dimension(neq) | ak5, | ||
| dimension(neq) | ak6, | ||
| dimension(neq) | et, | ||
| dimension(neq,5) | work | ||
| ) |
Definition at line 218 of file cbDefByRK.f.
References a, d, h, i, init(), krkfhstep(), krkflstep(), o, parameter(), x, and z.
Referenced by krungekutfds().


| subroutine krungekutg | ( | external | func, |
| integer | n, | ||
| real*8 | x0, | ||
| real*8, dimension(n) | y0, | ||
| integer | m, | ||
| real*8 | h, | ||
| integer | ny, | ||
| real*8, dimension(ny,m) | y, | ||
| real*8, dimension(n,4) | wk, | ||
| integer | ierr | ||
| ) |
Definition at line 554 of file cbDefByRK.f.
References d0.
Referenced by cbdefbyrk2().
