Skip to content

Commit df45e58

Browse files
Merge pull request #2512 from termi-official/do/fix-w-property-docs
Fix Rosenbrock docstrings for Wolfbrandt-property
2 parents a849f32 + 8cfa5e9 commit df45e58

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

lib/OrdinaryDiffEqRosenbrock/src/OrdinaryDiffEqRosenbrock.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ using Reexport
3939
import OrdinaryDiffEqCore: alg_autodiff
4040
import OrdinaryDiffEqCore
4141

42-
function rosenbrock_wanner_docstring(description::String,
42+
function rosenbrock_wolfbrandt_docstring(description::String,
4343
name::String;
4444
references::String = "",
4545
extra_keyword_description = "",
@@ -118,7 +118,7 @@ function rosenbrock_wanner_docstring(description::String,
118118
end
119119

120120
generic_solver_docstring(
121-
description, name, "Rosenbrock-Wanner Method. ", references,
121+
description, name, "Rosenbrock-Wanner-W(olfbrandt) Method. ", references,
122122
keyword_default_description, keyword_default
123123
)
124124
end
@@ -202,7 +202,7 @@ function rosenbrock_docstring(description::String,
202202
end
203203

204204
generic_solver_docstring(
205-
description, name, "Rosenbrock Method. ", references,
205+
description, name, "Rosenbrock-Wanner Method. ", references,
206206
keyword_default_description, keyword_default
207207
)
208208
end

lib/OrdinaryDiffEqRosenbrock/src/algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function GeneralRosenbrock(; chunk_size = Val{0}(), autodiff = true,
139139
factorization)
140140
end
141141

142-
@doc rosenbrock_wanner_docstring(
142+
@doc rosenbrock_wolfbrandt_docstring(
143143
"""
144144
A 4th order L-stable Rosenbrock-W method (fixed step only).
145145
""",

lib/OrdinaryDiffEqRosenbrock/src/generic_rosenbrock.jl

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ function ROS2Tableau() # 2nd order
911911
RosenbrockAdaptiveTableau(a,C,b,btilde,gamma,d,c)
912912
end
913913

914-
@doc rosenbrock_wanner_docstring(
914+
@doc rosenbrock_wolfbrandt_docstring(
915915
"""
916916
An Order 2/3 L-Stable Rosenbrock-W method which is good for very stiff equations with oscillations at low tolerances. 2nd order stiff-aware interpolation.
917917
""",
@@ -922,7 +922,7 @@ Scientific Computing, 18 (1), pp. 1-22.
922922
""",
923923
with_step_limiter = true) Rosenbrock23
924924

925-
@doc rosenbrock_wanner_docstring(
925+
@doc rosenbrock_wolfbrandt_docstring(
926926
"""
927927
An Order 3/2 A-Stable Rosenbrock-W method which is good for mildly stiff equations without oscillations at low tolerances. Note that this method is prone to instability in the presence of oscillations, so use with caution. 2nd order stiff-aware interpolation.
928928
""",
@@ -944,7 +944,7 @@ references = """
944944
""",
945945
with_step_limiter = true) ROS3P
946946

947-
@doc rosenbrock_wanner_docstring(
947+
@doc rosenbrock_wolfbrandt_docstring(
948948
"""
949949
An Order 2/3 L-Stable Rosenbrock-W method for stiff ODEs and DAEs in mass matrix form. 2nd order stiff-aware interpolation and additional error test for interpolation.
950950
""",
@@ -955,7 +955,7 @@ references = """
955955
""",
956956
with_step_limiter = true) Rodas23W
957957

958-
@doc rosenbrock_wanner_docstring(
958+
@doc rosenbrock_wolfbrandt_docstring(
959959
"""
960960
A 4th order L-stable Rosenbrock-W method.
961961
""",
@@ -971,7 +971,7 @@ references = """
971971
publisher={Springer}}
972972
""") ROS34PW1a
973973

974-
@doc rosenbrock_wanner_docstring(
974+
@doc rosenbrock_wolfbrandt_docstring(
975975
"""
976976
A 4th order L-stable Rosenbrock-W method.
977977
""",
@@ -987,7 +987,7 @@ references = """
987987
publisher={Springer}}
988988
""") ROS34PW1b
989989

990-
@doc rosenbrock_wanner_docstring(
990+
@doc rosenbrock_wolfbrandt_docstring(
991991
"""
992992
A 4th order stiffy accurate Rosenbrock-W method for PDAEs.
993993
""",
@@ -1003,7 +1003,7 @@ references = """
10031003
publisher={Springer}}
10041004
""") ROS34PW2
10051005

1006-
@doc rosenbrock_wanner_docstring(
1006+
@doc rosenbrock_wolfbrandt_docstring(
10071007
"""
10081008
A 4th order strongly A-stable (Rinf~0.63) Rosenbrock-W method.
10091009
""",
@@ -1088,7 +1088,7 @@ references = """
10881088
""",
10891089
with_step_limiter=true) Rodas42
10901090

1091-
@doc rosenbrock_wanner_docstring(
1091+
@doc rosenbrock_docstring(
10921092
"""
10931093
4th order A-stable stiffly stable Rosenbrock method with a stiff-aware 3rd order interpolant. 4th order
10941094
on linear parabolic problems and 3rd order accurate on nonlinear parabolic problems (as opposed to
@@ -1102,7 +1102,7 @@ references = """
11021102
""",
11031103
with_step_limiter=true) Rodas4P
11041104

1105-
@doc rosenbrock_wanner_docstring(
1105+
@doc rosenbrock_wolfbrandt_docstring(
11061106
"""
11071107
A 4th order L-stable stiffly stable Rosenbrock method with a stiff-aware 3rd order interpolant. 4th order
11081108
on linear parabolic problems and 3rd order accurate on nonlinear parabolic problems. It is an improvement
@@ -1128,7 +1128,7 @@ references = """
11281128
""",
11291129
with_step_limiter=true) Rodas5
11301130

1131-
@doc rosenbrock_docstring(
1131+
@doc rosenbrock_wolfbrandt_docstring(
11321132
"""
11331133
A 5th order A-stable stiffly stable Rosenbrock method with a stiff-aware 4th order interpolant.
11341134
Has improved stability in the adaptive time stepping embedding.
@@ -1141,7 +1141,7 @@ references = """
11411141
""",
11421142
with_step_limiter=true) Rodas5P
11431143

1144-
@doc rosenbrock_docstring(
1144+
@doc rosenbrock_wolfbrandt_docstring(
11451145
"""
11461146
A 5th order A-stable stiffly stable Rosenbrock method with a stiff-aware 4th order interpolant.
11471147
Has improved stability in the adaptive time stepping embedding.
@@ -1154,7 +1154,7 @@ references = """
11541154
""",
11551155
with_step_limiter=true) Rodas5Pr
11561156

1157-
@doc rosenbrock_docstring(
1157+
@doc rosenbrock_wolfbrandt_docstring(
11581158
"""
11591159
A 5th order A-stable stiffly stable Rosenbrock method with a stiff-aware 4th order interpolant.
11601160
Has improved stability in the adaptive time stepping embedding.
@@ -1200,7 +1200,7 @@ references = """
12001200
""",
12011201
with_step_limiter=true) Veldd4
12021202

1203-
@doc rosenbrock_docstring(
1203+
@doc rosenbrock_wolfbrandt_docstring(
12041204
"""
12051205
A 4th order A-stable Rosenbrock method.
12061206
""",
@@ -1324,7 +1324,7 @@ function ROS2STableau() # 2nd order
13241324
RosenbrockAdaptiveTableau(a,C,b,btilde,gamma,d,c)
13251325
end
13261326

1327-
@doc rosenbrock_wanner_docstring(
1327+
@doc rosenbrock_wolfbrandt_docstring(
13281328
"""
13291329
2nd order stiffly accurate Rosenbrock-Wanner W-method with 3 internal stages with B_PR consistent of order 2 with (Rinf=0).
13301330
""",
@@ -1619,7 +1619,7 @@ function ROS34PRwTableau() # 3rd order
16191619
RosenbrockAdaptiveTableau(a,C,b,btilde,gamma,d,c)
16201620
end
16211621

1622-
@doc rosenbrock_wanner_docstring(
1622+
@doc rosenbrock_wolfbrandt_docstring(
16231623
"""
16241624
3rd order stiffly accurate Rosenbrock-Wanner W-method with 4 internal stages,
16251625
B_PR consistent of order 2.
@@ -1736,7 +1736,7 @@ function ROK4aTableau() # 4rd order
17361736
RosenbrockAdaptiveTableau(a,C,b,btilde,gamma,d,c)
17371737
end
17381738

1739-
@doc rosenbrock_wanner_docstring(
1739+
@doc rosenbrock_wolfbrandt_docstring(
17401740
"""
17411741
4rd order L-stable Rosenbrock-Krylov method with 4 internal stages,
17421742
with a 3rd order embedded method which is strongly A-stable with Rinf~=0.55. (when using exact Jacobians)

0 commit comments

Comments
 (0)