00001 subroutine length_conversion(i,inlen,outlen)
00002 use phys_constant, only : long,nmpt, g, c, solmas
00003 use def_matter_parameter_mpt
00004 implicit none
00005 real(long) :: inlen, outlen, R0
00006 integer :: i
00007 real(long) :: MM = solmas, LL = g*solmas/c**2, TT = g*solmas/c**3
00008
00009 R0 = def_matter_param_real_(5,1)
00010
00011
00012 if(i.eq.1) outlen = inlen*LL*R0*1.0d-5
00013
00014
00015 if(i.eq.2) outlen = inlen/(LL*R0*1.0d-5)
00016
00017
00018
00019
00020 end subroutine length_conversion