Skip to content

Commit

Permalink
Update turbulence.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruggen authored Mar 8, 2024
1 parent bc39143 commit 582dc2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pgen/turbulence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ Kokkos::parallel_reduce(
Kokkos::Add<Real>(correlation_s,correlation_sdot);
correlation_s=correlation_s, correlation_sdot=correlation_sdot)

tracers_pkg->UpdateParam("correlation_s", correlation_s);
tracers_pkg->UpdateParam("correlation_sdot", correlation_sdot);
tracers_pkg->UpdateParam("correlation_s", correlation_s/N);
tracers_pkg->UpdateParam("correlation_sdot", correlation_sdot/N);

} // namespace turbulence

0 comments on commit 582dc2a

Please sign in to comment.