libTheSky
Routines to compute sky positions of Sun, Moon, planets and more
All Namespaces Files Functions Variables Pages
moon_position.f90 File Reference

(libTheSky version 0.4.3, revision 299, hash 71a3740, 2025-03-02)

Core procedures that calculate the position and magnitude of the Moon for libTheSky. More...

Go to the source code of this file.

Modules

module  thesky_moon
 Procedures for the Moon.
 

Functions/Subroutines

subroutine thesky_moon::elp82b_lbr (tjj, ll, bb, rr)
 Calculate the apparent geocentric ecliptical position of the Moon, using the Lunar Solution ELP 2000-82B.
 
subroutine thesky_moon::elp_mpp02_lbr (jd, mode, lon, lat, rad, precess)
 Compute the spherical lunar coordinates using the ELP2000/MPP02 lunar theory in the dynamical mean ecliptic and equinox of J2000.
 
subroutine thesky_moon::elp_mpp02_xyz (jd, mode, xyz, vxyz, ierr)
 Compute the rectangular lunar coordinates using the ELP/MPP02 lunar theory in the dynamical mean ecliptic and equinox of J2000.
 
subroutine thesky_moon::moonpos_la (jd, calc, nt)
 Quick, lower-accuracy lunar coordinates; ~600x faster than ELP.
 
real(double) function thesky_moon::moonmagn (pa, delta)
 Calculate the magnitude of the Moon.
 

Detailed Description

Core procedures that calculate the position and magnitude of the Moon for libTheSky.

Definition in file moon_position.f90.