Skip to content

Commit

Permalink
minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiger Lu committed May 2, 2024
1 parent 960e0b5 commit b56ed14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rebound/integrators/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def peri_mode(self, value):
elif isinstance(value, basestring):
value = value.lower().replace(" ", "")
if value in TRACE_PERI_MODES:
self.peri_mmode = TRACE_PERI_MODES[value]
self.peri_mode = TRACE_PERI_MODES[value]
else:
raise ValueError("Warning. Pericenter switching mode not found.")

Expand Down
3 changes: 1 addition & 2 deletions src/rebound.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ struct reb_integrator_trace {
int* current_Ks; // TLu tracking K for the entire timestep
unsigned int current_C; // TLu tracking C for the entire timestep
unsigned int force_accept; // Force accept for irreversible steps: collisions and adding particles
int coord; // 1 for DHC, 0 for inertial
};

// SABA Integrator (Laskar & Robutel 2001)
Expand Down Expand Up @@ -622,7 +621,7 @@ struct reb_simulation {
REB_INTEGRATOR_BS = 12, // Gragg-Bulirsch-Stoer
// REB_INTEGRATOR_TES = 20, // Used to be Terrestrial Exoplanet Simulator (TES) -- Do not reuse.
REB_INTEGRATOR_WHFAST512 = 21, // WHFast integrator, optimized for AVX512
REB_INTEGRATOR_TRACE = 25, // TRACE integrator (Lu et al. 2023)
REB_INTEGRATOR_TRACE = 25, // TRACE integrator (Lu, Hernandez and Rein 2024)
} integrator;
enum {
REB_BOUNDARY_NONE = 0, // Do not check for anything (default)
Expand Down

0 comments on commit b56ed14

Please sign in to comment.