circle_dect Interface

public interface circle_dect

Module Procedures

private function init_circle_dect(pos, dir, layer, radius, nbins, maxval, trackHistory) result(out)

Initalise Circle detector

Arguments

Type IntentOptional Attributes Name
type(vector), intent(in) :: pos

Centre of detector

type(vector), intent(in) :: dir

Normal of the detector

integer, intent(in) :: layer

Layer ID

real(kind=wp), intent(in) :: radius

Radius of the detector

integer, intent(in) :: nbins

Number of bins in the detector

real(kind=wp), intent(in) :: maxval

Maximum value to store in bins

logical, intent(in) :: trackHistory

Boolean on if to store photon's history prior to hitting the detector.

Return Value type(circle_dect)