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