Mercurial > op > rk_sakamoti
view rkmain.f90 @ 6:d90925ba642e default tip
add a patch file
author | "uncorrelated zombie" <uncorrelated@yahoo.co.jp> |
---|---|
date | Tue, 23 Jul 2024 02:36:26 +0900 |
parents | 0ca8347e4c47 |
children |
line wrap: on
line source
program rkmain use rkmod implicit none real(kind=dpkind),dimension(3) :: x = [0.5, 0.5, 0.5] integer :: max_i = 5000 ! real(kind=dpkind), allocatable, dimension(:, :) :: r real(kind=dpkind), dimension(5000, 4) :: r ! allocate(r(max_i, 4)) call calc(x, max_i, r) open(17,file='rkmain.dat', form='unformatted', access = "stream", status='replace') write(17) r close(17) end program