Commit Graph

104 Commits

Author SHA1 Message Date
Martin Diehl 883aed9092 naming scheme as in Python library 2024-03-02 13:31:24 +05:30
Martin Diehl 30ca657706 more appropriate name (conceptually not coupled to YAML) 2024-03-02 13:31:24 +05:30
Martin Diehl 0e7c9f101c avoid file name clashes 2023-07-11 20:45:20 +02:00
Martin Diehl 4a1c6e7b4f unified code 2023-07-10 20:34:06 +02:00
Martin Diehl 3af61233c9 option to specify numerics configuration file and jobname
default jobname now includes all CLI arguments (for mesh/grid only)
2023-07-10 20:24:03 +02:00
Martin Diehl efc9391ca7 simplified 2023-06-23 00:06:44 +02:00
Sharan Roongta d00bf2d3d5 causes problem for MARC
to be removed later
2023-06-09 14:10:31 +02:00
Sharan Roongta 582f72377a Merge remote-tracking branch 'origin/development' into CLI-material 2023-06-07 12:53:20 +02:00
Sharan Roongta 2d0c7b2335 reading material.yaml from command line 2023-06-06 10:53:53 +02:00
Martin Diehl ca1c22874b consistent and short 2023-06-04 13:51:05 +02:00
Philip Eisenlohr a40524da02 rename to wrapLines; additional formatting options; whitespace trimming 2023-02-28 14:59:30 -05:00
Martin Diehl 95a953d25b more reasonable name 2023-02-28 07:58:10 +01:00
Martin Diehl f4f2176561 Deallocate numerics configuration 2023-02-27 11:34:03 +00:00
Philip Eisenlohr dde60ec53f Consistent use of () in subroutine calling 2023-02-21 15:18:17 +00:00
Martin Diehl e5b7ad335f debug.yaml causes more work than it saves 2023-02-13 22:26:58 +01:00
Philip Eisenlohr b4a500a194 Resolve "naming for classes" 2023-01-19 16:37:45 +00:00
Martin Diehl df5487e1a9 Re-written YAML types
Strict typing for YAML

New access pattern requires to specify the expected type, i.e. 'scalar', 'list', or 'dict'. This ensures that the node offers the expected functionality instead of polluting 'tNode' with dummy functions which throw error messages if not overwritten.

The restructuring of the code allows to hierarchically construct methods without much code duplication.

Some aspects of the error messaging system have been improved.
2022-10-25 16:09:36 +00:00
Martin Diehl b8c3d75700 [skip sc] enforce interfaces (quick fix: declare as external) 2022-06-21 22:59:01 +02:00
Philip Eisenlohr dece12a1a6 remove unused CLI module inclusion 2022-04-26 12:19:13 -04:00
Martin Diehl 91b71fdff8 systematic naming scheme 2022-04-24 04:45:41 +02:00
Philip Eisenlohr da9fdf53d2 consistent indentation and line-spacings in reporting 2021-11-15 12:35:44 -05:00
Martin Diehl 1963343cd8 avoid issues with empty files
optional files (numerics.yaml, debug.yaml) can be empty
2021-08-14 20:01:25 +02:00
Martin Diehl e8312a49ed polishing 2021-08-02 10:38:59 +02:00
Martin Diehl 044a048944 taking care of corner cases (e.g. restart)
adjusting tests to take care of new 'setup' group
2021-08-01 22:46:11 +02:00
Martin Diehl b9d4eb23cc only rank 0 reads file for MPI 2021-07-27 08:54:17 +02:00
Martin Diehl 812b0f07f5 read file only once (per process) 2021-07-27 08:35:52 +02:00
Martin Diehl 3b06498c2f make results self-contained for reproducibility
ToDo: same functionality for load and geom
2021-07-27 07:40:55 +02:00
Martin Diehl 72ab936ec3 cleaning 2021-05-23 00:12:55 +02:00
Martin Diehl 2b0b1aeffe jobname.yaml not supported anymore 2021-02-13 06:31:06 +01:00
Martin Diehl 41fbc58c1b standard conforming name 2020-09-22 13:09:12 +02:00
Martin Diehl 63f9078f04 don' hardcode output unit
replaced remaining write(6,..), flush(6) with write(OUTPUT_UNIT,...),
flush(OUTPUT_UNIT)
2020-09-22 12:15:36 +02:00
Martin Diehl 5b104417a9 polishing 2020-09-15 19:36:21 +02:00
Martin Diehl b497ec4371 use print instead of write
https://www.scivision.dev/print-vs-write-fortran/
2020-09-13 13:01:38 +02:00
Martin Diehl 22544d6978 systematic naming 2020-09-13 12:43:49 +02:00
Martin Diehl b499578a95 prefix should be name of the module
poor substitute for namespace
2020-09-13 10:39:17 +02:00
Martin Diehl da0e16520c handling of MPI in 'parallelization' 2020-09-13 10:26:33 +02:00
Martin Diehl 126ef8be9f separating functionality
- config: reads config files
- parallelization: determines parallelization environment
2020-09-12 16:25:58 +02:00
Martin Diehl 3f9e9a120a simplified 2020-09-12 15:56:59 +02:00
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