Call to write save files in the directory
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(inout) | :: | files | |||
real(kind=wp), | intent(in), | dimension(-2:dims%imx+2,-2:dims%jmx+2,-2:dims%kmx+2, 1:dims%n_var) | :: | qp | ||
type(nodetype), | intent(in), | dimension(-2:dims%imx+3,-2:dims%jmx+3,-2:dims%kmx+3) | :: | nodes | ||
type(controltype), | intent(in) | :: | control | |||
type(schemetype), | intent(in) | :: | scheme | |||
type(extent), | intent(in) | :: | dims |
subroutine dump_data(files, qp, nodes, control, scheme, dims)
!< Call to write save files in the directory
implicit none
type(filetype), intent(inout) :: files
type(extent), intent(in) :: dims
type(controltype), intent(in) :: control
type(schemetype), intent(in) :: scheme
type(nodetype), dimension(-2:dims%imx+3,-2:dims%jmx+3,-2:dims%kmx+3), intent(in) :: nodes
real(wp), dimension(-2:dims%imx+2,-2:dims%jmx+2,-2:dims%kmx+2, 1:dims%n_var), intent(in) :: qp
DebugCall('dump_solution: dump_data')
write(files%restartfile, '(A,I2.2)') trim(dump_dirname)//'/restart/process_',process_id
write(files%outfile, '(A,I2.2)') trim(dump_dirname)//'/process_',process_id
call write_restart_log(files, scheme, control)
call write_file(files, qp, nodes, control, scheme, dims)
end subroutine dump_data