You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/BoundaryValueDiffEqFIRK/src/adaptivity.jl
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ After we construct an interpolant, we use interp_eval to evaluate it.
10
10
) where {iip, T}
11
11
j =interval(mesh, t)
12
12
h = mesh_dt[j]
13
-
lf = (length(cache.y₀) -1) / (length(cache.y) -1) # Cache length factor. We use a h corresponding to cache.y. Note that this assumes equidistributed mesh
13
+
lf = (length(cache.y₀.u) -1) / (length(cache.y) -1) # Cache length factor. We use a h corresponding to cache.y. Note that this assumes equidistributed mesh
14
14
if lf >1
15
15
h *= lf
16
16
end
@@ -55,7 +55,7 @@ end
55
55
) where {iip, T}
56
56
j =interval(mesh, t)
57
57
h = mesh_dt[j]
58
-
lf = (length(cache.y₀) -1) / (length(cache.y) -1) # Cache length factor. We use a h corresponding to cache.y. Note that this assumes equidistributed mesh
58
+
lf = (length(cache.y₀.u) -1) / (length(cache.y) -1) # Cache length factor. We use a h corresponding to cache.y. Note that this assumes equidistributed mesh
59
59
if lf >1
60
60
h *= lf
61
61
end
@@ -103,7 +103,7 @@ end
103
103
104
104
j =interval(mesh, t)
105
105
h = mesh_dt[j]
106
-
lf = (length(cache.y₀) -1) / (length(cache.y) -1) # Cache length factor. We use a h corresponding to cache.y. Note that this assumes equidistributed mesh
106
+
lf = (length(cache.y₀.u) -1) / (length(cache.y) -1) # Cache length factor. We use a h corresponding to cache.y. Note that this assumes equidistributed mesh
107
107
if lf >1
108
108
h *= lf
109
109
end
@@ -150,7 +150,7 @@ end
150
150
151
151
j =interval(mesh, t)
152
152
h = mesh_dt[j]
153
-
lf = (length(cache.y₀) -1) / (length(cache.y) -1) # Cache length factor. We use a h corresponding to cache.y. Note that this assumes equidistributed mesh
153
+
lf = (length(cache.y₀.u) -1) / (length(cache.y) -1) # Cache length factor. We use a h corresponding to cache.y. Note that this assumes equidistributed mesh
0 commit comments