empty string list as default value simplifies logic

This commit is contained in:
Martin Diehl 2018-06-21 22:38:06 +02:00
parent adefbd95e6
commit f61f22924a
1 changed files with 1 additions and 3 deletions

View File

@ -268,8 +268,7 @@ subroutine crystallite_init
do c = 1_pInt, material_Ncrystallite
if (crystalliteConfig(c)%keyExists('(output)') )then
str = crystalliteConfig(c)%getStrings('(output)')
str = crystalliteConfig(c)%getStrings('(output)',defaultVal=[character(len=65536)::])
do o = 1_pInt, size(str)
crystallite_output(o,c) = str(o)
outputName: select case(str(o))
@ -321,7 +320,6 @@ subroutine crystallite_init
call IO_error(105_pInt,ext_msg=tag//' (Crystallite)')
end select outputName
enddo
endif
enddo