00001
00002
00003 subroutine copy_trigonometry_grav_phi_to_mpt(impt)
00004 use phys_constant, only : nnpg
00005 use grid_parameter, only : npg, nlg
00006 use trigonometry_grav_phi
00007 use trigonometry_grav_phi_mpt
00008 use copy_array_static_1dto2d_mpt
00009 use copy_array_2dto3d_mpt
00010 implicit none
00011 integer :: impt
00012
00013 call copy_arraystatic_1dto2d_mpt(impt, sinphig, sinphig_, 0, nnpg)
00014 call copy_arraystatic_1dto2d_mpt(impt, cosphig, cosphig_, 0, nnpg)
00015 call copy_arraystatic_1dto2d_mpt(impt, hsinphig, hsinphig_, 1, nnpg)
00016 call copy_arraystatic_1dto2d_mpt(impt, hcosphig, hcosphig_, 1, nnpg)
00017 call copy_array2dto3d_mpt(impt, sinmpg, sinmpg_, 0, nlg, 0, npg)
00018 call copy_array2dto3d_mpt(impt, cosmpg, cosmpg_, 0, nlg, 0, npg)
00019 call copy_array2dto3d_mpt(impt, hsinmpg, hsinmpg_, 0, nlg, 1, npg)
00020 call copy_array2dto3d_mpt(impt, hcosmpg, hcosmpg_, 0, nlg, 1, npg)
00021
00022 end subroutine copy_trigonometry_grav_phi_to_mpt