Trying to calculate the forcing scaling.

Causes nans very quickly. Will need to look closer tomorrow again.
This commit is contained in:
Miikka Vaisala
2019-06-27 19:20:18 +08:00
parent 9b2e9d376f
commit 94a25383a9
2 changed files with 25 additions and 4 deletions

View File

@@ -386,7 +386,7 @@ run_simulation(void)
AcReal kmax = 1.7;
// Generate forcing wave vector k_force
AcReal3 k_force;// = (AcReal3){0.0, 2.0, 0.0};
AcReal3 k_force;
k_force = helical_forcing_k_generator(kmax, kmin);
//Randomize the phase