Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maggul committed Sep 11, 2024
1 parent 3ba03a8 commit bb398eb
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/arkode/guide/source/Mathematics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ and that the right-hand side function is not split into separate
components.

For such problems, LSRKStep provides variable-step, adaptive,
:index:`Runge--Kutta methods`, corresponding to algorithms of the folowing forms:
:index:`Runge--Kutta methods`, corresponding to algorithms of the following forms:

The RKC and RKL methods in ARKODE have the form

Expand Down
2 changes: 1 addition & 1 deletion examples/arkode/CXX_manyvector/ark_sod_lsrk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ int main(int argc, char* argv[])
sunrealtype dTout = udata.tf / uopts.nout;
sunrealtype tout = dTout;

// Inital output
// initial output
flag = OpenOutput(udata, uopts);
if (check_flag(flag, "OpenOutput")) { return 1; }

Expand Down
4 changes: 2 additions & 2 deletions examples/arkode/CXX_parallel/ark_heat2D_lsrk_p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ struct UserData
sunrealtype* Ssend;
sunrealtype* Nsend;

// Send requests for neighor exchange
// Send requests for neighbor exchange
MPI_Request reqSW;
MPI_Request reqSE;
MPI_Request reqSS;
Expand Down Expand Up @@ -412,7 +412,7 @@ int main(int argc, char* argv[])
sunrealtype dTout = udata->tf / udata->nout;
sunrealtype tout = dTout;

// Inital output
// Initial output
flag = OpenOutput(udata);
if (check_flag(&flag, "OpenOutput", 1)) { return 1; }

Expand Down
2 changes: 1 addition & 1 deletion examples/arkode/CXX_serial/ark_heat2D_lsrk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ int main(int argc, char* argv[])
sunrealtype dTout = udata->tf / udata->nout;
sunrealtype tout = dTout;

// Inital output
// initial output
flag = OpenOutput(udata);
if (check_flag(&flag, "OpenOutput", 1)) { return 1; }

Expand Down
2 changes: 1 addition & 1 deletion examples/arkode/C_serial/lsrk_analytic.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int main(void)
NV_Ith_S(y, 0) = SUN_RCONST(0.0); /* Specify initial condition */

/* Call LSRKStepCreate to initialize the ARK timestepper module and
specify the right-hand side function in y'=f(t,y), the inital time
specify the right-hand side function in y'=f(t,y), the initial time
T0, and the initial dependent variable vector y. */
arkode_mem = LSRKStepCreate(f, NULL, T0, y, ctx);
if (check_flag((void*)arkode_mem, "ARKStepCreate", 0)) { return 1; }
Expand Down
2 changes: 1 addition & 1 deletion examples/arkode/C_serial/lsrk_analytic_VarJac.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int main(void)
NV_Ith_S(y, 0) = SUN_RCONST(0.0); /* Specify initial condition */

/* Call LSRKStepCreate to initialize the ARK timestepper module and
specify the right-hand side function in y'=f(t,y), the inital time
specify the right-hand side function in y'=f(t,y), the initial time
T0, and the initial dependent variable vector y. */
arkode_mem = LSRKStepCreate(f, NULL, T0, y, ctx);
if (check_flag((void*)arkode_mem, "ARKStepCreate", 0)) { return 1; }
Expand Down
2 changes: 1 addition & 1 deletion examples/arkode/C_serial/lsrk_ssp_analytic.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ int main(void)
NV_Ith_S(y, 0) = SUN_RCONST(0.0); /* Specify initial condition */

/* Call LSRKStepCreate to initialize the ARK timestepper module and
specify the right-hand side function in y'=f(t,y), the inital time
specify the right-hand side function in y'=f(t,y), the initial time
T0, and the initial dependent variable vector y. */
arkode_mem = LSRKStepCreate(f, NULL, T0, y, ctx);
if (check_flag((void*)arkode_mem, "ARKStepCreate", 0)) { return 1; }
Expand Down

0 comments on commit bb398eb

Please sign in to comment.