sine_cross
Graham Dennis
Sine cross-propagation validity tests.

The 'u' variable checks for errors caused by poorly interpolating dependencies. The 'v' variable checks for errors just in the cross-propagation algorithm. The 'w' variable checks for errors due to IP cross-propagation (should be the smallest). The 'x' variable checks for errors due to EX cross-propagation, they should be the same as 'v'. You can choose the cross-propagation algorithm to be either 'SI' or 'RK4'.
z
foo
foo = 0.0;
cosine
cosine = cos(t);
u v w x
u = 0.0; v = 1.0; w = 1.0; x = 1.0;
1
cross
constants
u = 0.0; v = 1.0; w = 1.0; x = 1.0;
L
L = i;
M
M = i;
du_dt = cosine; dv_dt = i*v; dw_dt = L[w]; // this one is pretty much exact dx_dt = M[x];
main
dfoo_dz = 0.0;
error_u error_v error_w error_x
cross
error_u = abs(u - sin(t)); error_v = abs(v - polar(1.0, t)); error_w = abs(w - polar(1.0, t)); error_x = abs(x - polar(1.0, t));