Skip to content

Commit

Permalink
test format
Browse files Browse the repository at this point in the history
  • Loading branch information
zoeprieto committed Oct 7, 2024
1 parent cc97c6d commit 1e0e444
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/kdsource/geom.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ int Let_perturb(const Metric* metric, mcpl_particle_t* part, double bw, char ker
return 0;
}

int wl_perturb(const Metric* metric, mcpl_particle_t* part, double bw, char kernel){
int wl_perturb

(const Metric* metric, mcpl_particle_t* part, double bw, char kernel){
double wl = 9.045 / sqrt(part->ekin * 1e9);
double wl2 = wl + bw*metric->scaling[0] * rand_type(kernel);
part->ekin = 81.82e-9 / (wl2 * wl2);
Expand Down

0 comments on commit 1e0e444

Please sign in to comment.