Commit Graph

1824 Commits

Author SHA1 Message Date
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
Test User 0c2956e0e1 [skip ci] updated version information after successful test of v3.0.0-alpha4-414-g0851b3101 2021-09-06 10:37:28 +02:00
Test User b152b379c9 [skip ci] updated version information after successful test of v3.0.0-alpha4-412-ge98be8b1d 2021-09-06 08:52:13 +02:00
Martin Diehl e98be8b1de Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into development 2021-09-06 07:17:19 +02:00
Martin Diehl 54a0067c27 exclude all versions of the 3.6 branch 2021-09-06 07:04:56 +02:00
Test User 79e17bce4a [skip ci] updated version information after successful test of v3.0.0-alpha4-409-g235e308c9 2021-09-05 19:18:55 +02:00
Test User 976b55a440 [skip ci] updated version information after successful test of v3.0.0-alpha4-406-gfc7b16655 2021-09-05 12:12:04 +02:00
Martin Diehl fc7b16655d Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into development 2021-09-05 10:34:32 +02:00
Test User 8ee1f8e9fe [skip ci] updated version information after successful test of v3.0.0-alpha4-401-g08dffb97b 2021-09-05 10:22:54 +02:00
Martin Diehl 0fccba88ce we don't know whether python 3.6 still works
it will anyways get security fixes only until end of 2021
2021-09-05 10:15:12 +02:00
Test User 4c50561aa1 [skip ci] updated version information after successful test of v3.0.0-alpha4-396-gd357a6931 2021-09-05 07:44:20 +02:00
Test User 63b9286b80 [skip ci] updated version information after successful test of v3.0.0-alpha4-394-gd1a1353b0 2021-09-02 21:11:04 +02:00
Test User d52a084585 [skip ci] updated version information after successful test of v3.0.0-alpha4-392-gaf1e27379 2021-09-02 19:08:24 +02:00
Philip Eisenlohr af1e27379b Merge branch 'github-actions' into 'development'
Using GitHub actions for additional testing

See merge request damask/DAMASK!435
2021-09-02 15:32:45 +00:00
Test User 694c5e0bcc [skip ci] updated version information after successful test of v3.0.0-alpha4-384-g4380c21d0 2021-09-02 15:52:00 +02:00
Martin Diehl 0653d0c481 shortened thanks to lazy evaluation 2021-09-02 14:35:16 +02:00
Martin Diehl 727cc9da12 ready for production 2021-09-02 08:56:11 +02:00
Martin Diehl 2b9d416734 fixes for old VTK and/or old numpy 2021-09-02 08:45:20 +02:00
Martin Diehl 68ac855f45 common help formulation 2021-09-01 22:33:04 +02:00
Martin Diehl a6842abebf give defaults
ODF etc seem to use degrees as default but mostly we use radians. Should
be discussed
2021-09-01 19:33:46 +02:00
Martin Diehl 1eb96f4934 avoid incompatibilities 2021-09-01 08:31:25 +02:00
Martin Diehl a038c4bbac shorter and 'standard' 2021-08-31 22:51:49 +02:00
Test User 3048a30b71 [skip ci] updated version information after successful test of v3.0.0-alpha4-373-g5764319c3 2021-08-31 19:57:17 +02:00
Philip Eisenlohr 5764319c34 Merge branch 'remove-test-class' into 'development'
Remove test class

See merge request damask/DAMASK!433
2021-08-31 16:22:36 +00:00
Martin Diehl a809650a07 wrapper to subprocess.run 2021-08-31 07:12:53 +02:00
Test User 027b4f5261 [skip ci] updated version information after successful test of v3.0.0-alpha4-366-gaea93e802 2021-08-29 22:19:09 +02:00
Test User 5ceb47f9bc [skip ci] updated version information after successful test of v3.0.0-alpha4-364-g0f6275ecc 2021-08-29 00:16:07 +02:00
Martin Diehl e7530e0897 not needed anymore 2021-08-28 23:05:27 +02:00
Martin Diehl a1bd633a9f no need to reinvent the wheel 2021-08-28 17:49:44 +02:00
Test User b96f1baf4e [skip ci] updated version information after successful test of v3.0.0-alpha4-361-g3f9ee140f 2021-08-27 19:55:22 +02:00
Franz Roters 3f9ee140fd Merge branch 'misc-improvements' into 'development'
a number of small changes

See merge request damask/DAMASK!428
2021-08-27 16:22:53 +00:00
Test User 3ba2ee6b41 [skip ci] updated version information after successful test of v3.0.0-alpha4-331-g69bafea02 2021-08-26 10:32:13 +02:00
Franz Roters 69bafea023 Merge remote-tracking branch 'origin/marc-solver-polish' into development 2021-08-26 08:59:02 +02:00
Philip Eisenlohr ad707f543b [skip ci] added quotes around second list value ("l") 2021-08-25 14:57:38 +00:00
Franz Roters 3be2fd81e9 added help on optimization levels 2021-08-25 16:10:39 +02:00
Philip Eisenlohr f61296f5c5 added help to submit_job 2021-08-25 08:56:28 -04:00
Test User e0c44d43b9 [skip ci] updated version information after successful test of v3.0.0-alpha4-326-g40a1d8fd0 2021-08-25 11:26:56 +02:00
Philip Eisenlohr 4055bf9199 shortened string and path assembly 2021-08-24 15:14:39 -04:00
Martin Diehl 546dcd1d7f name as on pypi 2021-08-24 16:10:17 +02:00
Martin Diehl 129ff28692 Merge remote-tracking branch 'origin/master' into misc-improvements 2021-08-24 16:04:32 +02:00
Test User 03622c5d9d [skip ci] updated version information after successful test of v3.0.0-alpha4-323-gcf8e9c262 2021-08-20 19:33:05 +02:00
Test User d11c5ad9ad [skip ci] updated version information after successful test of v3.0.0-alpha4-320-g13159caf4 2021-08-19 06:10:48 +02:00
Test User f53747f8df [skip ci] updated version information after successful test of v3.0.0-alpha4-315-gc4cdb046b 2021-08-19 06:10:08 +02:00
Test User e0851abafe [skip ci] updated version information after successful test of v3.0.0-alpha4-308-gb79fc5c09 2021-08-19 06:10:08 +02:00
Philip Eisenlohr 56c62f257a more robust RuntimeError test; corrected name of double-defined test 2021-08-19 06:10:08 +02:00
Philip Eisenlohr 5dbb60d338 add_pole now has option "with_symmetry" 2021-08-19 06:10:08 +02:00
Philip Eisenlohr 728e50f79e capture special case early instead of failing 2021-08-19 06:10:08 +02:00
Philip Eisenlohr b754617c76 to_pole now blends; corrected help texts 2021-08-19 06:10:08 +02:00
Philip Eisenlohr af6a99921f removed incorrect parts of help 2021-08-19 06:10:08 +02:00
Martin Diehl ab5f0d1bcd no need for type conversion 2021-08-18 22:20:30 +02:00
Test User 7d506b5d99 [skip ci] updated version information after successful test of v3.0.0-alpha4-320-g13159caf4 2021-08-18 15:59:45 +02:00
Martin Diehl f3d8d78879 does not work on MacOS 2021-08-18 11:22:16 +02:00
Martin Diehl 041d3ffdd7 test more 2021-08-18 11:17:13 +02:00
Test User 64ba6da5fa [skip ci] updated version information after successful test of v3.0.0-alpha4-315-gc4cdb046b 2021-08-18 11:02:01 +02:00
Martin Diehl 5a2cd83186 recalculated with new DADF5 version 2021-08-18 10:52:47 +02:00
Martin Diehl c5f284cd8d increased test coverage 2021-08-18 10:44:04 +02:00
Martin Diehl 4a5e5d8451 avoid DAMASK_grid version dependency 2021-08-18 10:24:24 +02:00
Martin Diehl 81bac268f7 increasing test coverage 2021-08-18 09:36:28 +02:00
Martin Diehl ef4e4ec772 needs to be a 2D array 2021-08-18 09:17:06 +02:00
Martin Diehl f76d64d355 already handled in NiceDumper class 2021-08-18 08:50:28 +02:00
Philip Eisenlohr c4cdb046b8 Merge branch 'development' into harmonize-orientation 2021-08-16 17:48:07 -04:00
Martin Diehl b13e7e174b avoid invalid DADF5 2021-08-16 21:31:17 +02:00
Philip Eisenlohr 5ea5416f37 more robust RuntimeError test; corrected name of double-defined test 2021-08-16 13:40:10 -04:00
Philip Eisenlohr 9b695fd3fe add_pole now has option "with_symmetry" 2021-08-16 13:31:33 -04:00
Philip Eisenlohr d2bd6e16ca capture special case early instead of failing 2021-08-16 13:24:34 -04:00
Test User 5b63dc1e5e [skip ci] updated version information after successful test of v3.0.0-alpha4-308-gb79fc5c09 2021-08-16 19:23:46 +02:00
Philip Eisenlohr 8759d82e87 to_pole now blends; corrected help texts 2021-08-16 13:23:31 -04:00
Philip Eisenlohr 077da6ca2a removed incorrect parts of help 2021-08-16 13:19:10 -04:00
Martin Diehl 30d9f57db0 also compress string datasets
results in different type (numpy string instead of numpy object), tests need to be adjusted
2021-08-14 16:28:51 +02:00
Martin Diehl 595cc4e59e always chunk data
for small datasets:
- only one chunk
- no compression
2021-08-14 15:48:07 +02:00
Test User 1d402a3d0c [skip ci] updated version information after successful test of v3.0.0-alpha4-298-g01d545861 2021-08-11 16:04:17 +02:00
Test User 0651e242cf [skip ci] updated version information after successful test of v3.0.0-alpha4-295-g4a0a7f3c0 2021-08-10 12:21:07 +02:00
Vitesh Shah b29b0ecd71 Merge branch 'development' into report-systems 2021-08-10 09:16:13 +02:00
Test User 7f67ca243c [skip ci] updated version information after successful test of v3.0.0-alpha4-276-gf75235f6a 2021-08-10 00:59:25 +02:00
Test User f1aa4e9d2c [skip ci] updated version information after successful test of v3.0.0-alpha4-268-g37ffd91f7 2021-08-09 16:27:11 +02:00
Philip Eisenlohr 5292f9b414 added crystal repr(); fixed typos; extended help 2021-08-08 17:56:54 -04:00
Martin Diehl b1dab5f398 tests working now 2021-08-08 10:44:38 +02:00
Martin Diehl 4e0b3abeec Merge branch 'orientation-polish' into restructure-Orientation-2 2021-08-08 10:19:53 +02:00
Martin Diehl 4e6663d258 Merge remote-tracking branch 'origin/development' into restructure-Orientation-2 2021-08-08 10:18:34 +02:00
Test User be8e0dc86a [skip ci] updated version information after successful test of v3.0.0-alpha4-235-g2635bb012 2021-08-05 23:39:34 +02:00
Martin Diehl 00a053c4c8 Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-08-05 16:25:27 +02:00
Martin Diehl 5503592790 needs to be in constituents 2021-08-05 16:24:59 +02:00