Revision
124 -
(
view)
(
annotate)
-
[selected]
Modified
Thu Feb 5 15:19:37 2015 UTC
(9 years, 5 months ago)
by
guez
File length: 3631 byte(s)
Diff to
previous 123
Moved some processing from fxhyp_loop_ik to fxhyp. Now fxhyp_loop_ik
does not necessarily give longitudes near [-pi, pi]. In fxhyp, we look
in rlonm025 whether we need to move the array toward [-pi, pi]. If so,
we apply the same move to all grids: rlonm025, rlonv, rlonp025, rlonu
and the corresponding derivatives. The move itself is done by the new
procedure principal_cshift. This revision makes the logic
clearer. (For example, we do not have a saved variable is2 in
fxhyp_loop_ik any longer and we remove a test on ik in fxhyp_loop_ik.)
Fixed a bad error message in fxhyp_loop_ik: talked about rlonu when
xvrai is not always rlonu.
Revision
123 -
(
view)
(
annotate)
-
[select for diffs]
Added
Thu Feb 5 12:41:08 2015 UTC
(9 years, 5 months ago)
by
guez
File length: 3612 byte(s)
Diff
to
selected 124
Added some test programs.
In fxhyp_loop_ik, changed precision from 1e-3 to 1e-6. Reset initial
value of xo1 to first guess of xi instead of final value of xi for
previous i (better logic).