diameter_eqfile Function

public function diameter_eqfile(self, rp) result(diameter)

Uses

Return the diameter of the flux surface at a given major radius

Type Bound

abstract_eqfile_geo_type

Arguments

Type IntentOptional Attributes Name
class(abstract_eqfile_geo_type), intent(in) :: self
real, intent(in) :: rp

Return Value real


Contents

Source Code


Source Code

  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