sphere_scale Function

private pure function sphere_scale(self) result(s)

The scale along the sphere's x, y and z axes.

Type Bound

Sphere

Arguments

Type IntentOptional Attributes Name
class(Sphere), intent(in) :: self

Return Value real(kind=wp), (3)


Source Code

    pure function sphere_scale(self) result(s)
        class(Sphere), intent(in) :: self
        real(wp) :: s(3)
        s = self%scale_
    end function sphere_scale