photo_ray_failure_type Derived Type

type, public :: photo_ray_failure_type

photo raycast の ray が衝突照会を完了できなかった最初の失敗(最小の ray、同じ ray なら最小の bounce)。 species は batch 注入の段で埋める。status が ok なら失敗なし。


Components

Type Visibility Attributes Name Initial
integer(kind=i32), public :: status = collision_query_ok
integer(kind=i32), public :: species = huge(0_i32)
integer(kind=i32), public :: ray = huge(0_i32)
integer(kind=i32), public :: bounce = 0_i32

Source Code

  type, public :: photo_ray_failure_type
    integer(i32) :: status = collision_query_ok
    integer(i32) :: species = huge(0_i32)
    integer(i32) :: ray = huge(0_i32)
    integer(i32) :: bounce = 0_i32
  end type photo_ray_failure_type