Skip to content

Commit 3f43145

Browse files
committed
last commit before full rename to IVP's
1 parent 4a19c3f commit 3f43145

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

toolbox/ode.m renamed to toolbox/solve_ivp.m

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
%==========================================================================
22
%
3-
% ode Solve initial value problems using fixed-step ODE solvers.
3+
% solve_ivp Solve initial value problems using fixed-step IVP solvers.
44
%
5-
% [t,y] = ode(f,[t0,tf],y0,h)
6-
% [t,y] = ode(f,{t0,C},y0,h)
7-
% [t,y] = ode(__,method)
8-
% [t,y] = ode(__,method,wb)
5+
% [t,y] = solve_ivp(f,[t0,tf],y0,h)
6+
% [t,y] = solve_ivp(f,{t0,C},y0,h)
7+
% [t,y] = solve_ivp(__,method)
8+
% [t,y] = solve_ivp(__,method,wb)
99
%
1010
% Copyright © 2021 Tamas Kis
1111
% Last Update: 2022-06-04
1212
% Website: https://tamaskis.github.io
1313
% Contact: tamas.a.kis@outlook.com
1414
%
1515
% TOOLBOX DOCUMENTATION:
16-
% https://tamaskis.github.io/ODE_Solver_Toolbox-MATLAB/
16+
% https://tamaskis.github.io/IVP_Solver_Toolbox-MATLAB/
1717
%
1818
% TECHNICAL DOCUMENTATION:
19-
% https://tamaskis.github.io/documentation/Fixed_Step_ODE_Solvers.pdf
19+
% https://tamaskis.github.io/documentation/Fixed_Step_IVP_Solvers.pdf
2020
%
2121
%--------------------------------------------------------------------------
2222
%
@@ -25,7 +25,7 @@
2525
% ------
2626
% f - (1×1 function_handle) dy/dt = f(t,y) --> multivariate,
2727
% vector-valued function (f : ℝ×ℝᵖ → ℝᵖ) defining ODE
28-
% I - defines interval over which to solve the ODE, 2 options:
28+
% I - defines interval over which to solve the IVP, 2 options:
2929
% --> [t0,tf] - (1×2 double) initial and final times
3030
% --> {t0,C} - (1×2 cell) initial time, t₀, and function
3131
% handle for condition function, C(t,y)
@@ -59,10 +59,10 @@
5959
% chosen to match the convention used by MATLAB's ODE suite.
6060
%
6161
%==========================================================================
62-
function [t,y] = ode(f,I,y0,h,method,wb)
62+
function [t,y] = solve_ivp(f,I,y0,h,method,wb)
6363

6464
% --------------------
65-
% Time detection mode.
65+
% Time detection msolve_ivp.
6666
% --------------------
6767

6868
if ~iscell(I)
@@ -97,7 +97,7 @@
9797
% turns waitbar on with default message
9898
elseif (nargin == 6) && wb
9999
display_waitbar = true;
100-
[wb,prop] = initialize_waitbar('Solving ODE...');
100+
[wb,prop] = initialize_waitbar('Solving IVP...');
101101

102102
% turns waitbar off otherwise
103103
else
@@ -106,7 +106,7 @@
106106
end
107107

108108
% ---------------------
109-
% Event detection mode.
109+
% Event detection msolve_ivp.
110110
% ---------------------
111111

112112
else
@@ -213,7 +213,7 @@
213213
y(:,1) = y0;
214214

215215
% ---------------------------------------
216-
% Solves ODE (using single-step methods).
216+
% Solves IVP (using single-step methods).
217217
% ---------------------------------------
218218

219219
if single_step
@@ -242,7 +242,7 @@
242242
end
243243

244244
% --------------------------------------
245-
% Solves ODE (using multi-step methods).
245+
% Solves IVP (using multi-step methods).
246246
% --------------------------------------
247247

248248
else

0 commit comments

Comments
 (0)