Commit Graph

233 Commits

Author SHA1 Message Date
Martin Diehl 1b5623ad6c avoid out of bound access, removed unneeded stuff 2018-08-22 14:22:37 +02:00
Martin Diehl 037ab3d081 getTag works now for tags with the same start and close tag
needed for '/echo/'. Still suggest to rather use /echo\
2018-08-22 13:10:59 +02:00
Martin Diehl 69ad600916 more explicit file opening
still having trouble with Gfortran 7.3 and no numerics.config
2018-08-20 22:36:55 +02:00
Martin Diehl 20d1264d07 small improvements
default case of error handling, checking for recursion limit, some
comments to also understand it later
2018-08-04 13:58:01 +02:00
Martin Diehl 8c07825d7e Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-03 22:21:37 +02:00
Martin Diehl a1ad18c88a 256 characters is enough for material.config
larger values waste memory and decrease readability.
Still need to discuss how geom files are handled, for them longer limits make sense
2018-07-16 12:08:22 +02:00
Martin Diehl 3f7a1d1c07 function to read and store complete text file
reading as stream avoids costly repeated call to 'read'. Requires of course more memory, but that should be fine
also, recursion case ('{}') is internally handled. Old recursive was error prone and buggy when rewining (see 'reset' option)
2018-07-16 11:40:42 +02:00
Martin Diehl a4e4a9c4ab merge does not work for strings of different length
fixed possible out of bounds access
2018-07-10 21:40:01 +02:00
Martin Diehl ac7bc4b9ed dont' store the working directory but set it centrally
makes life easier, writing and reading always to CWD unless absolute path is given
Spectral: using --wd argrument and C code
MSC.Marc: using directory of input deck and Intel extension
Abaqus: using function and Intel extension
2018-07-10 08:24:45 +02:00
Martin Diehl 66a254f8fb polishing 2018-06-26 19:09:46 +02:00
Martin Diehl e0a6b79b14 trying to have descriptive names 2018-06-10 23:38:16 +02:00
Martin Diehl 08a4da01e0 IO_stringPos failed when parsing trimmed string 2018-06-10 11:03:34 +02:00
Martin Diehl bf43156112 search for global tags can stop once first section is found 2018-06-02 06:32:16 +02:00
Yi-Chin Yang 35a4fdc358 "et al." instead of "et. al" abbreviates "et alii", meaning "and others" 2018-04-22 10:07:49 +02:00
Sharan Roongta 488ff6bb2d Rectifying a typo 2018-04-18 15:30:54 +02:00
Sharan Roongta 90a1af5096 Cited HybridIA algorithm 2018-04-18 14:18:48 +02:00
Philip Eisenlohr 0a763ff116 included changes to correct cutback issue of spectral solver 2018-02-16 09:36:18 -05:00
Martin Diehl ba6fd70654 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-02-03 09:02:20 +01:00
Franz Roters d80a255736 new Marc2017 file format finally working! 2018-02-02 15:06:13 +01:00
Martin Diehl d80e15bd76 compiler_options and compiler_version supported by new Intel compiler 2018-02-02 12:36:09 +01:00
Franz Roters 7149f9599f changes towards supporting new Marc2017 input file format
still not working
2018-01-10 17:13:25 +01:00
Martin Diehl e9440ccd6f suppress warning when compiling with gfortran 2017-10-05 16:35:34 +02:00
Franz Roters 4d4a546e2d hot fix for so far non-supported input file format of Marc 2017 2017-10-04 17:18:06 +02:00
Philip Eisenlohr 67ac5c7b84 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2017-09-19 08:13:08 -04:00
Philip Eisenlohr 330906d08f removed unneccesary detail from general error message, now caller gives specifics 2017-09-19 08:11:57 -04:00
Zhuowen Zhao ae868d3ada only one error for math_check; new "math_expand('what' by 'how')" 2017-09-14 15:25:22 -04:00
Martin Diehl 1f1a1826a1 string length was wrong, IO_warning now also with new style 2017-05-15 21:53:25 +02:00
Philip Eisenlohr 131e34ae8d nicer formatting of error reporting 2017-04-30 21:48:06 -04:00
Martin Diehl a5f8c5ba32 Merge branch 'development' into cmake 2017-04-15 16:17:50 +02:00
Martin Diehl d86074829c Merge branch 'development' into cmake 2017-02-03 19:28:23 +01:00
zhangc43 3a561c9a8d remove obsolete j2 module 2016-04-26 14:24:43 -04:00
Chen Zhang 672c8d0606 Merge remote branch 'origin/development' into cmake 2016-04-18 09:11:29 -04:00
Chen Zhang e33594cb44 change code folder to src 2016-03-04 14:43:29 -05:00