00001 subroutine allocate_metric_and_matter_qeos
00002 use phys_constant, only : long
00003 use grid_parameter
00004 use def_metric
00005 use def_metric_excurve_grid
00006 use def_matter
00007 use def_vector_x
00008 use def_vector_phi
00009 use make_array_2d
00010 use make_array_3d
00011 use make_array_5d
00012 implicit none
00013
00014 call alloc_array2d(rs, 0, ntf, 0, npf)
00015 call alloc_array2d(ergoin, 0, ntg, 0, npg)
00016 call alloc_array2d(ergoout, 0, ntg, 0, npg)
00017 call alloc_array3d(rhog, 0, nrg, 0, ntg, 0, npg)
00018 call alloc_array3d(rhof, 0, nrf, 0, ntf, 0, npf)
00019 call alloc_array3d(utg, 0, nrg, 0, ntg, 0, npg)
00020 call alloc_array3d(utf, 0, nrf, 0, ntf, 0, npf)
00021 call alloc_array3d(omeg, 0, nrg, 0, ntg, 0, npg)
00022 call alloc_array3d(omef, 0, nrf, 0, ntf, 0, npf)
00023 call alloc_array3d(jomeg, 0, nrg, 0, ntg, 0, npg)
00024 call alloc_array3d(jomef, 0, nrf, 0, ntf, 0, npf)
00025 call alloc_array3d(jomeg_int, 0, nrg, 0, ntg, 0, npg)
00026 call alloc_array3d(jomef_int, 0, nrf, 0, ntf, 0, npf)
00027 call alloc_array3d(psi, 0, nrg, 0, ntg, 0, npg)
00028 call alloc_array3d(alph, 0, nrg, 0, ntg, 0, npg)
00029 call alloc_array3d(alps, 0, nrg, 0, ntg, 0, npg)
00030 call alloc_array3d(tfkijkij, 1, nrg, 1, ntg, 1, npg)
00031 call alloc_array3d(bvxd, 0, nrg, 0, ntg, 0, npg)
00032 call alloc_array3d(bvyd, 0, nrg, 0, ntg, 0, npg)
00033 call alloc_array3d(bvzd, 0, nrg, 0, ntg, 0, npg)
00034 call alloc_array3d(bvxu, 0, nrg, 0, ntg, 0, npg)
00035 call alloc_array3d(bvyu, 0, nrg, 0, ntg, 0, npg)
00036 call alloc_array3d(bvzu, 0, nrg, 0, ntg, 0, npg)
00037 call alloc_array5d(tfkij, 1, nrg, 1, ntg, 1, npg, 1, 3, 1, 3)
00038 call alloc_array5d(tfkij_grid, 0, nrg, 0, ntg, 0, npg, 1, 3, 1, 3)
00039 call alloc_array3d(tfkijkij_grid, 0, nrg, 0, ntg, 0, npg)
00040
00041 call allocate_vector_x
00042 call allocate_vector_phi
00043
00044 end subroutine allocate_metric_and_matter_qeos