Skip to content

Commit 590b382

Browse files
committed
typos
1 parent ce46fc8 commit 590b382

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/binarydata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ int reb_binarydata_diff(char* buf1, size_t size1, char* buf2, size_t size2, char
377377
}
378378
if(fields_differ){
379379
if (strncmp(name1, "walltime",8)!=0){
380-
// Ignore all fiels that start with walltime, but only for the return value (print it out)
380+
// Ignore all fields that start with walltime, but only for the return value (print it out)
381381
// Typically we do not care about this field when comparing simulations.
382382
are_different = 1.;
383383
}

src/integrator_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const struct reb_binarydata_field_descriptor reb_integrator_trace_field_descript
9292
REB_FUNCTIONPOINTER,"S", offsetof(struct reb_integrator_trace_state, S), 0, 0, 0},
9393
{ "This is a function pointer to the switching function for close encounters involving "
9494
"the central body. If NULL (the default), the default switching function will be used. "
95-
"The defult switching function checks if a body is close to its pericenter by "
95+
"The default switching function checks if a body is close to its pericenter by "
9696
"considering a timescale derived from high-order derivatives of the particle's "
9797
"herliocentric position, inspired by [Pham, Rein, and Spiegel (2024)]. "
9898
"The argument `j` is the index of the non-central particle considered. "

src/integrator_whfast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const struct reb_binarydata_field_descriptor reb_integrator_whfast_field_descrip
9595
{ "By default the keep_unsynchronized flag is 0. If set to 1 synchronization of the "
9696
"simulation is done on a copy of the particle data. This allows "
9797
"the simulation to continue integrating as if the simulation "
98-
"were never synchronized. This allows for bit-wise reproducability "
98+
"were never synchronized. This allows for bit-wise reproducibility "
9999
"in long term simulations.",
100100
REB_UINT, "keep_unsynchronized",offsetof(struct reb_integrator_whfast_state, keep_unsynchronized), 0, 0, 0},
101101
// Internal variables

src/integrator_whfast512.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const struct reb_binarydata_field_descriptor reb_integrator_whfast512_field_desc
117117
{ "By default the keep_unsynchronized flag is 0. If set to 1 synchronization of the "
118118
"simulation is done on a copy of the particle data. This allows "
119119
"the simulation to continue integrating as if the simulation "
120-
"were never synchronized. This allows for bit-wise reproducability "
120+
"were never synchronized. This allows for bit-wise reproducibility "
121121
"in long term simulations.",
122122
REB_UINT, "keep_unsynchronized", offsetof(struct reb_integrator_whfast512_state, keep_unsynchronized), 0, 0, 0},
123123
{ "This flag determines if an additional $1/r^2$ potential is included in the force "

src/rebound.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static void reb_integrator_none_step(struct reb_simulation* const r, void* state
5656
}
5757
const struct reb_integrator reb_integrator_none = {
5858
.documentation =
59-
"This is a dummy integrator and has no effect on the simulation when used other than advancing time foward.",
59+
"This is a dummy integrator and has no effect on the simulation when used other than advancing time forward.",
6060
.step=reb_integrator_none_step
6161
};
6262

src/rebound.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ struct reb_collision{
148148
size_t ri; // Root cell index (MPI only)
149149
};
150150

151-
// Dictionary element to provie human readable name for enums. Used by python.
151+
// Dictionary element to provide human readable name for enums. Used by python.
152152
struct reb_binarydata_enum_descriptor{
153153
int value;
154154
char name[REB_STRING_SIZE_MAX];
@@ -179,7 +179,7 @@ struct reb_integrator {
179179
};
180180

181181

182-
// A current integrator configuation. Internal use only.
182+
// A current integrator configuration. Internal use only.
183183
struct reb_integrator_configuration {
184184
const char* name;
185185
struct reb_integrator callbacks;

0 commit comments

Comments
 (0)