European Space Agency¶
Royal Belgian Institute for Aeronomy¶
uf421 - initialize and close a field line segment¶
- subroutine uf421(kiniclo, mgeo, pb, palt, plen, jind, ifail)¶
- Parameters:
kiniclo [integer4,in] :: Flag to selection initialisation or closing (1 or 2, respectively)
mgeo [zgeo,in/out] :: Geographic location of the start or end point
pb [real8,out] :: Magnetic field intensity at
mgeo.palt [real8,out] :: Altitude of
mgeo.plen [real8,out] :: Arc length of the field line segment
jind [integer4,out] :: Index in the common block
uc170.ifail [integer4,out] :: error flag (see Diagnostics)
Description¶
When the argument
kiniclois equal to 1, the subroutineuf421()initializes the common blockuc170to store a magnetic field line segment which starts atmgeo. As result, the argumentspbandpaltare set to the magnetic field intensity and altitude ofmgeo. The argumentsplenandjindare set to 0.0 and 1, respectively.When the argument
kiniclois equal to 2, the subroutineuf421()closes the magnetic field line segment stored in the common blockuc170. As result, the argumentsmgeo,pbandpaltare set to the geographic location of the last point, its magnetic field intensity and altitude, respectively. The total arc length of the field line segment and the total number of points stored in the common block are returned by the argumentsplenandjind, respectively.
Diagnostics¶
-42101, not used
-42102, the size of the common block UC170 has been overrun
-42103, problem with the field line description
Common Blocks¶
Dependencies¶
Called by¶
Calls¶
See also¶
None
Reported Bugs¶
None
Examples¶
None
UNILIB/tags/v3.03