scale_libraries Module Reference

basic IO subroutines for reading neutron and gamma energy groups from SCALE master libraries More...

Functions/Subroutines

subroutine binlib_read_g_egs (filename, number_of_groups, ary)
 Read gamma energy group structure from binary library. More...
 
subroutine binlib_read_n_egs (filename, number_of_groups, ary)
 Read neutron energy group structure from binary library. More...
 
integer function binlib_get_n_ng (filename)
 Read number of neutron groups from binary library. More...
 
integer function binlib_get_n_gg (filename)
 Read number of gamma groups from binary library. More...
 

Variables

integer, parameter binary_unit = 26
 
type(fileutils), private resolver
 

Detailed Description

basic IO subroutines for reading neutron and gamma energy groups from SCALE master libraries

Function/Subroutine Documentation

subroutine scale_libraries::binlib_read_g_egs ( character(len=*), intent(in)  filename,
integer, intent(in)  number_of_groups,
real(c_double), dimension(:), intent(out), allocatable  ary 
)

Read gamma energy group structure from binary library.

Parameters
[in]filenameFile name of the library
[in]number_of_groupsNumber of energy groups to be read
[out]aryOutput buffer for the energy group boundaries

References resolver.

subroutine scale_libraries::binlib_read_n_egs ( character(len=*), intent(in)  filename,
integer, intent(in)  number_of_groups,
real(c_double), dimension(:), intent(out), allocatable  ary 
)

Read neutron energy group structure from binary library.

Parameters
[in]filenameFile name of the library
[in]number_of_groupsNumber of energy groups to be read
[out]aryOutput buffer for the energy group boundaries

References resolver.

integer function scale_libraries::binlib_get_n_ng ( character(len=*), intent(in)  filename)

Read number of neutron groups from binary library.

Parameters
[in]filenameFile name of the library

References resolver.

integer function scale_libraries::binlib_get_n_gg ( character(len=*), intent(in)  filename)

Read number of gamma groups from binary library.

Parameters
[in]filenameFile name of the library

References resolver.

Variable Documentation

integer, parameter binary_unit = 26
type(fileutils), private resolver