Commit Graph

2392 Commits

Author SHA1 Message Date
Martin Diehl f3e7f51bb4 centralized functionality for handling of colors 2023-12-09 16:56:09 +01:00
Martin Diehl 5d07851d60 use stdout but do nothing if redirected 2023-12-09 14:43:29 +01:00
Daniel Otto de Mentock 34efdc56ec Merge branch 'SPPARKS-real-data' into 'development'
enforce little endian

See merge request damask/DAMASK!864
2023-12-06 08:38:32 +00:00
Martin Diehl 7bfb081106 more systematic naming
YAML is the base class for ConfigMaterial and LoadcaseGrid
2023-12-05 10:34:05 +01:00
Martin Diehl 4d436f7ed9 realistic SPPARKS file
should not matter because reading is delegated to VTK, but better safe
than sorry
2023-11-30 07:05:09 +01:00
Martin Diehl 5ffe9ce943 enforce little endian
default on common systems, but the only format the Fortran parser
understands
2023-11-30 07:04:33 +01:00
Martin Diehl 89ba785938 using correct name (confirmed by user with original request) 2023-11-28 21:08:53 +01:00
Martin Diehl 38c7e6a8e4 consistent code 2023-11-28 20:57:24 +01:00
Philip Eisenlohr 118247111b slightly shorter code 2023-11-28 12:31:47 -05:00
Philip Eisenlohr 7e56abf41c language polish 2023-11-28 17:21:06 +00:00
Martin Diehl 59765ab0df typo: do not overwrite 'label' 2023-11-28 14:40:14 +01:00
Martin Diehl 9aa68e83a2 new delete function for VTK
follows 'damask.Table' and makes GeomGrid.load_SPPARKS easier
2023-11-28 11:51:14 +01:00
Martin Diehl 9710ec11f0 load data from SPPARKS
https://spparks.github.io/
2023-11-28 10:29:45 +01:00
Martin Diehl 4c5f980d00 more systematic name 2023-11-27 23:14:23 +01:00
Martin Diehl c0a97a93fe do not overwrite input, use specialized function 2023-11-20 12:27:23 +01:00
Martin Diehl 39dacbc972 easier to understand 2023-11-20 11:49:59 +01:00
Philip Eisenlohr d8baf3c754 reset field to average of bounds avoiding casting masked NaNs 2023-11-18 20:06:15 -05:00
Martin Diehl b332fd2b30 restored type hints
for some strange reason, ignore is needed for damask.Crystal.__eq__
2023-11-07 11:32:40 +01:00
Martin Diehl 1855bafd6a additional, self-explanatory tests 2023-11-07 01:09:25 +01:00
Martin Diehl f687e0a433 helpful error message 2023-11-06 23:42:11 +01:00
Philip Eisenlohr 50d47908fb clearer help 2023-11-06 10:00:07 -05:00
Philip Eisenlohr d38ab0e07a signed direction as in KS paper; added Pitsch and Burgers references 2023-11-03 18:51:57 -04:00
Philip Eisenlohr 934835f93c proper return value when lacking lattice information 2023-10-24 15:00:19 -04:00
Philip Eisenlohr 926d86935f added typehinting 2023-10-24 14:39:17 -04:00
Philip Eisenlohr 199b84d096 proper bi-directional orientation relationships 2023-10-23 22:53:27 -04:00
Martin Diehl 7d36923178 Merge branch 'new-Marc-versions' into 'development'
New marc versions

See merge request damask/DAMASK!838
2023-10-20 23:26:18 +00:00
Franz Roters 755fa7e5d8 make Marc 2023.3 the default version and use it for testing 2023-10-18 16:21:29 +02:00
Franz Roters ab41273df7 make Marc 2023.2 and use it for testing with new reference results 2023-10-18 13:56:27 +02:00
Martin Diehl 467638e952 do not include origin into calculation 2023-10-16 15:33:57 +02:00
Martin Diehl 5fc3b23cc4 Merge branch 'smart-blend' into 'development'
robust Rotation/Orientation blending

See merge request damask/DAMASK!831
2023-10-06 22:14:31 +00:00
Philip Eisenlohr 51a35dd17c correct in_disorientation_FZ 2023-10-06 09:41:36 -04:00
Daniel Otto de Mentock 4f2c726b95 Merge branch 'result-typehints' into 'development'
more specific typehints

See merge request damask/DAMASK!825
2023-10-06 08:43:37 +00:00
Philip Eisenlohr 634f9fd1f5 extended slicing types, but have to ignore..! 2023-10-04 10:38:03 -04:00
Philip Eisenlohr afe2094c65 remove debug print 2023-10-04 10:29:55 -04:00
Philip Eisenlohr 550c757cdc overall smart blending; more robust disFZ 2023-10-04 09:42:09 -04:00
Philip Eisenlohr 983a376f45 bugfix; serial string use 2023-10-04 09:10:11 -04:00
Martin Diehl a0dc25c16e more specific typehints 2023-10-03 23:02:12 +02:00
Daniel Otto de Mentock c3d3ea6588 Merge branch '272-parallel-post-processing' into 'development'
no multiprocessing for adding datasets

Closes #272

See merge request damask/DAMASK!820
2023-09-25 15:31:43 +00:00
Martin Diehl 28cb72ced0 simplified 2023-09-25 13:58:17 +02:00
Martin Diehl 5b6aeaf4b3 Merge branch 'shaped-rotation-application' into 'development'
Shaped rotation application

See merge request damask/DAMASK!819
2023-09-24 18:49:41 +00:00
Martin Diehl 8b421ba7a7 simplified 2023-09-23 06:20:25 +02:00
Martin Diehl 4a943ff844 ensure closed file 2023-09-22 15:18:29 +02:00
Martin Diehl 36d2ae1c2a avoid repeated opening of files 2023-09-22 15:17:58 +02:00
Martin Diehl d832d4cf17 improved documentation 2023-09-22 15:17:28 +02:00
Martin Diehl ee4cfe4b24 new name
'prod' was introduced in numpy 1.7, 'product' will be removed in 2.0
2023-09-22 11:46:39 +02:00
Martin Diehl 36c13d2e58 no need to have this as class method
definition as class method was needed to be visible in multiprocessing
2023-09-22 10:58:25 +02:00
Martin Diehl b0bb904c89 no multiprocessing for adding datasets
multiprocessing was not reliable on different platform and caused all
kinds of weird behavior
2023-09-22 08:36:34 +02:00
Philip Eisenlohr 23c6270d4a added examples 2023-09-21 17:27:38 -04:00
Philip Eisenlohr 108ef2a954 reflect updated shape blending 2023-09-19 18:05:12 -04:00
Philip Eisenlohr 4c4c1fbcc8 small polish 2023-09-19 18:03:55 -04:00