00001 subroutine excurve_CF_gridpoint_fluid
00002 use phys_constant, only : long
00003 use grid_parameter, only : nrg, ntg, npg, nrf, ntf, npf
00004 use def_metric_excurve_grid, only : tfkij_grid
00005 use def_excurve_on_SFC_CF
00006 use interface_interpo_gr2fl
00007 use make_array_3d
00008 implicit none
00009 integer :: ia, ib
00010 real(long), pointer :: tempf(:,:,:), tempg(:,:,:)
00011
00012 call alloc_array3d(tempf,0,nrf,0,ntf,0,npf)
00013 call alloc_array3d(tempg,0,nrg,0,ntg,0,npg)
00014
00015 do ib = 1, 3
00016 do ia = 1, 3
00017 tempg(0:nrg,0:ntg,0:npg) = tfkij_grid(0:nrg,0:ntg,0:npg,ia,ib)
00018 call interpo_gr2fl(tempg, tempf)
00019 tfkij_grid_fluid(0:nrf,0:ntf,0:npf,ia,ib) = tempf(0:nrf,0:ntf,0:npf)
00020 end do
00021 end do
00022
00023 deallocate(tempf)
00024 deallocate(tempg)
00025
00026 end subroutine excurve_CF_gridpoint_fluid