24 lines
786 B
Diff
24 lines
786 B
Diff
diff -up wrk/ode-initval2/msbdf.c.wrk wrk/ode-initval2/msbdf.c
|
|
diff -up wrk/ode-initval2/test.c.wrk wrk/ode-initval2/test.c
|
|
--- wrk/ode-initval2/test.c.wrk 2013-01-09 10:48:22.051415928 +0100
|
|
+++ wrk/ode-initval2/test.c 2013-01-17 13:21:54.742361043 +0100
|
|
@@ -923,6 +923,18 @@ rhs_ringmod (double t, const double y[],
|
|
f[13] = (-y[0] + uin1 - (ri + rg1) * y[13]) / ls1;
|
|
f[14] = (-y[1] - (rc + rg1) * y[14]) / ls1;
|
|
|
|
+ /*int i;
|
|
+ printf("temp states\n");
|
|
+ for (i=0; i<15; ++i) {
|
|
+
|
|
+ printf("%lu\n", *((unsigned long *)(&(y[i]))));
|
|
+ }
|
|
+
|
|
+ printf("%lu\n", *((unsigned long *)(&(rg2))));
|
|
+ printf("%lu\n", *((unsigned long *)(&(ls2))));
|
|
+ printf("%lu\n", *((unsigned long *)(&(rg3))));
|
|
+ printf("%lu\n", *((unsigned long *)(&(ls3))));
|
|
+*/
|
|
return GSL_SUCCESS;
|
|
}
|
|
|