Skip to content

Commit 2fc2f11

Browse files
Rename Akzo-Nobel to ZLA Kinetics
1 parent a1c3f08 commit 2fc2f11

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/+otp/+akzonobel/+presets/Canonical.m renamed to src/+otp/+zlakinetics/+presets/Canonical.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
classdef Canonical < otp.akzonobel.AkzoNobelProblem
1+
classdef Canonical < otp.zlakinetics.ZLAKineticsProblem
22
methods
33
function obj = Canonical
44
tspan = [0, 180];
@@ -13,7 +13,7 @@
1313
y0 = [0.444; 0.00123; 0; 0.007; 0; 0];
1414
y0(end) = params.Ks * y0(1) * y0(4);
1515

16-
obj = obj@otp.akzonobel.AkzoNobelProblem(tspan, y0, params);
16+
obj = obj@otp.zlakinetics.ZLAKineticsProblem(tspan, y0, params);
1717
end
1818
end
1919
end

src/+otp/+akzonobel/AkzoNobelProblem.m renamed to src/+otp/+zlakinetics/ZLAKineticsProblem.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
classdef AkzoNobelProblem < otp.Problem
1+
classdef ZLAKineticsProblem < otp.Problem
22
methods
3-
function obj = AkzoNobelProblem(timeSpan, y0, parameters)
4-
obj@otp.Problem('Akzo Nobel', 6, timeSpan, y0, parameters);
3+
function obj = ZLAKineticsProblem(timeSpan, y0, parameters)
4+
obj@otp.Problem('ZLA Kinetics', 6, timeSpan, y0, parameters);
55
end
66

77
function fig = loglog(obj, varargin)
@@ -18,9 +18,9 @@ function onSettingsChanged(obj)
1818
pCO2 = obj.Parameters.pCO2;
1919
H = obj.Parameters.H;
2020

21-
obj.Rhs = otp.Rhs(@(t, y) otp.akzonobel.f(t, y, k, K, klA, Ks, pCO2, H), ...
22-
otp.Rhs.FieldNames.Jacobian, @(t, y) otp.akzonobel.jac(t, y, k, K, klA, Ks, pCO2, H), ...
23-
otp.Rhs.FieldNames.MassMatrix, otp.akzonobel.mass([], [], k, K, klA, Ks, pCO2, H));
21+
obj.Rhs = otp.Rhs(@(t, y) otp.zlakinetics.f(t, y, k, K, klA, Ks, pCO2, H), ...
22+
otp.Rhs.FieldNames.Jacobian, @(t, y) otp.zlakinetics.jac(t, y, k, K, klA, Ks, pCO2, H), ...
23+
otp.Rhs.FieldNames.MassMatrix, otp.zlakinetics.mass([], [], k, K, klA, Ks, pCO2, H));
2424
end
2525

2626
function validateNewState(obj, newTimeSpan, newY0, newParameters)

0 commit comments

Comments
 (0)