|
板凳

楼主 |
发表于 2014-9-10 21:50:14
|
只看该作者
main.f90的源代码
[Fortran] 纯文本查看 复制代码 03 | Integer :: i , j , no 1 , np , kind_p 2 , lz , ncz , lx , ncx , lz 2 , nct , ii , jj , qq , no , g 2 , g 3 , g 5 , notemp , nptemp , r , nfile |
04 | Integer :: n 21 , n 22 , n 51 , n 32 , n 41 , n 42 , ni , k , b , icell , kcell , nn , nnx , nnz , nbfd , nnn , nbfu , jj_start , time 1 |
05 | Integer , Parameter :: npmax = 15000 , kindp = 2 , nct_max = 3000 , nplink_max = 120 , b 1 max = 100 , b 2 max = 9940 |
06 | Integer :: lv ( b 1 max ) , lm ( b 2 max ) , iflag ( npmax ) , ibox ( nct_max , 2 , nplink_max ) , nc ( nct_max , kindp ) |
07 | Double Precision :: ax ( npmax ) , az ( npmax ) , ac ( npmax ) , udot ( npmax ) , wdot ( npmax ) |
08 | Double Precision :: cdot ( npmax ) , xp ( npmax ) , zp ( npmax ) , up ( npmax ) |
09 | Double Precision :: wp ( npmax ) , c ( npmax ) , mass ( npmax ) , xpp ( b 2 max ) , zpp ( b 2 max ) , upp ( b 2 max ) , wpp ( b 2 max ) |
10 | Double Precision :: xptemp ( npmax ) , zptemp ( npmax ) , uptemp ( npmax ) , wptemp ( npmax ) , ctemp ( npmax ) |
11 | Double Precision :: cpp ( b 2 max ) , xdot ( npmax ) , zdot ( npmax ) , xo ( npmax ) , zo ( npmax ) , uo ( npmax ) , wo ( npmax ) , co ( npmax ) |
12 | Double Precision :: etap , d , drx , drz , rr 2 , fourh 2 , dux , duz , dcij , rr , hsml , tdwdr , eta , rho , niminx , nimaxx , niminz , nimaxz , nominx |
13 | Double Precision :: nomaxx , nominz , nomaxz , npminx , npmaxx , npminz , npmaxz , n 2 minx , n 2 maxx , n 3 minx , n 3 maxx , n 5 minxx , n 5 maxx |
14 | Double Precision :: xmin_ini , zmin_ini , xmax_ini , zmax_ini , one_over_ 2 h , one_over_h , tw , factor , pi , g , time , dt , dt 2 , tmax |
15 | Double Precision :: ncall 11 , ncall 12 , ncall 13 , h 2 |
16 | Integer :: j 1 , j 2 , kind_p 1 , ini_kind_p 2 , lx 2 , ni 1 , n_start , n_end , kind_p |
18 | Double Precision :: llx , llz , dx , dz , lxx , lzz , ddx , ddz |
27 | lxx = 2.5E-2 + 4 * 2.5E-5 |
28 | lzz = 2.5E-4 + 4 * 2.5E-5 |
38 | xp ( nn ) = ( j -1 ) * dx - 0.5 * ( lxx - llx ) |
39 | zp ( nn ) = ( i -1 ) * dz - 0.5 * ( lzz - llz ) |
|
|