Print Lyapunov exponents
This commit is contained in:
parent
15bcb8b467
commit
1c3f4b9f2f
@ -132,6 +132,12 @@ int lyapunov(
|
||||
lyapunov_avg[i]=lyapunov_avg[i]*prevtime/time+lyapunov[i]*(time-prevtime)/time;
|
||||
}
|
||||
|
||||
// print
|
||||
for(i=0; i<MATSIZE; i++){
|
||||
printf("% .15e % .15e % .15e\n",time, lyapunov[i], lyapunov_avg[i]);
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
// set Du_prod to Q:
|
||||
LAPACKE_zungrq(LAPACK_COL_MAJOR, MATSIZE, MATSIZE, MATSIZE, Du_prod, MATSIZE, tmp2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user