00001 subroutine lentim_conversion(i,inval,outval)
00002 use phys_constant, only : long,nmpt, g, c, solmas
00003 use def_matter_parameter_mpt
00004 implicit none
00005 real(long), intent(in) :: inval
00006 real(long), intent(out) :: outval
00007 real(long) :: R0
00008 integer :: i
00009 real(long) :: MM = solmas, LL = g*solmas/c**2, TT = g*solmas/c**3
00010
00011 R0 = def_matter_param_real_(5,1)
00012
00013
00014 if(i .eq. 1) outval = inval*LL*R0*1.0d-5
00015
00016
00017 if(i .eq. 2) outval = inval/(LL*R0*1.0d-5)
00018
00019
00020 if(i .eq. 3) outval = inval/R0/TT
00021
00022
00023 if(i .eq. 4) outval = inval*R0*TT
00024
00025 end subroutine lentim_conversion