Skip to content

Commit

Permalink
added inneredge back in modify_orbits_forces.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dtamayo committed Jan 30, 2024
1 parent 22e08b5 commit 6f301d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modify_orbits_forces.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,12 @@ static struct reb_vec3d rebx_calculate_modify_orbits_forces(struct reb_simulatio

if(tau_a_ptr != NULL){
invtau_a = 1.0/(*tau_a_ptr);
/*
if ((dedge!=NULL)&(hedge!=NULL)){
int err=0;
struct reb_orbit o = reb_orbit_from_particle_err(sim->G, *p, *source, &err);
const double a0 = o.a;
invtau_a *= rebx_calculate_planet_trap(a0, *dedge, *hedge);
}*/
}
}
if(tau_e_ptr != NULL){
tau_e = *tau_e_ptr;
Expand Down

0 comments on commit 6f301d4

Please sign in to comment.