Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(abstract_eqfile_cart_geo_type), | intent(in) | :: | self | |||
real, | intent(in) | :: | rp |
real function diameter_eqfile_cart (self, rp) result(diameter)
use constants, only: pi
implicit none
class(abstract_eqfile_cart_geo_type), intent(in) :: self
real, intent (in) :: rp
diameter = self%rfun(rp, 0.) + self%rfun(rp, pi)
end function diameter_eqfile_cart