We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a84ee commit 5f5a014Copy full SHA for 5f5a014
src/+otp/+lorenz96/+presets/PopovSandu.m
@@ -35,22 +35,20 @@
35
36
q = s.Partitions;
37
38
- sixHours = 0.05;
39
- day = sixHours * 4;
40
- numDays = 5;
41
- omega = 2 * pi/(day * numDays);
+ fiveDays = 1;
+ omega = 2 * pi/(fiveDays);
42
43
- F = @(t) 8 + 4*cos(omega*(t + mod((1:40) - 1, q)/q)).';
+ F = @(t) 8 + 4*cos(omega*(t + mod((1:N) - 1, q)/q)).';
44
45
params.forcingFunction = F;
46
47
% We initialise the Lorenz96 model as in (Lorenz & Emanuel 1998)
48
49
y0 = 8*ones(N, 1);
50
51
- y0(20) = 8.008;
+ y0(floor(N/2)) = 8.008;
52
53
- tspan = [0, sixHours]; % 6 hours
+ tspan = [0, 720]; % 3600 days
54
55
obj = obj@otp.lorenz96.Lorenz96Problem(tspan, y0, params);
56
0 commit comments