uf420 - trace a magnetic field line segment passing through a given position¶
- subroutine uf420(mpos, fbm, nfbm, falt, ifail)¶
- Parameters:
mpos [zgeo,in] :: The geographic position (GEO) through which the searched magnetic field line is passing
fbm (nfbm) [real8,in] :: Boundary conditions on the magnetic field intensity
nfbm [integer4,in] :: Number of boundary conditions on the magnetic field intensity
falt [real8,in] :: Boundary condition on the altitude.
ifail [integer4,out] :: error flag (see Diagnostics)
Description¶
The subroutine
uf420()
traces a magnetic field line segment passing through the geographic positionmpos
. The magnetic field line segment is limited by one of the following boundary conditions :
the altitude
falt
has to be reached;the magnetic field intensity
fbm(1)
has to be reached.The condition on the altitude can be avoided by setting
falt
to a value lower than -500. The different points along the field line segment are stored in the common blockuc170
. It includes the points corresponding to the boundary conditions, as well as, the points corresponding to the magnetic field intensitiesfbm(2)
, …,fbm(nfbm)
. Note that the intensities set in the arrayfbm
have to be strictely decreasing :fbm(1)
>fbm(2)
>fbm(nfbm)
.
History¶
From version 1.13 to version 2.00, the algorithm has been improved for the case where the first boundary condition on the magnetic field intensity is close to the minimum value of the magnetic field intensity along the field line segment.
Diagnostics¶
-42001, incorrect boundary conditions
-42002 or -42004, strange behaviour of the field line near the altitude boundary condition
-42003 or -42006, strange behaviour of B along the field line
-42005, problem with the boundary condition on the altitude
-42007, problem with the boundary conditions on B
-42008 or -42010, find the minimum of B before any one of the boundary conditions
-42009, too many points along the field line segment
-42011, error in UF428 detected a posteriori
Common Blocks¶
Dependencies¶
Called by¶
Calls¶
See also¶
Reported Bugs¶
None
Examples¶
UNILIB/tags/v3.02