22 double tanpsi = alivec[1];
23 double tantheta = alivec[2];
24 double ux = alivec[3];
25 double vx = alivec[4];
29 aliderivs[0][0] = -1.0;
30 aliderivs[0][1] = 0.0;
31 aliderivs[1][0] = 0.0;
32 aliderivs[1][1] = -1.0;
33 aliderivs[2][0] = tanpsi;
34 aliderivs[2][1] = tantheta;
35 aliderivs[3][0] = vx * tanpsi;
36 aliderivs[3][1] = vx * tantheta;
37 aliderivs[4][0] = -ux * tanpsi;
38 aliderivs[4][1] = -ux * tantheta;
40 aliderivs[5][1] = -ux;