Skip to content

Commit b8e056e

Browse files
authored
Merge pull request #428 from OrderN/f-change-line-length
Maximum line length read from Conquest_input was changed from 132 to 256.
2 parents 3e82eb0 + d7637a0 commit b8e056e

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

src/input_module.f90

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
!! MODIFICATION HISTORY
2020
!! 2008/09/03 10:43 dave
2121
!! Possible bug fix: add datatypes as module wide for typing of fdf_double
22+
!! 2026/02/06 19:30 nakata
23+
!! Changed the maximum length of a line to be read from Conquest_input from 132 to 256
2224
!! SOURCE
2325
!!
2426
module input_module
@@ -33,11 +35,11 @@ module input_module
3335
save
3436
! Input array
3537
integer :: input_lines
36-
character(len=132), dimension(:), allocatable :: input_array
38+
character(len=256), dimension(:), allocatable :: input_array
3739

3840
! Parsing
3941
integer :: current_line, ntokens
40-
character(len=132) :: line
42+
character(len=256) :: line
4143
integer, dimension(100) :: first, last
4244

4345
! Control
@@ -83,6 +85,8 @@ module input_module
8385
!! - Bug fix in closing a file
8486
!! 2015/06/08 lat
8587
!! - Added experimental backtrace
88+
!! 2026/02/06 19:30 nakata
89+
!! - Changed the maximum length of a line to be read from Conquest_input from 132 to 256
8690
!! SOURCE
8791
!!
8892
subroutine load_input
@@ -92,7 +96,7 @@ subroutine load_input
9296
implicit none
9397

9498
type(cq_timer) :: backtrace_timer
95-
character(len=132) :: line
99+
character(len=256) :: line
96100
character(len=10) :: slabel
97101
real(double) :: r
98102
logical :: good_line, done
@@ -164,7 +168,7 @@ subroutine load_input
164168
call io_close(lun)
165169
end if
166170
do i=1,input_lines
167-
call gcopy(input_array(i),132)
171+
call gcopy(input_array(i),256)
168172
end do
169173
current_line = 0
170174
if(inode==ionode) then

0 commit comments

Comments
 (0)