Check variables read from namelist "basis"
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=int32), | public | :: | level_index_ |
subroutine check_namelist_basis
!! Check variables read from namelist "basis"
!---------------------------------------------------------------------!
integer(int32) :: level_index_
!---------------------------------------------------------------------!
do level_index_ = 1, number_of_basis_levels
if (vib_levels(level_index_) < 0) then
call incorrect_value("vib_levels(" // &
integer_to_character(level_index_) // ")", &
vib_levels(level_index_), input_unit)
endif
if (rot_levels(level_index_) < 0) then
call incorrect_value("rot_levels(" // &
integer_to_character(level_index_) // ")", &
rot_levels(level_index_), input_unit)
endif
if (internal_energies(level_index_) < 0.0_dp) then
call incorrect_value("internal_energies(" // &
integer_to_character(level_index_) // ")", &
internal_energies(level_index_), input_unit)
endif
enddo
end subroutine check_namelist_basis