124 void palUe2pv(
double date,
double u[13],
double pv[6],
int *jstat ) {
130 const double TEST = 1e-13;
131 const int NITMAX = 25;
134 double CM,ALPHA,T0,P0[3],V0[3],R0,SIGMA0,T,PSI,DT,W,
135 TOL,PSJ,PSJ2,BETA,S0,S1,S2,S3,
145 for (I=0; I<3; I++) {
165 while (fabs(W) >= TOL) {
172 while (fabs(BETA) > 0.7) {
180 S3 = PSJ*PSJ2*((((((BETA/210.0+1.0)
186 S2 = PSJ2*((((((BETA/182.0+1.0)
198 S3 = 2.0*(S0*S3+PSJ*S2);
208 FF = R0*S1+SIGMA0*S2+CM*S3-DT;
209 R = R0*S0+SIGMA0*S1+CM*S2;
212 if ( NIT == 1) FLAST = FF;
215 if ( FF*FLAST < 0.0 ) {
218 W = FF*(PLAST-PSI)/(FLAST-FF);
251 for (I=0; I<3; I++) {
252 pv[I] = P0[I]*F+V0[I]*G;
253 pv[I+3] = CD2S*(P0[I]*FD+V0[I]*GD);
static const double PAL__GCON
void palUe2pv(double date, double u[13], double pv[6], int *jstat)
static const double PAL__SPD