00001
00002
00003 subroutine copy_legendre_fn_grav_from_mpt(impt)
00004 use grid_parameter, only : nlg, ntg
00005 use legendre_fn_grav
00006 use legendre_fn_grav_mpt
00007 use copy_array_4dto3d_mpt
00008 use copy_array_2dto1d_mpt
00009 use copy_array_3dto2d_mpt
00010 implicit none
00011 integer :: impt
00012
00013 call copy_array4dto3d_mpt(impt, plmg_, plmg, 0, nlg, 0, nlg, 0, ntg)
00014 call copy_array4dto3d_mpt(impt, hplmg_, hplmg, 0, nlg, 0, nlg, 1, ntg)
00015 call copy_array3dto2d_mpt(impt, facnmg_, facnmg, 0, nlg, 0, nlg)
00016 call copy_array2dto1d_mpt(impt, epsig_, epsig, 0, nlg)
00017
00018 end subroutine copy_legendre_fn_grav_from_mpt