Closed gforney closed 9 years ago
I'll see what can be done. At the moment, we have hardwired CHARACTER(30) statements
throughout the code. I will see if I can make this a parameter, and then change.
Original issue reported on code.google.com by mcgratta
on 2014-03-26 20:11:57
I increased the limit to 60, using a globally defined LABEL_LENGTH that is defined in
prec.f90
Original issue reported on code.google.com by mcgratta
on 2014-03-26 20:38:20
If there is a need for longer labels, is this a parameter that we can modify through
a MISC parameter?
Original issue reported on code.google.com by klein@thunderheadeng.com
on 2014-03-26 20:58:59
This is Fortran. I don't know of a clever way to dynamically allocate these label strings.
I added a PARAMETER to prec.f90, the first file that is compiled. So now I can change
the length of the strings with a single line of code. But I don't know how we could
dynamically allocate each label individually.
Original issue reported on code.google.com by mcgratta
on 2014-03-26 21:02:40
Sounds good. My longest ID string so far was 56 characters. Close to the limit but
it would work. We will look at our ID generation code and see where we can also trim
down the length of the strings we create.
Jason F. also mentioned that there should be a note in the manual about the string
length limit.
Original issue reported on code.google.com by klein@thunderheadeng.com
on 2014-03-26 21:07:10
OK, the new string limit seems to be working. It passed all tests in firebot last night.
I don't want to make this limit larger because FDS does have to set aside space for
all these long arrays. Not a big deal compared to the big arrays, but still it seems
like 60 is a reasonable limit.
I added the limit to the User Guide where the input file formatting is discussed.
Original issue reported on code.google.com by mcgratta
on 2014-03-27 13:38:59
Original issue reported on code.google.com by
klein@thunderheadeng.com
on 2014-03-26 19:32:51