84 IF(riemann_flag.EQV..true.)
THEN
99 WRITE(*,*)
't_start =',t
103 DO WHILE ( t .LT. t_end )
107 IF ( t+dt .GT. t_end ) dt = t_end - t
108 IF ( t+dt .GT. t_output ) dt = t_output - t
114 WRITE(*,*)
't =',t,
' dt =',dt,
' h_tot =',dx*(sum(q(1,:)-b_cent(:)))
116 IF ( ( t .GE. t_output ) .OR. ( t .GE. t_end ) ) CALL
output_solution(t)
128 WRITE(*,*)
'Time taken by the code was',t2-t1,
'seconds'
subroutine imex_rk_solver
Runge-Kutta integration.
subroutine init_problem_param
Initialization of relaxation flags.
subroutine timestep
Time-step computation.
subroutine read_param
Read the input file.
program imex_sflow
Github project page: http://demichie.github.io/IMEX_SfloW/ .
subroutine initial_conditions
Problem initialization.
subroutine riemann_problem
Riemann problem initialization.
subroutine init_param
Initialization of the variables read from the input file.
subroutine read_solution
Read the solution from the restart unit.
subroutine deallocate_solver_variables
Memory deallocation.
subroutine allocate_solver_variables
Memory allocation.
subroutine output_solution(t)
Write the solution on the output unit.
subroutine init_grid
Finite volume grid initialization.