Commit Graph

92 Commits

Author SHA1 Message Date
Martin Diehl 018709bfcf error stop better suited for internal errors
error stop gives full stack trace, which is very helpful for debugging.
2020-11-11 10:19:47 +01:00
Martin Diehl 03a68248b5 polishing 2020-11-06 13:25:00 +01:00
Martin Diehl e649fb195f update to use variable-length strings 2020-11-05 22:34:41 +01:00
Martin Diehl 2b6001222d black magic
compiles also with Intel (complained about non-existing interface
before).
Direct pointer crashes ..
2020-11-05 17:59:05 +01:00
Martin Diehl b8c97c5b7e change string type
normal fortran strings are fixed-length, spacepad. h5py (at least v3.x)
creates variable-length, nullterm
2020-11-05 15:36:13 +01:00
Martin Diehl e848590c5c Merge remote-tracking branch 'origin/development' into Fortran-simplifications 2020-09-17 19:39:31 +02:00
Martin Diehl 5b83c8ad3c use 'error stop'
- does not require IO
- prints stack trace
2020-09-13 12:09:32 +02:00
Martin Diehl da0e16520c handling of MPI in 'parallelization' 2020-09-13 10:26:33 +02:00
Sharan Roongta 7754a1ea56 Restructuring for material.yaml 2020-08-15 16:08:46 +02:00
Martin Diehl 93adee2581 no need to have fixed string here 2020-08-09 06:27:29 +02:00
Martin Diehl 9565f15415 clearer description 2020-04-28 10:30:03 +02:00
Martin Diehl ae49e6710d documenting for doxygen 2020-03-15 12:54:35 +01:00
Martin Diehl 18ccc49d6f avoid duplicated public/private statements
variables should be private
2020-02-29 15:15:41 +01:00
Martin Diehl 62865e779d polishing 2020-01-26 18:31:56 +01:00
Martin Diehl 41650cdd11 use standard string length 2019-12-21 07:38:17 +01:00
Martin Diehl 4b6388fbb2 always use HDF5 output 2019-12-18 20:05:51 +01:00
Martin Diehl e3b16639bf native integer needs to match
otherwise, results are wrong. Therefore, we need to use our own HDF5
library since MSC provides one for 4 byte integers
2019-10-13 18:20:54 +02:00
Martin Diehl 4dfb1f6450 next try for MARC 2019 2019-09-21 01:07:04 +02:00
Martin Diehl f54a6cdc3b white space adjustments 2019-06-15 16:42:16 +02:00
Martin Diehl 0a5dc6d503 HDF5 is not always available 2019-06-12 19:59:17 +02:00
Martin Diehl b2409d6998 cleaning 2019-06-11 13:34:55 +02:00
Martin Diehl eb8c41b3b5 cleaning 2019-06-06 10:43:08 +02:00
Martin Diehl a5c6e4b17c do not clutter the code with use statements 2019-05-28 12:06:21 +02:00
Martin Diehl 3c8d96c54c enable more complex attributes 2019-04-11 15:44:08 +02:00
Martin Diehl 8e295cbadf no need to create type for native data types 2019-04-11 12:48:39 +02:00
Martin Diehl 0b70f01e04 polishing 2019-04-07 14:28:08 +02:00
Martin Diehl 7d0ebc4ded implicit none only needed once per module 2019-04-07 14:24:46 +02:00
Martin Diehl d6d3f7aad7 write rotation as quaternion to HDF5 in named type 2019-04-07 13:26:23 +02:00
Martin Diehl 280a11c4bc avoid checking of unitialized variables 2019-04-04 11:49:23 +02:00
Martin Diehl 811883df28 avoid error for empty datasets 2019-04-04 10:03:52 +02:00
Martin Diehl 658befa1a1 no pInt and some renames 2019-04-04 09:12:57 +02:00
Martin Diehl 121bafd989 required for HDF5 output 2019-03-09 15:55:25 +00:00
Martin Diehl 48cfc35996 polishing 2019-03-08 23:16:35 +01:00
Martin Diehl de330517eb rank not supported by older compiler/older dialects 2019-03-08 07:42:13 +01:00
Martin Diehl 8224797e75 simplified 2019-03-07 22:31:54 +01:00
Martin Diehl ccb62da24a kind-ID does not need to coincide with the number of bytes 2019-03-06 16:33:39 +01:00
Martin Diehl c4eef520fc initialize all variables 2019-02-09 17:21:11 +01:00
Martin Diehl 8167f09ec6 using functions as far as possible 2019-02-09 12:01:31 +01:00
Martin Diehl 5d9c3fcf27 finalize for write 2019-02-09 09:44:41 +01:00
Martin Diehl 73749dd788 merged also finalization 2019-02-09 09:38:49 +01:00
Martin Diehl d934f2b141 also modularize write 2019-02-09 09:03:31 +01:00
Martin Diehl c668260c37 avoiding code duplication 2019-02-09 08:05:29 +01:00
Martin Diehl 36662f8419 more generic formulation (works for all dimensions) 2019-02-09 07:50:33 +01:00
Martin Diehl 63c417fbe0 failed if dataset does not exists
empty datasets are not written out
2018-12-18 08:44:11 +01:00
Martin Diehl 3f3e23c2c8 polished addAttribute and use it to store meta data 2018-12-17 16:15:16 +01:00
Vitesh Shah 3e38c4ef8c The attribute interface works for single processor output and single valued attribute 2018-12-15 17:21:03 +01:00
Vitesh Shah d2c7b33cf6 New files made nonexecutable 2018-12-14 11:39:08 +01:00
Vitesh Shah 7e41ae264d Made changes with the calling signature 2018-12-14 11:35:41 +01:00
Martin Diehl fd2d4d856b cleaned + suggested structure to write data 2018-12-12 07:45:20 +01:00
Martin Diehl ecb00af147 cleaning and separating functions 2018-12-04 23:09:25 +01:00