Hit type, which records possible interaction information
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(vector), | public | :: | dir |
Direction the photon came from |
|||
integer, | public | :: | layer |
Layer ID of interaction |
|||
type(vector), | public | :: | pos |
Poition of the interaction |
|||
real(kind=wp), | public | :: | value |
Value to deposit |
type :: hit_t !> Poition of the interaction type(vector) :: pos !> Direction the photon came from type(vector) :: dir !> Value to deposit real(kind=wp) :: value !> Layer ID of interaction integer :: layer end type hit_t