Commit Graph

1905 Commits

Author SHA1 Message Date
Martin Diehl 0f26da0ec1 nicer reporting 2022-01-04 17:25:01 +01:00
Test User e8b69c7871 [skip ci] Merge branch 'master' into development 2022-01-03 15:48:22 +01:00
Test User c51976e2a9 [skip ci] updated version information after successful test of v3.0.0-alpha5-340-g510a26ded 2022-01-03 15:47:34 +01:00
Daniel Otto de Mentock a177e32ff2 Merge branch 'simplified-colormap' into 'development'
simplified

See merge request damask/DAMASK!487
2022-01-03 13:15:00 +00:00
Test User 3dd37cdf22 [skip ci] updated version information after successful test of v3.0.0-alpha5-338-g4a0a1f7ac 2022-01-03 02:19:10 +01:00
Test User e19c17c2bc [skip ci] updated version information after successful test of v3.0.0-alpha5-336-g6871eb302 2021-12-28 14:19:37 +01:00
Franz Roters 6871eb3026 Merge branch 'util-project_homochoric' into 'development'
Lambert azimuthal equal-area (laea) projection

See merge request damask/DAMASK!476
2021-12-28 10:19:18 +00:00
Philip Eisenlohr b2d0fd8ff5 Lambert azimuthal equal-area (laea) projection 2021-12-28 10:19:17 +00:00
Test User 2d347e1be1 [skip ci] updated version information after successful test of v3.0.0-alpha5-333-g01cd92755 2021-12-26 21:05:58 +01:00
Test User 53c81e4af1 [skip ci] Merge branch 'master' into development 2021-12-25 07:15:46 +01:00
Test User 68b34f6022 [skip ci] updated version information after successful test of v3.0.0-alpha5-316-gd8ef23fc9 2021-12-25 07:15:40 +01:00
Philip Eisenlohr 2ea2930638 Merge branch 'keyword-view' into 'development'
using keywords instead of strings to control view

Closes #133

See merge request damask/DAMASK!484
2021-12-24 23:07:10 +00:00
Philip Eisenlohr d8ef23fc91 Merge branch 'vtr-to-vti' into 'development'
don't use deprecated functions

See merge request damask/DAMASK!488
2021-12-24 23:06:04 +00:00
Test User 368f4ac985 [skip ci] updated version information after successful test of v3.0.0-alpha5-313-g8c2266bc5 2021-12-23 22:35:44 +01:00
Test User 6e833d2327 [skip ci] updated version information after successful test of v3.0.0-alpha5-311-g38d497819 2021-12-22 12:56:07 +01:00
Martin Diehl dc5172ce63 don't use deprecated functions 2021-12-22 12:41:16 +01:00
Martin Diehl 508083082d simplified 2021-12-21 23:50:43 +01:00
Test User 3e01f72daa [skip ci] updated version information after successful test of v3.0.0-alpha5-308-gb4f3ac457 2021-12-21 22:19:29 +01:00
Martin Diehl 25ab62402a Merge remote-tracking branch 'origin/development' into keyword-view 2021-12-19 22:58:38 +01:00
Test User f106e1bcb1 [skip ci] Merge branch 'master' into development 2021-12-18 22:45:01 +01:00
Test User 28449393bf [skip ci] updated version information after successful test of v3.0.0-alpha5-297-g5ecfba1e5 2021-12-18 22:44:25 +01:00
Martin Diehl 0468bfd3e1 Use ArrayLike for numpy >= 1.20 2021-12-18 17:21:46 +00:00
Martin Diehl 2fc25c6fa9 correct reporting 2021-12-17 14:31:51 +01:00
Martin Diehl a1e42af860 easier to understand 2021-12-17 10:44:41 +01:00
Martin Diehl c1eabc3384 simplified interface 2021-12-17 10:31:41 +01:00
Martin Diehl 0b6af19e54 use of keywords is more intuitive
code needs cleaning after revoming of 'what' and 'datasets'. For the
moment, keep the old style for compatibility with existing evaluation
scripts
2021-12-17 09:48:33 +01:00
Martin Diehl 501465dfd1 more alpha releases than expected
hopefully, all DAMASK 2 users have been migrated once 3.0 is released
2021-12-17 09:42:10 +01:00
Test User 74b0699156 [skip ci] Merge branch 'master' into development 2021-12-15 12:04:06 +01:00
Test User 67cc36daf3 [skip ci] updated version information after successful test of v3.0.0-alpha5-283-gdacd08f39 2021-12-15 12:04:02 +01:00
Sharan Roongta 6eccc6a4a8 Merge branch 'colormap-at' into 'development'
Colormap fractional interpolation

See merge request damask/DAMASK!477
2021-12-15 10:17:10 +00:00
Test User d30d3b2128 [skip ci] updated version information after successful test of v3.0.0-alpha5-275-g3b9822ad6 2021-12-14 20:21:48 +01:00
Daniel Otto de Mentock 3b9822ad67 Revert "added first typehints for rotation and orientation modules"
This reverts commit 4235c70aea
2021-12-14 16:04:18 +00:00
Daniel Otto de Mentock 4235c70aea added first typehints for rotation and orientation modules 2021-12-14 17:01:40 +01:00
Philip Eisenlohr 2b4487f426 forgot to update test 2021-12-13 19:07:18 -05:00
Philip Eisenlohr 32595299c9 minimal clean API for Colormap.at 2021-12-13 17:44:24 -05:00
Test User a89eff2991 [skip ci] updated version information after successful test of v3.0.0-alpha5-272-g3192a31e1 2021-12-12 02:03:10 +01:00
Test User ad5262a7a8 [skip ci] updated version information after successful test of v3.0.0-alpha5-270-g6e36c4c30 2021-12-11 22:21:22 +01:00
Eureka Pai 2b6283bbe3 flexibility to return with alpha channel and/or as string 2021-12-10 12:53:01 -05:00
Franz Roters 7bb6707b0e [skip ci] Web page was moved 2021-12-10 18:07:04 +01:00
Eureka Pai 947bf946e1 added Colormap.at(fraction) to interpolate 2021-12-10 11:31:26 -05:00
Test User 63c76abed8 [skip ci] updated version information after successful test of v3.0.0-alpha5-263-gfbbe5ec00 2021-12-09 00:09:39 +01:00
Philip Eisenlohr fbbe5ec006 fixed typo 2021-12-08 21:04:22 +00:00
Test User 811879788a [skip ci] updated version information after successful test of v3.0.0-alpha5-261-g722c9828a 2021-12-07 11:37:02 +01:00
Martin Diehl cf9f770866 Merge branch 'typehints_crystal' into 'development'
Typehints for crystal

See merge request damask/DAMASK!464
2021-12-06 23:49:13 +00:00
Daniel Otto de Mentock be95f9a98a Typehints for crystal 2021-12-06 23:49:12 +00:00
Test User 992f848296 [skip ci] Merge branch 'master' into development 2021-12-06 18:34:35 +01:00
Test User 596a8ecd11 [skip ci] updated version information after successful test of v3.0.0-alpha5-251-g65c4417a2 2021-12-06 18:34:14 +01:00
Sheng Zhang a4cd663fc0 Merge branch 'no-2prism-hex' into development 2021-12-06 16:45:01 +01:00
Daniel Otto de Mentock 7c7c3926b7 added array conversion to ambiguous types in grid_filters.coordinates0_point function 2021-12-06 15:48:57 +01:00
Daniel Otto de Mentock 1de12bb402 removed direct attribute assignments for size and origin 2021-12-06 15:48:19 +01:00
Daniel Otto de Mentock 5558c301fa added fist typehints for _grid module 2021-12-06 14:22:52 +01:00
Martin Diehl fe2123bae4 2. order prismatic systems are not needed
not clear for which material they have been introduced, according to
T.R. Bieler and P. Eisenlohr they are typicall not active in any
material of interest
2021-12-06 12:23:24 +01:00
Martin Diehl 7b187eb370 new convention 2021-12-06 07:55:05 +01:00
Test User cef8b06dc0 [skip ci] updated version information after successful test of v3.0.0-alpha5-244-gb57351045 2021-12-04 05:43:51 +01:00
Philip Eisenlohr b57351045b follow new convention for "shape" and "len" in docstrings 2021-12-04 03:39:33 +01:00
Martin Diehl 2a6b37a0e5 eq. according to mypy recommendation
note that raising 'NotImplemented' means that __eq__ of the 'other' is
evaluated
https://stackoverflow.com/questions/54801832
https://newbedev.com/why-does-defining-the-argument-types-for-eq-throw-a-mypy-type-error
2021-12-03 12:35:25 +01:00
Martin Diehl 99166a7ce2 Merge remote-tracking branch 'origin/colormap-docstrings' into development 2021-12-03 12:18:24 +01:00
Test User 389d08bdcc [skip ci] updated version information after successful test of v3.0.0-alpha5-234-g66fddda0b 2021-12-03 10:08:09 +01:00
Test User 55b8ea9db9 [skip ci] updated version information after successful test of v3.0.0-alpha5-230-g7a78a25e5 2021-12-03 07:39:56 +01:00
Martin Diehl 7a78a25e5c Merge branch 'config-init-yaml' into 'development'
extend config init to allow YAML string and key=value pairs

See merge request damask/DAMASK!470
2021-12-03 04:37:23 +00:00
Philip Eisenlohr dc3db90ce0 fixed typo: colormodel --> color model 2021-12-02 18:59:31 -05:00
Philip Eisenlohr d5da47bf71 extend config init to allow YAML string and key=value pairs 2021-12-02 18:20:27 -05:00
Test User 88de2720d2 [skip ci] updated version information after successful test of v3.0.0-alpha5-227-g727dd8936 2021-12-02 16:24:54 +01:00
Franz Roters 727dd8936d use latest Marc version 2021-12-02 08:50:59 +01:00
Martin Diehl 5abfe3c214 Merge remote-tracking branch 'origin/development' into MSC-Version 2021-12-01 15:35:49 +01:00
Martin Diehl 3a51e1119b text files on Unix should end with a new line character 2021-11-30 13:11:40 +01:00
Test User 51b7a00734 [skip ci] updated version information after successful test of v3.0.0-alpha5-210-g7e7098baf 2021-11-29 21:14:49 +01:00
Test User 77bced998f [skip ci] updated version information after successful test of v3.0.0-alpha5-202-g96e4cb591 2021-11-29 10:35:09 +01:00
Test User a0e0f329fd [skip ci] updated version information after successful test of v3.0.0-alpha5-197-g1fc876358 2021-11-28 03:10:26 +01:00
Test User 98b699359f [skip ci] updated version information after successful test of v3.0.0-alpha5-191-gf32a78861 2021-11-27 00:46:28 +01:00
Philip Eisenlohr f32a788614 Merge branch 'dynamic-C' into 'development'
temperature dependend elastic constants.

See merge request damask/DAMASK!465
2021-11-26 21:41:36 +00:00
Philip Eisenlohr 4d63da6aee get_file_handle suffix is optional 2021-11-26 11:34:43 -05:00
Test User d52a14f74f [skip ci] updated version information after successful test of v3.0.0-alpha5-172-g41d78e2c6 2021-11-26 13:28:55 +01:00
Martin Diehl 4ba7c9e670 polishing
casting numpy.bool_ to bool is a little bit annoying. Mabye using Union[bool, np.bool_] is the better
solution, it does not require any changes to the actual code and there is some
hope that it will get fixed in mypy https://github.com/numpy/numpy/issues/18876
2021-11-25 21:29:34 +01:00
Philip Eisenlohr bd908dc425 test __eq__; polish help strings 2021-11-25 13:14:34 -05:00
Franz Roters 9132ce96f1 corrected python error 2021-11-25 17:36:41 +01:00
Franz Roters f435062a1d support for Marc2021.3.1 2021-11-25 17:30:22 +01:00
Martin Diehl fb8c515a98 capitalize constants
not sure whether we should make exceptions for k_B and T_room
2021-11-25 11:52:52 +01:00
Test User 0cf78da46d [skip ci] updated version information after successful test of v3.0.0-alpha5-164-gdc993bc6f 2021-11-25 04:21:18 +01:00
Philip Eisenlohr dc993bc6f9 Merge branch 'typehints_colormap' into 'development'
Typehints colormap

See merge request damask/DAMASK!460
2021-11-24 23:15:30 +00:00
Martin Diehl 3cae915e47 not needed
a = [] is already a list
2021-11-24 21:12:13 +01:00
Martin Diehl adb1d4ccf9 version numbers are no floating point numbers 2021-11-24 17:29:07 +01:00
Martin Diehl 757ba4dba2 in-line with pathlib.Path 2021-11-24 17:28:00 +01:00
Philip Eisenlohr 3bf10127b8 added __eq__ and test 2021-11-23 17:46:38 -05:00
Philip Eisenlohr 3e1a6dcab7 polished help; streamlined from_range() 2021-11-23 17:20:07 -05:00
Test User 2ae8b4a9f5 [skip ci] updated version information after successful test of v3.0.0-alpha5-155-gbf76d9f3a 2021-11-23 21:31:17 +01:00
Martin Diehl c23e9fb126 __eq__ not implemented
probably also not very much used outside tests
2021-11-23 20:34:19 +01:00
Martin Diehl 3393d32d9f more sensible test vor sequence arguments 2021-11-23 19:42:10 +01:00
Martin Diehl 889ab87914 simplified and corrected
- Optional not needed for 'None' argument
- Use TextIO for typehints, TextIOWrapper seems to cause problems
- Test for tuple/list input for public functions
- internal functions that are always called with np.ndarray don't need
  to offer flexibility. They might work, but we don't guarantee
  anything.
2021-11-23 17:59:56 +01:00
Martin Diehl 3410a8d4cb follow order of imports
- python standard library
- third party
- DAMASK internal
2021-11-23 16:34:50 +01:00
Daniel Otto de Mentock 8797282d37 added typehints for colormap module 2021-11-22 17:15:22 +01:00
Test User 1396ec6f56 [skip ci] updated version information after successful test of v3.0.0-alpha5-140-g202af3242 2021-11-18 23:13:16 +01:00
Test User 52d0ba4a74 [skip ci] updated version information after successful test of v3.0.0-alpha5-135-ga3f74994b 2021-11-17 19:56:38 +01:00
Test User b2fd78b639 [skip ci] updated version information after successful test of v3.0.0-alpha5-128-g5a901a42f 2021-11-17 13:45:27 +01:00
Martin Diehl 59b6b4bb2b Merge branch 'clean-CI' into development 2021-11-16 23:38:14 +01:00
Test User b51174214c [skip ci] Merge branch 'master' into development 2021-11-16 19:56:51 +01:00
Test User adeff2c5a4 [skip ci] updated version information after successful test of v3.0.0-alpha5-109-g58410709b 2021-11-16 19:56:11 +01:00
Philip Eisenlohr e23b07be94 Merge branch 'grid-reporting' into 'development'
improved grid reporting

See merge request damask/DAMASK!456
2021-11-16 18:56:08 +00:00
Franz Roters 3c7598c189 Merge branch 'Marc-spelling' into 'development'
following official naming and website

See merge request damask/DAMASK!453
2021-11-16 16:33:05 +00:00
Philip Eisenlohr 66f9c771dd correct unit for size 2021-11-16 10:28:23 -05:00
Martin Diehl e2e80b9706 cleaning tests 2021-11-16 11:24:04 +01:00
Martin Diehl fd0a3f58fa improved grid reporting
- a-b-c vs. x-y-z confusing and not needed
- unit is helpful (got a request on the helpdesk)
2021-11-16 09:17:32 +01:00
Test User 7347e26204 [skip ci] updated version information after successful test of v3.0.0-alpha5-105-g020759996 2021-11-16 06:39:38 +01:00
Philip Eisenlohr 0207599961 Merge branch 'initial-eigenstrain' into 'development'
option to initialize F_i

See merge request damask/DAMASK!455
2021-11-16 03:51:58 +00:00
Test User a87f414146 [skip ci] updated version information after successful test of v3.0.0-alpha5-90-gbb6655045 2021-11-14 20:46:57 +01:00
Martin Diehl ec24af2403 testing new functionality 2021-11-14 11:45:13 +01:00
Martin Diehl d751350bda systematic naming 2021-11-14 06:51:47 +01:00
Martin Diehl cd2ecef92f Merge remote-tracking branch 'origin/development' into Marc-spelling 2021-11-12 09:25:41 +01:00
Martin Diehl aa6efd21cd Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-11-12 08:46:50 +01:00
Test User e8d2281bb5 [skip ci] updated version information after successful test of v3.0.0-alpha5-72-g8138d3a18 2021-11-12 08:43:50 +01:00
Martin Diehl 0514ca7a56 Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-11-08 18:49:41 +01:00
Test User 5142813a98 [skip ci] updated version information after successful test of v3.0.0-alpha5-64-g8e08af31e 2021-11-05 10:23:36 +01:00
Daniel Otto de Mentock 8e08af31e5 Merge branch '125-python-typehints' into 'development'
first few type hints for Python

See merge request damask/DAMASK!450
2021-11-05 07:45:29 +00:00
Test User ba66d7b816 [skip ci] updated version information after successful test of v3.0.0-alpha5-52-g5b0ad1eb8 2021-11-04 21:19:55 +01:00
Martin Diehl f0c587d4aa polishing
oder of imports is build-in, 3rd party, internal
2021-11-03 07:53:38 +01:00
Philip Eisenlohr ccfe276ae1 fixed type hinting for seeds.py and grid_filters.py 2021-11-02 14:28:54 -04:00
Philip Eisenlohr 8636c5dad4 removed grid typehint <-- no clue how to break circular import 2021-11-02 13:41:05 -04:00
Philip Eisenlohr 735952bd32 fixed typo 2021-11-02 13:40:09 -04:00
Philip Eisenlohr 32aff9d966 added typehints to seeds.py 2021-11-02 13:01:32 -04:00
Test User 493a0969eb [skip ci] updated version information after successful test of v3.0.0-alpha5-45-g1a558db83 2021-11-02 16:42:50 +01:00
Martin Diehl f4f0163d5e Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-11-02 13:22:47 +01:00
Martin Diehl 34e04fa45e tests should work after updating test server
typehints for numpy and pyyaml are now available
2021-11-01 10:00:13 +01:00
Martin Diehl 0bc267c76b automated type checking for mechanics 2021-10-31 22:50:41 +01:00
Martin Diehl 509835bf0b type hints for tensor
adjustments to Rotation/Orientation needed to enable type checking with
mypy
2021-10-31 22:37:54 +01:00
Test User 9f152aca0d [skip ci] updated version information after successful test of v3.0.0-alpha5-31-gddb25ad0e 2021-10-30 10:03:53 +02:00
Philip Eisenlohr ddb25ad0e5 remove duplicate lattice_symmetries dictionary 2021-10-29 20:04:09 -04:00
Test User d2a83e5cc1 [skip ci] updated version information after successful test of v3.0.0-alpha5-29-g84df8b71f 2021-10-29 10:52:40 +02:00
Test User fb1d3a62de [skip ci] updated version information after successful test of v3.0.0-alpha5-15-g5995a7877 2021-10-22 13:55:19 +02:00
Test User b7436ec0f2 [skip ci] updated version information after successful test of v3.0.0-alpha5-9-gd1a9b7333 2021-10-19 15:44:17 +02:00
Martin Diehl 712d8d54c3 following official naming and website
The product is MSC Marc, Mentat is just a part of it
2021-10-19 10:08:11 +02:00
Test User dead46ebf6 [skip ci] updated version information after successful test of v3.0.0-alpha5-7-gee537ff5e 2021-10-12 15:23:53 +02:00
Martin Diehl c693006dd8 nicer formatting 2021-10-11 21:57:13 +02:00
Test User d4546fa477 [skip ci] updated version information after successful test of v3.0.0-alpha5-4-g89b0047d9 2021-10-08 17:44:42 +02:00
Martin Diehl b32b01d7af v3.0.0-alpha5 2021-10-07 05:51:58 +02:00
Test User 6a5b3401f8 [skip ci] updated version information after successful test of v3.0.0-alpha4-440-g4f42fa240 2021-10-07 02:13:04 +02:00
Test User 1b0d3a947f [skip ci] updated version information after successful test of v3.0.0-alpha4-432-ga0d516958 2021-10-06 19:41:23 +02:00
Philip Eisenlohr b11a14999b simplified lattice point data; added test 2021-09-30 11:01:42 -04:00
Philip Eisenlohr d293fb8af9 added lattice point property; fixed edge case for angle sum 2021-09-29 12:11:38 -04:00
Test User 0b335ae740 [skip ci] updated version information after successful test of v3.0.0-alpha4-428-g36eb50ff5 2021-09-29 12:29:10 +02:00
Sharan Roongta 36eb50ff52 Merge branch 'rotation-help-polish' into 'development'
slight improvements to help; use a/b instead of a*~b

See merge request damask/DAMASK!439
2021-09-29 08:54:06 +00:00
Test User 707fa6fbc7 [skip ci] updated version information after successful test of v3.0.0-alpha4-425-g52a0c6fb0 2021-09-24 16:10:17 +02:00
Philip Eisenlohr f3bcdca5e8 slight improvements to help; use a/b instead of a*~b 2021-09-24 08:54:31 -04:00
Martin Diehl adecb4c9c2 avoid clash of notation with substitution extension 2021-09-23 21:46:53 +02:00
Test User a51e39a554 [skip ci] updated version information after successful test of v3.0.0-alpha4-422-gc7039e19b 2021-09-14 16:34:16 +02:00
Sharan c7039e19b0 testing new functionality 2021-09-13 15:04:09 +02:00
Martin Diehl f9c7781a35 avoid int16
for any reasoable input, int32 should be sufficient, no need to worry
about int64.
2021-09-12 21:54:04 +02:00
Philip Eisenlohr c93c4e462d [skip ci] changed "Bunge-Euler" to "Bunge Euler" and added note on axis sequence. 2021-09-09 14:05:09 +00:00
Philip Eisenlohr 4b163b9980 [skip ci] remove auto-inserted closing parentheses 2021-09-08 18:45:12 +00:00
Philip Eisenlohr eae4a7f29c [skip ci] stray en-dash 2021-09-08 18:39:06 +00:00
Philip Eisenlohr b337575963 polished langauge of help messages 2021-09-08 13:10:49 -04:00