Print index of lyapunov exponent
This commit is contained in:
@@ -51,7 +51,7 @@ The available commands are
|
|||||||
|
|
||||||
* `lyapunov`: to compute the Lyapunov exponents. This command prints
|
* `lyapunov`: to compute the Lyapunov exponents. This command prints
|
||||||
```
|
```
|
||||||
time instantaneous_lyapunov lyapunov
|
time index instantaneous_lyapunov lyapunov
|
||||||
```
|
```
|
||||||
where `instantaneous_lyapunov` is computed from the tangent flow only between
|
where `instantaneous_lyapunov` is computed from the tangent flow only between
|
||||||
the given time and the previous one.
|
the given time and the previous one.
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ int lyapunov(
|
|||||||
|
|
||||||
// print
|
// print
|
||||||
for(i=0; i<MATSIZE; i++){
|
for(i=0; i<MATSIZE; i++){
|
||||||
printf("% .15e % .15e % .15e\n",time, lyapunov[i], lyapunov_avg[i]);
|
printf("% .15e %3d % .15e % .15e\n",time, i, lyapunov[i], lyapunov_avg[i]);
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
fprintf(stderr,"% .15e\n",time);
|
fprintf(stderr,"% .15e\n",time);
|
||||||
|
|||||||
Reference in New Issue
Block a user