Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiger Lu committed Jan 29, 2024
1 parent bbe04aa commit b4c1478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/hip/problem.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ int main(int argc, char* argv[]){
//fprintf(of, "t,magp,thetap,phip,Omegap\n");
//fclose(of);

system(title_remove);
//system(title_remove);
//FILE* of = fopen(title, "w");
//fprintf(of, "t,mag,theta,phi,sx,sy,sz,ad,ae,af,omega,mf\n");
//fprintf(of, "t,inc,Omega,nx\n");
Expand All @@ -170,7 +170,7 @@ int main(int argc, char* argv[]){
//fclose(of);

struct reb_orbit o = reb_orbit_from_particle(sim->G, sim->particles[1], sim->particles[0]);
tmax = 2e5*2*M_PI;//o.P * 1e8;
tmax = 2e6*2*M_PI;//o.P * 1e8;
sim->dt = o.P / 10.12345;
reb_simulation_integrate(sim, tmax);

Expand Down

0 comments on commit b4c1478

Please sign in to comment.