Go to the documentation of this file. 1 subroutine vec2mean(vec,ge,aj2,xinit,xmean,ier)
3 c $header: /app/shared/rcs/irix-5.2/seawifsd/src/mops/mopsv4.1/swfnav/
vec2mean.
f,v 1.1 1995/01/17 23:03:07 seawifsd exp seawifsd $
5 c revision 1.1 1995/01/17 23:03:07 seawifsd
9 c purpose: this
subroutine computes
mean elements with respect to j2
14 c name
Type i/o description
15 c -------- ---- --- -----------
16 c vec(6) r*8 i input orbit
vector
17 c ge r*8 i
earth gravitational constant
18 c aj2 r*8 i j2 gravity term
19 c xinit(6) r*8 i initial guess at
mean elements
20 c xmean(6) r*8 o output
mean elements
21 c ier i*4 o error flag(
mean elements did not converge)
24 c by: frederick s. patt, gsc, october 19, 1994
28 c modification history:
31 #include "nav_cnst.fin"
33 real*8 vec(6),xinit(6),xmean(6),ge,aj2
34 real*8 x(6),tmp(6),y(18)
45 tmp(i) = xinit(i)/radeg
47 tmp(6) = x(5) + x(6) - tmp(5)
50 xmean(i) = xmean(i)*radeg
float * vector(long nl, long nh)
subroutine kozsak2(IFLAG, GE, RE, AJ2, X, XN, XI, IER)
float mean(float *xs, int sample_size)
subroutine earth(pos, vel, widphse1, widphfl1, widphse2,
subroutine vec2mean(vec, ge, aj2, xinit, xmean, ier)
subroutine eqnox(X, GM, Y)