Overhaul of lyapunov exponents

This commit is contained in:
2025-01-31 10:52:40 -05:00
parent fa52397e87
commit 0f07f025b5
5 changed files with 651 additions and 177 deletions

View File

@@ -82,7 +82,7 @@ int uk(
// add 0.1 to ensure proper rounding
uint64_t n=(uint64_t)((starting_time-fmod(starting_time, print_freq))/print_freq+0.1);
// store step (useful for adaptive step methods
// store step (useful for adaptive step methods)
double step=delta;
double next_step=step;
@@ -524,6 +524,7 @@ int ns_step(
return (0);
}
// TODO: do not need to use klookup in any of the rk routines
// RK 4 algorithm
int ns_step_rk4(
_Complex double* u,