|
4 | 4 | #*****************************************************************************#
|
5 | 5 |
|
6 | 6 | "Create integrator for stochastic explicit Runge-Kutta tableau."
|
7 |
| -function Integrator(equation::SDE, tableau::TableauSERK, Δt; kwargs...) |
| 7 | +function Integrators.Integrator(equation::SDE, tableau::TableauSERK, Δt; kwargs...) |
8 | 8 | IntegratorSERK(equation, tableau, Δt; kwargs...)
|
9 | 9 | end
|
10 | 10 |
|
11 | 11 | "Create integrator for weak explicit Runge-Kutta tableau."
|
12 |
| -function Integrator(equation::SDE, tableau::TableauWERK, Δt; kwargs...) |
| 12 | +function Integrators.Integrator(equation::SDE, tableau::TableauWERK, Δt; kwargs...) |
13 | 13 | IntegratorWERK(equation, tableau, Δt; kwargs...)
|
14 | 14 | end
|
15 | 15 |
|
16 | 16 | "Create integrator for stochastic fully implicit Runge-Kutta tableau."
|
17 |
| -function Integrator(equation::SDE, tableau::TableauSIRK, Δt; kwargs...) |
| 17 | +function Integrators.Integrator(equation::SDE, tableau::TableauSIRK, Δt; kwargs...) |
18 | 18 | IntegratorSIRK(equation, tableau, Δt; kwargs...)
|
19 | 19 | end
|
20 | 20 |
|
21 | 21 | "Create integrator for stochastic fully implicit partitioned Runge-Kutta tableau."
|
22 |
| -function Integrator(equation::PSDE, tableau::TableauSIPRK, Δt; kwargs...) |
| 22 | +function Integrators.Integrator(equation::PSDE, tableau::TableauSIPRK, Δt; kwargs...) |
23 | 23 | IntegratorSIPRK(equation, tableau, Δt; kwargs...)
|
24 | 24 | end
|
25 | 25 |
|
26 | 26 | "Create integrator for stochastic fully implicit split partitioned Runge-Kutta tableau."
|
27 |
| -function Integrator(equation::SPSDE, tableau::TableauSISPRK, Δt; kwargs...) |
| 27 | +function Integrators.Integrator(equation::SPSDE, tableau::TableauSISPRK, Δt; kwargs...) |
28 | 28 | IntegratorSISPRK(equation, tableau, Δt; kwargs...)
|
29 | 29 | end
|
30 | 30 |
|
31 | 31 | "Create integrator for weak fully implicit Runge-Kutta tableau."
|
32 |
| -function Integrator(equation::SDE, tableau::TableauWIRK, Δt; kwargs...) |
| 32 | +function Integrators.Integrator(equation::SDE, tableau::TableauWIRK, Δt; kwargs...) |
33 | 33 | IntegratorWIRK(equation, tableau, Δt; kwargs...)
|
34 | 34 | end
|
35 | 35 |
|
|
38 | 38 | # Integration functions for stochastic integrators #
|
39 | 39 | #*****************************************************************************#
|
40 | 40 |
|
41 |
| -function integrate!(int::StochasticIntegrator{DT,TT}, sol::Solution{AT,TT}, asol::AtomicSolution{DT,TT}, m::Int, n::Int) where {DT, TT, AT <: AbstractArray{DT}} |
| 41 | +function Integrators.integrate!(int::StochasticIntegrator{DT,TT}, sol::Solution{AT,TT}, asol::AtomicSolution{DT,TT}, m::Int, n::Int) where {DT, TT, AT <: AbstractArray{DT}} |
42 | 42 | # copy the increments of the Brownian Process
|
43 | 43 | get_increments!(sol, asol, n, m)
|
44 | 44 |
|
|
0 commit comments