Commit Graph

749 Commits

Author SHA1 Message Date
Martin Diehl 809f5f455b
test new functionality 2023-12-18 23:30:05 +01:00
Martin Diehl 7544e81349
dictionary of visible items should not be exposed to users
getters for individual items are easier to understand
Note: increments_in_range and times_in_range operate now only on the
visible increments
2023-12-17 13:16:48 +01:00
Martin Diehl 8def54c862
fixed getters for visible entities
storing time information as dictionary simplifies many operations
2023-12-17 06:55:14 +01:00
Martin Diehl 38f9c1977c
attributes should depend on view
hidden attributes contain the view-independent variables, getter for
currently visible quantities
2023-12-16 16:06:35 +01:00
Philip Eisenlohr cc0f2d477e Merge branch 'export_DAMASK_to_DREAM3D' into 'development'
Export Dream3D output

See merge request damask/DAMASK!835
2023-12-13 14:55:47 +00:00
Philip Eisenlohr c277dce816 Merge branch '353-testing-euler-angles' into 'development'
correctly handling ambiguity if Phi approx pi

Closes #353

See merge request damask/DAMASK!866
2023-12-10 20:28:51 +00:00
Martin Diehl bfb207d34d
use original DREAM.3D file as reference
current loop runs over all datasets (except those that should be
ignored).
2023-12-10 19:46:09 +01:00
Philip Eisenlohr afa80bab68 use numpy intrinsics 2023-12-09 12:03:24 -05:00
Philip Eisenlohr efc76f1f19 shortened code 2023-12-09 12:03:05 -05:00
Martin Diehl c350009479 lowered tolerance
avoid failing tests
2023-12-07 12:49:59 +01:00
Martin Diehl beb58b76f2 correctly handling ambiguity if Phi approx pi 2023-12-06 22:07:57 +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 8e5f5cc124 simplifying tests 2023-12-05 07:14:14 +01:00
Martin Diehl b5e34e7949 Merge remote-tracking branch 'origin/development' into export_DAMASK_to_DREAM3D 2023-12-04 22:37: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 89ba785938 using correct name (confirmed by user with original request) 2023-11-28 21:08:53 +01:00
Philip Eisenlohr 118247111b slightly shorter code 2023-11-28 12:31:47 -05: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
Vitesh Shah 986d6a5973 compare the bytes types better 2023-11-27 15:34:02 +01:00
Vitesh Shah b1c2e51528 name correction 2023-11-27 11:10:37 +01:00
Vitesh Shah 30b546f2dd message in case of unstructured grids and more constituents 2023-11-24 08:03:16 +01:00
Vitesh Shah 597175d8fd tests for PhaseName and CrystalStructure datasets and their attributes 2023-11-24 07:55:41 +01:00
Vitesh Shah 56a9dd843c polishing 2023-11-10 12:56:18 +01:00
Vitesh Shah 562e2ea932 updated the files 2023-11-10 12:45:02 +01:00
Vitesh Shah df697981ee avoid file duplication 2023-11-10 12:45:02 +01:00
Vitesh Shah a257fe3e1f updated the resource files 2023-11-10 12:45:02 +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 d38ab0e07a signed direction as in KS paper; added Pitsch and Burgers references 2023-11-03 18:51:57 -04:00
Philip Eisenlohr 199b84d096 proper bi-directional orientation relationships 2023-10-23 22:53:27 -04:00
Vitesh f71b1c4dc3 Merge branch 'development' into 'export_DAMASK_to_DREAM3D'
# Conflicts:
#   python/damask/_result.py
2023-10-13 12:21:46 +00:00
Philip Eisenlohr 550c757cdc overall smart blending; more robust disFZ 2023-10-04 09:42:09 -04:00
Vitesh Shah fc44112109 change of variable name after merge 2023-09-29 09:23:58 +02:00
Vitesh Shah 5ba83fd05b Merge branch 'development' into export_DAMASK_to_DREAM3D 2023-09-29 08:00:23 +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 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 36d2ae1c2a avoid repeated opening of files 2023-09-22 15:17:58 +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
Philip Eisenlohr 108ef2a954 reflect updated shape blending 2023-09-19 18:05:12 -04:00
Philip Eisenlohr 0704f1122e result (and object interpretation) "flows" from rotation and data shapes 2023-09-19 17:50:28 -04:00
Philip Eisenlohr b3f98ab877 more flexible shapeblending 2023-09-19 17:43:27 -04:00
Philip Eisenlohr a2b571c1fc corrected sign definition of <111>{110} slip systems
Breaking change: Sign of shear differs
2023-09-15 00:21:04 +02:00
Philip Eisenlohr 0393bdb214 added broadcasting test for composite rotations 2023-08-17 21:21:16 +00:00
Philip Eisenlohr 81d0002a49 corrected remaining instances of phenopowerlaw configuration 2023-08-05 11:50:03 -04:00
Vitesh Shah 2729e3f4a0 complying with yaml standards 2023-07-05 15:21:39 +02:00
Vitesh Shah e4b793cf77 Merge branch 'development' into export_DAMASK_to_DREAM3D 2023-07-05 15:04:08 +02:00
Daniel Otto de Mentock b9062c9425 github actions has issues with interpretation of function calls inside assert statements 2023-06-26 14:00:01 +02:00