opacity Function

private pure function opacity(self)

The body's opacity (set_opacity).

Type Bound

Sphere

Arguments

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

Return Value real(kind=wp)


Source Code

    pure real(wp) function opacity(self)
        class(Sphere), intent(in) :: self
        opacity = self%opacity_
    end function opacity