Procedure | Location | Procedure Type | Description |
---|---|---|---|
beta2gamma | epv | Function | convert beta (velocity in units of c) to Lorentz factor gamma |
beta2p | epv | Function | |
caldate | datetime_utils | Subroutine | This routine takes the modified Julian date and converts it to a date and time string. |
cartesian2spherical | mtrx | Function | |
cofdu | dmumu | Subroutine | subroutine to calculate pitch angle diffusion coefficient and its derivative with respect to pa = cos(). |
cofm | dxx | Subroutine | calculate diffusion coeficients in magnetic field coordinate and derivatives of g with respect to r, theta, phi 2 perpendicular coeficients must equal to the poles |
compress | sim3d_utils | Function | |
dmrtx | mtrx | Function | calculate martix from polar spheric to xyz coordinates |
dmumuAH | dmumu | Function | |
dmumuBK | dmumu | Function | |
dmumuDG | dmumu | Function | |
dmumuDG1 | dmumu | Function | |
dmxptr | mtrx | Function | calculate matrix for xyz' ellipsoid coordinate Kwon to spheric |
drvbmag | sim3d_utils | Subroutine | |
e2beta | epv | Function | |
e2gamma | epv | Function | |
e2p | epv | Function | |
e2v | epv | Function | |
f0mod | sim3d_utils | Subroutine | |
factorialratio | maggrid | Subroutine | |
fb0 | fb | Function | |
fl_open | file_op | Subroutine | opens file pclfil and assigns to nsts and opens file anfil and assigns to nfl pclfil and anfil is set in readparam |
fs0 | fb | Function | |
gasdev | random | Function | This function uses Box-Muller transform to generate two normally distributed random numbers at a time |
get_rlambda | dxx | Function | |
get_rlambda0 | dxx | Function | |
get_rlambdax | dxx | Function | |
get_rlambdax0 | dxx | Function | |
get_rlambday0 | dxx | Function | |
gregorian | datetime_utils | Function | This routine converts Julian day number to calendar (Gregorian) date. |
init_aplm | maggrid | Subroutine | |
inorout | cme_cross | Subroutine | |
is_leap_year | datetime_utils | Function | returns if a function is a Gregorian leap year |
julday | datetime_utils | Function | |
locate | cme_cross | Function | |
magfield | mapb2s | Function | |
magfield | maggrid | Subroutine | |
mbtr | mtrx | Function | calculate martix from magnetic to polar spheric coordinates |
modjulianday | datetime_utils | Function | calculate the julian day from day, month, year and fraction of a day |
mrtx | mtrx | Function | calculate martix from polar spheric to xyz coordinates |
mxptr | mtrx | Function | calculate matrix for xyz' ellipsoid coordinate Kwon to spheric |
norm2 | mtrx | Function | |
odefun | rksolvers | Interface | |
open_file_from_environment | file_op | Subroutine | |
plgndr | maggrid | Function | |
preparecme | cme_cross | Subroutine | read in parameters for CME shock ellipsoid in Kwon's model |
preparedmumu | dmumu | Subroutine | |
preparedxx | dxx | Subroutine | |
preparefb | fb | Subroutine | |
prepareptcl | loadptcl | Subroutine | |
ran2 | random | Function | |
read_b1rs | file_op | Subroutine | Read the magnetic field as a grid in spherical coordinates. |
read_dmumuAH | dmumu | Subroutine | |
read_dmumuBK | dmumu | Subroutine | |
read_dmumuDG | dmumu | Subroutine | |
read_dxx | dxx | Subroutine | |
read_maggrid | file_op | Subroutine | Read B and grad B from a magnetic grid file |
read_param | file_op | Subroutine | |
read_seeds | file_op | Subroutine | |
read_shtc | file_op | Subroutine | populate g(:,:), h(:,:) |
record_nodes | file_op | Subroutine | |
rk4 | rksolvers | Function | single step of RK4 |
rp2beta | epv | Function | |
rp2e | epv | Function | |
rp2v | epv | Function | |
seconds_of_year | datetime_utils | Function | return how many seconds have passed since the year started |
set_du0AH | dmumu | Subroutine | |
set_du0BK | dmumu | Subroutine | |
set_du0DG | dmumu | Subroutine | |
set_rlambda | dxx | Subroutine | |
set_rlambdax | dxx | Subroutine | |
sign_my | dmumu | Function | |
sksurface | shockfront | Subroutine | |
solarwind | sim3d_utils | Subroutine | calculate solar wind velocity in the corotating frame and its gradient in spherical coordinate system |
solarwind1 | sim3d_utils | Function | |
solarwindtemp | sim3d_utils | Function | |
spherical2cartesian | mtrx | Function | |
split | sim3d_utils | Subroutine | |
trilinear | mtrx | Function | trilinear interpolation |
trilineardif | mtrx | Function | |
v2p | epv | Function | |
vfunc | mapb2s | Function | |
vfunc | sim3d_utils | Subroutine | |
walk3d | sim3d | Subroutine | |
walk3d | sim3d_em | Subroutine | |
walk3d | shockfront | Subroutine | random walk of energetic particles in magnetic variables: t, xp(5) - x - spatial coordinators - p - momentum - pa - pitch angle |
write_b1rs | file_op | Subroutine | writes mapping of magnetic field at a point to the solar surface |
write_head | file_op | Subroutine | |
write_maggrid | file_op | Subroutine |