Return the diameter of the flux surface at a given major radius
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(abstract_eqfile_geo_type), | intent(in) | :: | self | |||
real, | intent(in) | :: | rp |
real function diameter_eqfile (self, rp) result(diameter)
use splines, only: splint
implicit none
class(abstract_eqfile_geo_type), intent(in) :: self
real, intent(in) :: rp
diameter = splint(rp, self%diam_spl)
end function diameter_eqfile