view rkmain.f90 @ 4:8026ceb4de7a

add Makefile
author "uncorrelated zombie" <uncorrelated@yahoo.co.jp>
date Tue, 23 Jul 2024 01:48:31 +0900
parents 2347cff808b0
children 0ca8347e4c47
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

  allocate(r(max_i, 4))
  call calc(x, max_i, r)
  print *, r
end program