00001
00002
00003 subroutine copy_legendre_fn_grav_to_mpt(impt)
00004 use grid_parameter, only : nlg, ntg
00005 use legendre_fn_grav
00006 use legendre_fn_grav_mpt
00007 use copy_array_3dto4d_mpt
00008 use copy_array_1dto2d_mpt
00009 use copy_array_2dto3d_mpt
00010 implicit none
00011 integer :: impt
00012
00013 call copy_array3dto4d_mpt(impt, plmg, plmg_, 0, nlg, 0, nlg, 0, ntg)
00014 call copy_array3dto4d_mpt(impt, hplmg, hplmg_, 0, nlg, 0, nlg, 1, ntg)
00015 call copy_array2dto3d_mpt(impt, facnmg, facnmg_, 0, nlg, 0, nlg)
00016 call copy_array1dto2d_mpt(impt, epsig, epsig_, 0, nlg)
00017
00018 end subroutine copy_legendre_fn_grav_to_mpt