yuan 发表于 2020-10-22 15:26:56

本帖最后由 yuan 于 2021-2-13 23:46 编辑

PROGRAM MAIN
   

xinger 发表于 2020-10-22 23:02:21

个人觉得:
(1)程序中使用implciit none 有助于避坑。
(2)subroutine rungekutta中z定义为real,却用在了循环。
(3)编译时使用 -fcheck=all 就会知道哪里有问题了,如:
At line 129 of file test.f95 Fortran runtime error: Index '4' of dimension 2 of array 'd' above upper bound of 3
(4)其他问题,类推
页: [1]
查看完整版本: