Commit 2d2852a167eec1344528fd06b9e1787cfb48627a
1 parent
4dadc8ac
Exists in
master
and in
92 other branches
function prompt, def argd
Showing
1 changed file
with
8 additions
and
13 deletions
Show diff stats
generic_data/Functions/functions.xml
... | ... | @@ -79,10 +79,10 @@ |
79 | 79 | <info_brief>Shifts parameter by T secs back (T < 0) and forth (T > 0))</info_brief> |
80 | 80 | <new_kernel>#timeShift</new_kernel> |
81 | 81 | </function> |
82 | + | |
82 | 83 | <function name="vAlfven(,)" args="2" kind="physics"> |
83 | - <!--prompt>input density[cm^⁻3])</prompt--> | |
84 | - <!--default_args>arg1</default_args--> | |
85 | - <info_brief>Alfven velocity Valfven(density[cm^⁻3], mag[nT])</info_brief> | |
84 | + <prompt_param>density[cm^⁻3], b_magnitude[nT]</prompt_param> | |
85 | + <info_brief>Alfven velocity Valfven(density[cm^⁻3], b_magnitude[nT])</info_brief> | |
86 | 86 | <new_kernel>alfvenVelocity</new_kernel> |
87 | 87 | </function> |
88 | 88 | |
... | ... | @@ -96,7 +96,6 @@ |
96 | 96 | <new_kernel>newell2007</new_kernel> |
97 | 97 | </function> |
98 | 98 | |
99 | - <!--<function name="fairfield70(,tilt_angle_60)" args="2" kind="physics">--> | |
100 | 99 | <function name="fairfield70(,tilt_angle_60)" args="2" kind="physics"> |
101 | 100 | <prompt_param>xyz_sm (Re), dipole tilt angle (deg)</prompt_param> |
102 | 101 | <default_args>,tilt_angle_60</default_args> |
... | ... | @@ -105,20 +104,16 @@ |
105 | 104 | <new_kernel>fairfield70</new_kernel> |
106 | 105 | </function> |
107 | 106 | |
108 | - <!--<function name="fairfield80(,tilt_angle_60)" args="2" kind="physics">--> | |
109 | 107 | <function name="fairfield80(,tilt_angle_60)" args="2" kind="physics"> |
110 | - <!-- <prompt>xyz_sm (Re), dipole tilt angle (deg)</prompt> --> | |
111 | - | |
108 | + <prompt_param>xyz_sm (Re), dipole tilt angle (deg)</prompt_param> | |
109 | + <default_args>,tilt_angle_60</default_args> | |
112 | 110 | <info_brief>Distance (Re) from s/c location to Fairfield1980 model neutral sheet position.<br/> |
113 | 111 | dZ = fairfield80(xyz_sm, tilt_angle),<br/> xyz_sm is the s/c SM coordinates (Re) and tilt angle is in degrees.<br/></info_brief> |
114 | 112 | <new_kernel>fairfield80</new_kernel> |
115 | 113 | </function> |
116 | - | |
117 | - <!--<function name="lopez90(omni_kp,,,tilt_angle_60)" args="4" kind="physics">--> | |
118 | - <function name="lopez90(,,,)" args="4" kind="physics"> | |
119 | - <!-- <prompt> | |
120 | - Kp, MLT (deg), R (Re), dipole tilt angle ( deg ) | |
121 | - </prompt> --> | |
114 | + <function name="lopez90(omni_kp,,,tilt_angle_60)" args="4" kind="physics"> | |
115 | + <prompt_param>Kp, MLT (deg), R (Re), dipole tilt angle (deg)</prompt_param> | |
116 | + <default_args>omni_kp,,,tilt_angle_60</default_args> | |
122 | 117 | <info_brief> |
123 | 118 | Magnetic latitude of the neutral sheet (Lopez1990 model) <br/> |
124 | 119 | MLAT = lopez90(Kp, MLT, R, tilt_angle) <br/> | ... | ... |