00001 subroutine allocate_metric_CF
00002 use phys_constant, only : long
00003 use grid_parameter
00004 use def_metric
00005 use def_metric_excurve_grid
00006 use def_vector_x
00007 use def_vector_phi
00008 use def_vector_irg
00009 use make_array_2d
00010 use make_array_3d
00011 use make_array_5d
00012 implicit none
00013
00014 call alloc_array3d(psi , 0, nrg, 0, ntg, 0, npg)
00015 call alloc_array3d(alph, 0, nrg, 0, ntg, 0, npg)
00016 call alloc_array3d(alps, 0, nrg, 0, ntg, 0, npg)
00017 call alloc_array3d(bvxd, 0, nrg, 0, ntg, 0, npg)
00018 call alloc_array3d(bvyd, 0, nrg, 0, ntg, 0, npg)
00019 call alloc_array3d(bvzd, 0, nrg, 0, ntg, 0, npg)
00020
00021 call alloc_array3d(tfkijkij,1,nrg,1,ntg,1,npg)
00022 call alloc_array5d(tfkij, 1,nrg,1,ntg,1,npg,1,3,1,3)
00023 call alloc_array3d(tfkijkij_grid, 0, nrg, 0, ntg, 0, npg)
00024 call alloc_array5d(tfkij_grid, 0, nrg, 0, ntg, 0, npg, 1, 3, 1, 3)
00025 call alloc_array3d(trk,1,nrg,1,ntg,1,npg)
00026 call alloc_array3d(trk_grid, 0, nrg, 0, ntg, 0, npg)
00027
00028 call allocate_vector_x
00029 call allocate_vector_phi
00030
00031 call allocate_vector_irg
00032
00033 tfkijkij(1:nrg,1:ntg,1:npg) =0.0d0
00034 tfkij(1:nrg,1:ntg,1:npg,1:3,1:3)=0.0d0
00035 tfkijkij_grid(0:nrg,0:ntg,0:npg) =0.0d0
00036 tfkij_grid(0:nrg,0:ntg,0:npg,1:3,1:3)=0.0d0
00037 trk(1:nrg,1:ntg,1:npg) =0.0d0
00038 trk_grid(0:nrg,0:ntg,0:npg)=0.0d0
00039
00040 end subroutine allocate_metric_CF