rotation matrix for IAU_EARTH <-> ICRF
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(iau_earth_rotating_frame), | intent(inout) | :: | me | |||
class(ephemeris_class), | intent(inout) | :: | eph |
for ephemeris computations (assumed to have already been initialized) |
||
logical, | intent(in) | :: | to_icrf | |||
real(kind=wp), | intent(out), | dimension(3,3) | :: | c | ||
real(kind=wp), | intent(out), | optional, | dimension(3,3) | :: | cdot | |
logical, | intent(out) | :: | status_ok |
subroutine get_c_cdot_iau_earth(me,eph,to_icrf,c,cdot,status_ok) !! rotation matrix for IAU_EARTH <-> ICRF implicit none class(iau_earth_rotating_frame),intent(inout) :: me class(ephemeris_class),intent(inout) :: eph !! for ephemeris computations (assumed to have already been initialized) logical,intent(in) :: to_icrf real(wp),dimension(3,3),intent(out) :: c real(wp),dimension(3,3),intent(out),optional :: cdot logical,intent(out) :: status_ok c = icrf_to_iau_earth(me%et) !... don't have the cdot code yet... need to refactor iau code ... ! see also: ftp://naif.jpl.nasa.gov/pub/naif/toolkit_docs/FORTRAN/spicelib/tisbod.html !if (present(cdot)) cdot = error stop 'not yet supported' status_ok = .true. end subroutine get_c_cdot_iau_earth