settings_t Derived Type

type, public :: settings_t


Components

Type Visibility Attributes Name Initial
logical, public :: absorb

Boolean to indicate whether to store absoption data.

character(len=:), public, allocatable :: ckptfile
integer, public :: ckptfreq
character(len=:), public, allocatable :: experiment

Name of experiment/simulation

type(cart_grid), public :: grid

Cart_grid type

character(len=:), public, allocatable :: historyFilename

Name of photon history file

integer, public :: iseed

initial seed for random number generator

logical, public :: loadckpt
integer, public :: nphotons

Number of photons to run

character(len=:), public, allocatable :: outfile

Name of fluence output file

character(len=:), public, allocatable :: outfile_absorb

Name of absoprtion output file

logical, public :: overwrite

Boolean to indicate whether to use overwrite datafiles if they have the same name.

logical, public :: render_geom

Boolean to indicate whether to render SDF to voxels or not.

integer, public :: render_size(3)

Size of the voxel grid to render SDFs to

character(len=:), public, allocatable :: renderfile

Name of voxel render file

character(len=:), public, allocatable :: source

Light source used

logical, public :: tev

Boolean to indicate whether to use TEV as debug viewer.

logical, public :: trackHistory

Boolean to indicate whether to store history of photons positions


Source Code

    type :: settings_t
        !> Number of photons to run
        integer :: nphotons
        !> initial seed for random number generator
        integer :: iseed
        !> Size of the voxel grid to render SDFs to
        integer :: render_size(3)
        !> Name of experiment/simulation
        character(len=:), allocatable :: experiment
        !> Name of fluence output file
        character(len=:), allocatable :: outfile
        !> Name of voxel render file
        character(len=:), allocatable :: renderfile
        !> Light source used
        character(len=:), allocatable :: source
        !> Name of photon history file
        character(len=:), allocatable :: historyFilename
        !> Name of absoprtion output file
        character(len=:), allocatable :: outfile_absorb
        !> Cart_grid type
        type(cart_grid) :: grid
        !> Boolean to indicate whether to render SDF to voxels or not.
        logical :: render_geom
        !> Boolean to indicate whether to use TEV as debug viewer.
        logical :: tev
        !> Boolean to indicate whether to use overwrite datafiles if they have the same name.
        logical :: overwrite
        !> Boolean to indicate whether to store history of photons positions
        logical :: trackHistory
        !> Boolean to indicate whether to store absoption data.
        logical :: absorb
        integer :: ckptfreq
        logical :: loadckpt
        character(len=:), allocatable :: ckptfile
    end type settings_t