neutron_library_class Type Reference

Neutron data library class; it reads the neutron source data from a file into memory. More...

Public Member Functions

procedure, public init => neutron_library__init
 Constructor. More...
 
procedure, public destroy => neutron_library__destroy
 Destructor. More...
 
procedure read_xs => neutron_library__read_xs
 Read XS data. More...
 
procedure read_decay => neutron_library__read_decay
 Read decay data. More...
 
procedure read_stcoeff => neutron_library__read_stcoeff
 Read stopping coefficient data. More...
 
procedure read_branching => neutron_library__read_branching
 Read branching data. More...
 

Public Attributes

real(c_double), dimension(n_elements, 9) stcoeff_data
 stopping coefficient data for elements More...
 
real(c_double), dimension(:), allocatable branch_q
 branching data [itot] More...
 
real(c_double), dimension(:), allocatable branch_el
 branching data [[branch_nl]] More...
 
real(c_double), dimension(:), allocatable branch_ep
 branching data [[branch_np]] More...
 
real(c_double), dimension(:), allocatable branch_f
 branching data [[branch_nl*branch_np]] More...
 
integer, dimension(:), allocatable branch_nl
 brancing data size [itot] More...
 
integer, dimension(:), allocatable branch_np
 brancing data size [itot] More...
 
integer, dimension(:), allocatable branch_ptr_el
 pointer to first item [itot] More...
 
integer, dimension(:), allocatable branch_ptr_ep
 pointer to first item [itot] More...
 
integer, dimension(:), allocatable branch_ptr_f
 pointer to first item [itot] More...
 
integer, dimension(:), allocatable xs_n
 XS data – number of entries [itot]. More...
 
integer, dimension(:), allocatable xs_ptr
 XS data – pointer to the first item [itot]. More...
 
real(c_double), dimension(:), allocatable xs_e
 XS data [[xs_n]]. More...
 
real(c_double), dimension(:), allocatable xs_xs
 XS data [[xs_n]]. More...
 
real(c_double), dimension(:), allocatable decay_eal
 decay data [[decay_nal]] More...
 
real(c_double), dimension(:), allocatable decay_fal
 decay data [[decay_nal]] More...
 
real(c_double), dimension(:), allocatable decay_fdng
 decay data [[decay_ndn]] More...
 
real(c_double), dimension(:), allocatable decay_alam
 decay data [itot] More...
 
real(c_double), dimension(:), allocatable decay_bfsf
 decay data [itot] More...
 
real(c_double), dimension(:), allocatable decay_barnu
 decay data [itot] More...
 
real(c_double), dimension(:), allocatable decay_a
 decay data [itot] More...
 
real(c_double), dimension(:), allocatable decay_b
 decay data [itot] More...
 
real(c_double), dimension(:), allocatable decay_bfdn
 decay data [itot] More...
 
integer, dimension(:), allocatable decay_ndn
 decay – number of DN lines [itot] More...
 
integer, dimension(:), allocatable decay_nal
 decay – number of AN lines [itot] More...
 
integer, dimension(:), allocatable decay_ptr_al
 decay – pointer to the first AN item [itot] More...
 
integer, dimension(:), allocatable decay_ptr_dn
 decay – pointer to the first DN item [itot] More...
 
logical api_mode = .false.
 API mode - how to resolve lirary names. More...
 
type(origen_librarywrapper), pointer lib =>NULL()
 an origen library More...
 

Detailed Description

Neutron data library class; it reads the neutron source data from a file into memory.

The neutron library filename is fixed; the I/O unit is predefined with the parameter neutron_library_unit, but can be changed in the constructor, if needed. Since the library is formatted, the unit number is not important.

Member Function/Subroutine Documentation

procedure, public init ( )

Constructor.

procedure, public destroy ( )

Destructor.

procedure read_xs ( )

Read XS data.

procedure read_decay ( )

Read decay data.

procedure read_stcoeff ( )

Read stopping coefficient data.

procedure read_branching ( )

Read branching data.

References neutron_library::neutron_library_unit.

Member Data Documentation

real(c_double), dimension(n_elements,9) stcoeff_data

stopping coefficient data for elements

real(c_double), dimension(:), allocatable branch_q

branching data [itot]

real(c_double), dimension(:), allocatable branch_el

branching data [[branch_nl]]

real(c_double), dimension(:), allocatable branch_ep

branching data [[branch_np]]

real(c_double), dimension(:), allocatable branch_f

branching data [[branch_nl*branch_np]]

integer, dimension(:), allocatable branch_nl

brancing data size [itot]

integer, dimension(:), allocatable branch_np

brancing data size [itot]

integer, dimension(:), allocatable branch_ptr_el

pointer to first item [itot]

integer, dimension(:), allocatable branch_ptr_ep

pointer to first item [itot]

integer, dimension(:), allocatable branch_ptr_f

pointer to first item [itot]

integer, dimension(:), allocatable xs_n

XS data – number of entries [itot].

integer, dimension(:), allocatable xs_ptr

XS data – pointer to the first item [itot].

real(c_double), dimension(:), allocatable xs_e

XS data [[xs_n]].

real(c_double), dimension(:), allocatable xs_xs

XS data [[xs_n]].

real(c_double), dimension(:), allocatable decay_eal

decay data [[decay_nal]]

real(c_double), dimension(:), allocatable decay_fal

decay data [[decay_nal]]

real(c_double), dimension(:), allocatable decay_fdng

decay data [[decay_ndn]]

real(c_double), dimension(:), allocatable decay_alam

decay data [itot]

real(c_double), dimension(:), allocatable decay_bfsf

decay data [itot]

real(c_double), dimension(:), allocatable decay_barnu

decay data [itot]

real(c_double), dimension(:), allocatable decay_a

decay data [itot]

real(c_double), dimension(:), allocatable decay_b

decay data [itot]

real(c_double), dimension(:), allocatable decay_bfdn

decay data [itot]

integer, dimension(:), allocatable decay_ndn

decay – number of DN lines [itot]

integer, dimension(:), allocatable decay_nal

decay – number of AN lines [itot]

integer, dimension(:), allocatable decay_ptr_al

decay – pointer to the first AN item [itot]

integer, dimension(:), allocatable decay_ptr_dn

decay – pointer to the first DN item [itot]

logical api_mode = .false.

API mode - how to resolve lirary names.

type(origen_librarywrapper), pointer lib =>NULL()

an origen library


The documentation for this type was generated from the following file: