Datatype for Runge-Kutta integrator
Initialises a Runge Kutta integrator
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(runge_kutta_t), | intent(inout) | :: | self |
Instance of the type |
||
| integer, | intent(in) | :: | ndim |
Dimension of problem |
||
| integer, | intent(in) | :: | order |
Order of time-stepping scheme |
Returns ncount
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(runge_kutta_t), | intent(in) | :: | self |
Instance of the type |
Returns ndim
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(runge_kutta_t), | intent(in) | :: | self |
Instance of the type |
Returns order
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(runge_kutta_t), | intent(in) | :: | self |
Instance of the type |
Right hand side of differential equation
| Type | Intent | Optional | Attributes | Name | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| class(runge_kutta_t), | intent(inout) | :: | self |
Instance of the type |
|||||||||||||||||||||||||||||||||||||
| real(kind=GP), | intent(in) | :: | dtau |
Size of timestep |
|||||||||||||||||||||||||||||||||||||
| real(kind=GP), | intent(in) | :: | tau |
Time at input |
|||||||||||||||||||||||||||||||||||||
| real(kind=GP), | intent(inout), | dimension(self%ndim) | :: | y |
On input: variable values at tau, at output at tau+dtau |
||||||||||||||||||||||||||||||||||||
subroutine rhs(ndim, tau, y, dy)Arguments
|
|||||||||||||||||||||||||||||||||||||||||
Displays basic information of runge_kutta
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(runge_kutta_t), | intent(in) | :: | self |
Instance of the type |