Documentation from the file
polytrope/0.8/idl/func1.pro
| Routine |
Name: func1
Description:
A sub-function of the lane_emden_root pro.
Syntax:
func1_val = func1(x,y)
Input:x:
x is an IDL floating_point and the value of the first root of the
Lane-Emden equation
y:
y is an IDL dblarr that
represents the scaled mass density.
y is defined as follows: mass density equals a constant lambda
times phi raised to the power n, where n is the polytropic index
in the range [0.,4.999999] and lambda is a
scaling parameter identified
by the central desity of the star, thereby normalizing the function
phi to unity at the center
lane:
lane is a common block that contains n, the polytropic index in the
range [0.,4.999999].
Output:func1:
func1 is an IDL floating_point and is needed for the IDL pro
lane_emden_root.
|
-top-
|