Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(history_stack_t) | :: | this |
type(vec4) function histpop_fn(this) class(history_stack_t) :: this if(this%size == 0 .or. .not. allocated(this%data))then histpop_fn = vec4(-99._wp, -99._wp, -99._wp, -99._wp) return end if histpop_fn = this%data(this%size) this%size = this%size - 1 end function histpop_fn