FLASH-X
Doxygen Generated Documentation From Interface Source Code
source
numericalTools
RungeKutta
RungeKutta_step.F90
Go to the documentation of this file.
1
!! NOTICE
2
!! Copyright 2022 UChicago Argonne, LLC and contributors
3
!!
4
!! Licensed under the Apache License, Version 2.0 (the "License");
5
!! you may not use this file except in compliance with the License.
6
!!
7
!! Unless required by applicable law or agreed to in writing, software
8
!! distributed under the License is distributed on an "AS IS" BASIS,
9
!! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
!! See the License for the specific language governing permissions and
11
!! limitations under the License.
12
!!
51
52
subroutine
RungeKutta_step
(method, &
53
f, x, y, &
54
eFrac, eBase, &
55
htry, &
56
hused, hnext, &
57
yout, eout )
58
59
implicit none
60
61
interface
62
function
f (x,y)
63
real
,
intent (in)
:: x
64
real
,
intent (in)
:: y (:)
65
real
:: f (
1
:
size
(y))
66
end function
f
67
end interface
68
69
character
(len
=
*
),
intent (in)
:: method
70
real
,
intent (in)
:: x
71
real
,
intent (in)
:: y (:)
72
real
,
intent (in)
:: eFrac
73
real
,
intent (in)
:: eBase (:)
74
real
,
intent (in)
:: htry
75
real
,
intent (out)
:: hused
76
real
,
intent (out)
:: hnext
77
real
,
intent (out)
:: yout (:)
78
real
,
intent (out)
:: eout (:)
79
80
hused
=
0.
0
81
hnext
=
0.
0
82
83
yout(:)
=
0.
0
84
eout(:)
=
0.
0
85
86
return
87
end subroutine
RungeKutta_step
RungeKutta_step
subroutine RungeKutta_step(method, f, x, y, eFrac, eBase, htry, hused, hnext, yout, eout)
Definition:
RungeKutta_step.F90:58
Generated on Fri Feb 4 2022 17:05:05 for FLASH-X by
1.9.3