Skip to content

Commit

Permalink
fixed damping
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiger Lu committed Aug 28, 2023
1 parent 22a6837 commit 8d6c920
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/rings/problem.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ int main(int argc, char* argv[]){
// Add REBOUNDx effects
struct rebx_extras* rebx = rebx_attach(sim);
struct rebx_force* effect = rebx_load_force(rebx, "tides_spin");
struct rebx_force* damping = rebx_load_force(rebx, "laplace_damping");
rebx_add_force(rebx, effect);
rebx_add_force(rebx, damping);

struct rebx_force* mof = rebx_load_force(rebx, "modify_orbits_forces");
rebx_add_force(rebx, mof);
Expand Down

0 comments on commit 8d6c920

Please sign in to comment.