Skip to content

Commit f3abf74

Browse files
Fix Ascher problem typos
1 parent fefb600 commit f3abf74

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

toolbox/+otp/+ascherlineardae/+presets/Canonical.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
classdef Canonical < otp.ascherlineardae.AscherLinearDAEProblem
2-
% The problem defined by Uri Ascher in :cite:p:`Asc89` (sec. 2) which uses time span $t ∈ [0, 1]$ and intial
3-
% condition $[y_0, z_0]^T = [1, β]^T$.
2+
% The problem defined by Ascher in :cite:p:`Asc89` (sec. 2) which uses time span $t ∈ [0, 1]$ and intial condition
3+
% $[y_0, z_0]^T = [1, β]^T$.
44

55
methods
66
function obj = Canonical(varargin)
7-
% Create the Canonical Ascher Linear DAE problem object.
7+
% Create the canonical Ascher linear DAE problem object.
88
%
99
% Parameters
1010
% ----------

toolbox/+otp/+ascherlineardae/+presets/Petzold.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
classdef Petzold < otp.ascherlineardae.AscherLinearDAEProblem
2-
% The Petzold DAE example :cite:p:`Pet86` as a special case of the Ascher linear DAE problem. This preset uses time
2+
% The Petzold DAE example :cite:p:`Pet86` is a special case of the Ascher linear DAE problem. This preset uses time
33
% span $t ∈ [0, 1]$ and $β = 0 $ with the initial condition $[y_0, z_0]^T = [1, 0]^T$.
44

55
methods
66
function obj = Petzold()
7-
% Create the Petzold Ascher Linear DAE problem object.
7+
% Create the PetzoldAscher linear DAE problem object.
88

99
params = otp.ascherlineardae.AscherLinearDAEParameters('Beta', 0);
1010
y0 = [1; params.Beta];

toolbox/+otp/+ascherlineardae/+presets/Stiff.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
classdef Stiff < otp.ascherlineardae.AscherLinearDAEProblem
2-
% The Stiff example from :cite:p:`Asc89`. A variant of the Ascher linear DAE problem which uses time span
2+
% The stiff example from :cite:p:`Asc89`. It is a variant of the Ascher linear DAE problem which uses time span
33
% $t ∈ [0, 1]$ and $β = 100$ with the initial condition $[y_0, z_0]^T = [1, 100]^T$.
44

55
methods
66
function obj = Stiff()
7-
% Create the stiff Ascher Linear DAE problem object.
7+
% Create the stiff Ascher linear DAE problem object.
88

99
params = otp.ascherlineardae.AscherLinearDAEParameters('Beta', 100);
1010
y0 = [1; params.Beta];

toolbox/+otp/+ascherlineardae/AscherLinearDAEParameters.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
classdef AscherLinearDAEParameters < otp.Parameters
2-
% Parameters for Ascher Linear DAE problem.
2+
% Parameters for Ascher linear DAE problem.
33

44
properties
55
% A scalar parameter $β$ in the linear model. It affects the stifness of the problem.
@@ -8,7 +8,7 @@
88

99
methods
1010
function obj = AscherLinearDAEParameters(varargin)
11-
% Create a Ascher Linear DAE parameters object.
11+
% Create a Ascher linear DAE parameters object.
1212
%
1313
% Parameters
1414
% ----------

toolbox/+otp/+ascherlineardae/AscherLinearDAEProblem.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
classdef AscherLinearDAEProblem < otp.Problem
22
% A linear differential-algebraic problem with a time-dependant mass matrix.
33
%
4-
% The Ascher linear DAE Problem :cite:p:`Asc89` is an index-1 differential-agebraic equation given by
4+
% The Ascher linear DAE problem :cite:p:`Asc89` is an index-1 differential-agebraic equation given by
55
%
66
% $$
77
% \begin{bmatrix}

0 commit comments

Comments
 (0)