libsim Versione 7.2.4
|
◆ optionparser_add_darray()
Add a new option with a double precision type array argument. When parsing will be performed, if the requested option is encountered, its corresponding compulsory argument will be copied into the provided destination. The argument must be provided in the form of comma-separated list of values and is stored in an object of type arrayof_doubleprecision (module array_utilities). An optional default value can be provided for the destination. Please use the generic optionparser_add method rather than this particular method.
Definizione alla linea 1354 del file optionparser_class.F90. 1355
1356DO i = 1, min(destclen, len(src))
1357 destc(i) = src(i:i)
1358ENDDO
1359DO i = len(src)+1, destclen
1360 destc(i) = ' '
1361ENDDO
1362
1363END SUBROUTINE dirty_char_assignment
1364
|