00001
00002
00003 subroutine copy_trigonometry_grav_phi_from_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_2dto1d_mpt
00009 use copy_array_3dto2d_mpt
00010 implicit none
00011 integer :: impt
00012
00013 call copy_arraystatic_2dto1d_mpt(impt, sinphig_, sinphig, 0, nnpg)
00014 call copy_arraystatic_2dto1d_mpt(impt, cosphig_, cosphig, 0, nnpg)
00015 call copy_arraystatic_2dto1d_mpt(impt, hsinphig_, hsinphig, 1, nnpg)
00016 call copy_arraystatic_2dto1d_mpt(impt, hcosphig_, hcosphig, 1, nnpg)
00017 call copy_array3dto2d_mpt(impt, sinmpg_, sinmpg, 0, nlg, 0, npg)
00018 call copy_array3dto2d_mpt(impt, cosmpg_, cosmpg, 0, nlg, 0, npg)
00019 call copy_array3dto2d_mpt(impt, hsinmpg_, hsinmpg, 0, nlg, 1, npg)
00020 call copy_array3dto2d_mpt(impt, hcosmpg_, hcosmpg, 0, nlg, 1, npg)
00021
00022 end subroutine copy_trigonometry_grav_phi_from_mpt