Commit Graph

66 Commits

Author SHA1 Message Date
Sharan Roongta 7754a1ea56 Restructuring for material.yaml 2020-08-15 16:08:46 +02:00
Sharan Roongta 57e4d01a6b Merge branch 'development' into YAML-compatible-debug 2020-07-01 13:40:56 +02:00
Martin Diehl 640bc7b190 [skip ci] polishing 2020-06-29 15:09:13 +02:00
Sharan Roongta 0cf06a77d4 bugfix 2020-06-18 18:14:53 +02:00
Sharan Roongta 4e60d8e133 begin cleaning of debug 2020-06-18 16:05:54 +02:00
Sharan Roongta 19c44d5e97 Read numerics.yaml once 2020-06-16 18:47:19 +02:00
Martin Diehl ae49e6710d documenting for doxygen 2020-03-15 12:54:35 +01:00
Martin Diehl 9c138c87f0 not needed 2020-01-29 14:57:12 +01:00
Martin Diehl f546ffb3be polishing 2020-01-26 21:22:55 +01:00
Martin Diehl 830b05005f read file only once 2020-01-26 19:56:30 +01:00
Martin Diehl 137b235bc1 i0 format specifier easier then hand-written IO_intOut
using variable pStringLen allows string assignment without length issues
2019-12-07 11:06:39 +01:00
Martin Diehl 97474e05a8 not needed anymore 2019-11-24 11:01:04 +01:00
Martin Diehl 34e0dd1c64 polishing 2019-09-19 11:00:41 -07:00
Martin Diehl fa6e88970c avoid empty entries 2019-07-15 13:53:34 -07:00
Martin Diehl 856ef15184 moved (back) to a better place 2019-06-15 15:37:13 +02:00
Martin Diehl 57a0d33293 consistent names 2019-06-15 14:33:20 +02:00
Martin Diehl 0db4264265 cleaning 2019-05-28 09:28:15 +02:00
Martin Diehl 01e3b646c2 don't clutter the code with useless stuff
we only need to be more strict about prefixing
functions/subroutines/variables to see in which module they reside
2019-05-16 22:56:48 +02:00
Martin Diehl 346c7c4a7f one implicit none is enough 2019-05-14 23:12:32 +02:00
Martin Diehl 0b2c6c69c2 number ID as prefix to section names
enables unique and consistent section names for output
2019-04-07 13:20:44 +02:00
Martin Diehl 8aee3d7f54 use list from separate module 2019-03-29 08:34:44 +01:00
Martin Diehl 593fa24bad remove global variables 2019-03-23 06:53:29 +01:00
Martin Diehl cba02d91b9 no need to import pInt 2019-03-13 07:00:20 +01:00
Martin Diehl 7cb2203a38 pInt not needed anymore 2019-03-12 22:29:03 +01:00
Martin Diehl 40fda62efc parsing material.config and debug.config 2019-03-12 22:27:45 +01:00
Martin Diehl 62694eddf8 clearer structure 2019-03-12 21:48:33 +01:00
Martin Diehl 0d08659b2a general cleaning 2019-03-09 11:11:40 +01:00
Martin Diehl 67dcb6d2d6 not needed 2019-03-08 19:07:19 +01:00
Martin Diehl de6fd605ee is not used anywhere else 2019-03-07 22:47:45 +01:00
Martin Diehl e9c1299a30 requiredShape makes no sense
the return value is always a 1D array, only its size might change
2019-01-26 09:02:44 +01:00
Martin Diehl 1192f16582 Merge remote-tracking branch 'origin/development' into 56-parallel-hdf5 2019-01-06 20:56:36 +01:00
Martin Diehl 19df6f8a71 general polishing 2019-01-05 23:55:10 +01:00
Martin Diehl 8832c04dd0 more sanity checks
number of arguments for values per system needs to match the number of
systems that are defined
2018-12-21 11:52:23 +01:00
Philip Eisenlohr a1ff380ef4 slightly better aligned debug output 2018-12-20 17:14:55 -05:00
Martin Diehl b2062f2a12 label were stored including [] and comments 2018-12-17 16:11:01 +01:00
Martin Diehl 72304638f9 PGI fails if optional argument is not present 2018-12-06 00:43:32 +01:00
Martin Diehl 29e55d20fb message better to understand and giving error instead of SIGSEGV 2018-08-30 09:42:45 +02:00
Martin Diehl 680c9e11d4 segmentation fault in cause of empty list 2018-08-29 08:26:28 +02:00
Martin Diehl 7ecb7689f1 Intel compiler failed with SIGSEV
derived types, pointers, finalize .... altogether seems to bring both Compilers to their limits.
I cannot see what was wrong before, but now it works and might be a little faster
2018-08-23 00:13:57 +02:00
Martin Diehl 8c5f3d4e07 only needed once 2018-08-22 22:52:12 +02:00
Martin Diehl ab45818d51 seems to work now
anyway, nicer code
2018-08-22 14:30:51 +02:00
Martin Diehl 52088691d1 improved linked list and fixed solution for strange bug
Bug: Using automated LHS re-allocation for a string array that with global scope seems to cause trouble
     Hence, "parse_file" works with a local string and assings only once to it

Linked_List: Now storing data in the list head also and last element is always empty.
             Finalize allows simple handling of deallocation
2018-08-22 11:51:23 +02:00
Martin Diehl 8de321382f using final seems to be the better approach
http://www.training.prace-ri.eu/uploads/tx_pracetmo/AdvFTN_handout.pdf
still needs in-depth analysis, even though I cannot reproduce 'terminally ill'
2018-08-21 08:14:59 +02:00
Martin Diehl d146417abe hot fix for terminally ill with gfortran 7.3
might be a bug in the compiler or in the linked list.
waste some memory at the moment...
check linked list carefully before enabling again and blaming gfortran
2018-08-21 07:41:10 +02:00
Martin Diehl 9360c171a1 polished for merge
access to array(n+m:) is safe for array of size n with m>1
2018-08-04 19:39:50 +02:00
Martin Diehl 38183fdbf6 Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-03 08:57:44 +02:00
Pratheek Shanthraj bc3f6ae97c missing bits in getStrings function 2018-07-31 23:15:44 +02:00
Martin Diehl fb1265db3d checking for existing file 2018-07-16 20:08:31 +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 b26c4a39ef store raw material.config 2018-07-16 11:42:58 +02:00