Generic 'solve' for ODEs.
More...
Generic 'solve' for ODEs.
Definition at line 231 of file ode_solver_mod.f90.
◆ ode_solver_solve()
subroutine ode_solver_mod::solve::ode_solver_solve |
( |
type(ode_solution), intent(inout) |
sol, |
|
|
type(ode_solver), intent(inout) |
slv, |
|
|
type(ode_problem), intent(in) |
pb, |
|
|
real(rp), intent(in) |
t0, |
|
|
real(rp), intent(in) |
T, |
|
|
real(rp), intent(in) |
dt, |
|
|
procedure(linsystem_solver), optional |
KInv, |
|
|
type(ode_output), optional |
output |
|
) |
| |
|
private |
Solve an ODE with constant time step
- INPUT:
- slv = ode_solver
- pb = ode_problem
- t0, t = starting and final time
- dt = time step
Optional:
- KInv = inversion of the linear system \( (M + cS)u = {\rm rhs} \)
- output = ode_output type definition
Detail on 'KInv' and on 'output' are in ode_solver_mod detailed description.
Definition at line 715 of file ode_solver_mod.f90.
The documentation for this interface was generated from the following file: