Commit Graph

1888 Commits

Author SHA1 Message Date
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
Martin Diehl b5be4c3fa5 compatible with material.yaml 2021-08-04 17:45:25 +02:00
Martin Diehl bb5db3e79c structured according to family 2021-08-04 16:17:29 +02:00
Martin Diehl 68eb930bf0 Merge remote-tracking branch 'origin/development' into report-systems 2021-08-03 21:57:50 +02:00
Test User d8c03ad0d5 [skip ci] updated version information after successful test of v3.0.0-alpha4-221-g4a8c83611 2021-08-03 18:19:37 +02:00
Vitesh 4a8c836117 Merge branch 'store-sim-setup' into 'development'
store information on slip and twin systems

See merge request damask/DAMASK!422
2021-08-03 13:16:59 +00:00
Martin Diehl e8312a49ed polishing 2021-08-02 10:38:59 +02:00
Martin Diehl 83183408ea can only decode strings, not arrays of strings 2021-07-31 10:20:48 +02:00
Test User 29155e325f [skip ci] updated version information after successful test of v3.0.0-alpha4-205-g5d0c0f428 2021-07-29 12:58:11 +02:00
Martin Diehl 26ae352a4c make setup data easily accessible to the user 2021-07-27 09:38:47 +02:00
Test User 04ab83a11f [skip ci] updated version information after successful test of v3.0.0-alpha4-182-gac6d31b1f 2021-07-26 18:16:19 +02:00
Test User ce4052a49d [skip ci] updated version information after successful test of v3.0.0-alpha4-141-g18dbda784 2021-07-26 13:30:08 +02:00
Martin Diehl 29f3fcb4d8 Merge remote-tracking branch 'origin/development' into restructure-Orientation-2 2021-07-25 21:30:14 +02:00
Martin Diehl dd2d569482 ensure that vectorization works 2021-07-25 21:28:35 +02:00
Martin Diehl e95157f039 unified behavior
extra dimensions (here: slip systems) are added to the left, inline with
.equivalent and .related
2021-07-25 20:32:24 +02:00
Martin Diehl d1c3d767cc documenting 2021-07-25 19:59:26 +02:00
Martin Diehl aa215ff81e generalization, now used for F_i 2021-07-24 19:30:15 +02:00
Test User 6c53615d11 [skip ci] updated version information after successful test of v3.0.0-alpha4-137-gb69b85754 2021-07-23 17:48:05 +02:00
Test User 2fff191421 [skip ci] updated version information after successful test of v3.0.0-alpha4-117-g9f2c37761 2021-07-21 14:56:53 +02:00
Test User 575c84ad86 [skip ci] updated version information after successful test of v3.0.0-alpha4-114-gb98819a36 2021-07-20 20:01:14 +02:00
Test User fe3bc1f8ee [skip ci] updated version information after successful test of v3.0.0-alpha4-112-gb36da7378 2021-07-19 20:13:53 +02:00
Martin Diehl de428efca5 add_pole is working again 2021-07-18 18:58:05 +02:00
Martin Diehl 19ca99e033 matching name 2021-07-18 16:39:52 +02:00
Martin Diehl 86a60283c3 keep data close to where it is used 2021-07-18 16:34:42 +02:00
Martin Diehl 212a4ed63c don't test implementation details 2021-07-18 15:57:51 +02:00
Martin Diehl 2217c3d143 unified help 2021-07-18 15:42:36 +02:00
Martin Diehl e54f032f1e Merge remote-tracking branch 'origin/development' into restructure-Orientation-2 2021-07-18 15:09:40 +02:00
Test User e2b8145dc6 [skip ci] updated version information after successful test of v3.0.0-alpha4-94-g63fee141b 2021-07-16 16:52:41 +02:00
Martin Diehl 63fee141b9 rubbish
neper offers advanced seeding/meshing methods
2021-07-16 10:37:09 +02:00
Martin Diehl f11e7742e5 better document
make damask.mpie.de colorful ;)
2021-07-16 10:30:33 +02:00
Test User 41fd7c9768 [skip ci] updated version information after successful test of v3.0.0-alpha4-89-gcc857c111 2021-07-15 17:08:49 +02:00
Test User 0f6fbe60b0 [skip ci] updated version information after successful test of v3.0.0-alpha4-87-gac4dcd195 2021-07-15 15:16:49 +02:00
Franz Roters ac4dcd1952 Merge branch 'marc2021.2' into 'development'
support for MSC.Marc 2021.1 via patches

See merge request damask/DAMASK!411
2021-07-15 11:43:57 +00:00
Test User 899727138a [skip ci] updated version information after successful test of v3.0.0-alpha4-72-g11fa1160e 2021-07-15 12:19:42 +02:00
Martin Diehl 766db0524f Merge remote-tracking branch 'origin/Marc-start-material-at-0' into marc2021.2 2021-07-14 18:06:57 +02:00
Test User 10b75968f0 [skip ci] updated version information after successful test of v3.0.0-alpha4-65-gae3d844e4 2021-07-14 01:05:25 +02:00
Test User 3f8753ff6a [skip ci] updated version information after successful test of v3.0.0-alpha4-59-g442759a09 2021-07-13 20:12:33 +02:00
Franz Roters 741f81455b use newest Marc release (2021.2) 2021-07-13 16:43:23 +02:00
Martin Diehl 2826e61ea1 no need to split code over two files 2021-07-13 07:09:19 +02:00
Martin Diehl abf7c8e9f1 limit search space to actual RVE
periodic copies of the seeds are sufficient, no need to copy the grid
2021-07-09 12:13:18 +02:00
Martin Diehl 3c22dd81ac correct update frequency 2021-07-09 11:29:52 +02:00
Martin Diehl ec3c4ebfca unified description (consistent with binary packages) 2021-07-05 12:32:49 +02:00
Martin Diehl 92ca010b7c Philip's corrections 2021-07-04 23:25:00 +02:00
Martin Diehl 58ec949941 Merge remote-tracking branch 'origin/development' into polishing-for-beta 2021-07-03 22:20:33 +02:00
Test User 75f76a9221 [skip ci] updated version information after successful test of v3.0.0-alpha4-10-g0ad4fd00b 2021-07-03 21:35:58 +02:00
Martin Diehl 9f7e2bdc0b simplified 2021-07-02 07:48:01 +02:00
Martin Diehl 30fb257c40 help the user 2021-07-02 06:16:12 +02:00
Martin Diehl b2b93f2780 not needed anymore 2021-07-01 19:36:00 +02:00
Test User b46ac273c0 [skip ci] updated version information after successful test of v3.0.0-alpha4-1-gb567194fe 2021-07-01 15:53:44 +02:00
Martin Diehl 3f9d2c6c99 Merge remote-tracking branch 'origin/development' into preparing-alpha4-2 2021-06-30 17:55:51 +02:00
Martin Diehl b9944bfc4e preparing fourth 3.0 series alpha release 2021-06-30 12:44:24 +02:00
Test User 1050428e27 [skip ci] updated version information after successful test of v3.0.0-alpha3-302-gb69bae272 2021-06-29 17:44:24 +02:00
Martin Diehl 9dca7d8055 not needed 2021-06-29 10:44:13 +02:00
Martin Diehl 7745640393 consistently use prefix as modifier 2021-06-28 23:41:50 +02:00
Test User b9f273099d [skip ci] updated version information after successful test of v3.0.0-alpha3-278-g23b9361bf 2021-06-24 08:24:27 +02:00
Martin Diehl 172b4fb5d1 Merge remote-tracking branch 'origin/development' into pyproject.toml
annoying conflicts to to change of type (symlink switch)
2021-06-22 22:48:50 +02:00
Martin Diehl 78b54517db pip has problem with symlinked VERSION
https://github.com/pypa/pip/issues/3500
Not the nicest solution, but works and keeps single source of truth
2021-06-22 11:11:23 +02:00
Martin Diehl 223934a406 https://snarky.ca/what-the-heck-is-pyproject-toml
https://www.python.org/dev/peps/pep-0518
https://www.python.org/dev/peps/pep-0517
2021-06-22 11:10:03 +02:00
Martin Diehl 0a22916aba not a double subscript 2021-06-19 15:13:27 +02:00
Martin Diehl abd660e62d Merge remote-tracking branch 'origin/development' into polishing 2021-06-19 13:28:56 +02:00
Martin Diehl 71634f6ce9 split into two tests, one will fail on Ubuntu 2021-06-19 08:12:49 +02:00
Martin Diehl 56b011aa54 better have tests 2021-06-18 21:11:01 +02:00
Martin Diehl 32b5e4dece update time estimate for long running processes 2021-06-18 18:14:52 +02:00
Philip Eisenlohr 0805445ea8 exchanged x/z dimension in XDMF writing 2021-06-18 10:17:39 -04:00
Martin Diehl db1882e4de polishing 2021-06-17 18:26:37 +02:00
Martin Diehl f19dc27246 transition compatibility 2021-06-16 14:35:54 +02:00
Martin Diehl 9b1f5c7783 testing new functionality for Neper / vti 2021-06-15 23:19:08 +02:00
Martin Diehl 01a32ea236 import from Neper 2021-06-15 22:29:28 +02:00
Martin Diehl 1bfbd30ae2 polishing 2021-06-15 19:53:05 +02:00
Martin Diehl 218e6a79a8 VTK image data is the appropriate type, not VTK rectilinear grid
FFTs require constant spacing in all three directions, this is
guaranteed by the vtkImageData but not by vtkRectilinearGrid
2021-06-15 19:02:26 +02:00
Martin Diehl 5202da13ea better not have a "Lattice" object with "lattice" parameter 2021-06-07 21:49:04 +02:00
Martin Diehl 41e5f0c06c re-introduced multiple inheritance 2021-06-06 22:25:42 +02:00
Martin Diehl 0722f4f754 disable if not possible 2021-06-03 11:22:28 +02:00
Martin Diehl 3c8d06b6f1 encapsulating all lattice(-family) related data 2021-06-03 11:18:00 +02:00
Martin Diehl 4701eea10f decoupling Orientation and Lattice/LatticeFamily 2021-06-03 10:02:49 +02:00
Martin Diehl 03d3f362e6 equality checks
note: doing this type of comparison means:
- LatticeFamily('cubic') == Lattice('cF')
- Lattice('cF') != LatticeFamily('cubic')

we have the same behavior for comparison between Orientation and
Rotation
2021-06-03 09:38:43 +02:00
Martin Diehl 3b150ddbea simplified/separated 2021-06-03 09:22:54 +02:00
Martin Diehl 87e94b6cf4 sorting
most functions require only lattice family, functions that require full
lattice details are at the end
2021-06-03 08:43:56 +02:00
Martin Diehl 302da1f76a separating functionality 2021-06-02 17:11:37 +02:00
Martin Diehl b55d51491d separating functionality 2021-06-02 08:48:45 +02:00
Martin Diehl e281d8384f distinguish 'family' and 'lattice'
this requires the user to specify a keyword ('*' notation in __init__).
Since all 'from_xxx' methods anyway require a keyword, it does not
causes much more work (one explicit keyword in case of cube orientation
when using __init__ directly).
2021-06-01 21:51:28 +02:00
Martin Diehl 684016f3e3 utility function without connection to an object 2021-06-01 21:29:35 +02:00
Martin Diehl 6f9e521cdb Merge branch 'HDFgeometryupdate' into 'development'
HDF geometry update

See merge request damask/DAMASK!395
2021-06-01 08:01:53 +00:00
Martin Diehl bd10ee033e dealing with user errors/incomplete files 2021-06-01 06:51:44 +02:00
Philip Eisenlohr 02256be8dc Merge branch 'rotation-couple-kinematics' into 'development'
avoid static methods

See merge request damask/DAMASK!393
2021-05-31 15:55:36 +00:00
Francisco Jose Gallardo Basile 0ef5825d35 Merge branch 'Results.add_grid_filters' into 'development'
Result.add_xxx for functions on regular grids

See merge request damask/DAMASK!394
2021-05-31 05:46:06 +00:00
Sharan Roongta d1a6607782 Merge branch 'load2Dtensor' into 'development'
support for 2D tensor in load case

See merge request damask/DAMASK!391
2021-05-29 13:21:47 +00:00
Martin Diehl 94b6be4e83 preferred way to say that something needs to be implemented 2021-05-29 10:54:34 +02:00
Martin Diehl f435a1bea4 include in documentation 2021-05-28 21:06:02 +02:00
Martin Diehl 46dc6b4dab functionality to add field data on regular grids
allows to add curl, divergence, and gradient to results from the grid
solver
2021-05-28 15:38:00 +02:00
Martin Diehl e431d89957 polishing 2021-05-28 13:20:56 +02:00
Martin Diehl dd4612dd9b support singular names
e.g. self.iterate('phase')
2021-05-28 08:06:58 +02:00
Martin Diehl 89fc2f05cf no need to attach static data
if needed, a 'kinematics' function that provides slip direction and
plane normal rotated according to the orientation would be helpful
2021-05-27 20:23:22 +02:00
Martin Diehl bfc3fe410f no direct connection to Orientation object 2021-05-27 19:10:23 +02:00
Martin Diehl f7e1aad147 single source of truth 2021-05-27 18:44:20 +02:00
Martin Diehl 545a085c93 no need to hide, just add suffix to avoid clash with string argument 2021-05-27 18:41:42 +02:00
Martin Diehl adb1e51e24 support for 2D tensor in load case
currently optional, but should become mandatory after a transition
period
2021-05-26 08:04:14 +02:00
Martin Diehl 40698740aa fixed symmetry handling
- ort not tested, no examples, no documentation => removed
- aP is the opposite of isotropic => removed

isostropic materials can be easily specified as cI or cF, using C_44 =
1/2 * (C_11 - C_12). Acceptable extra effort for special use case

orthorhombic can be easily implemented if needed, but needs test,
documentation, and examples
2021-05-24 15:45:25 +02:00
Martin Diehl 0b80252d97 Merge remote-tracking branch 'origin/123_bccSlipSystem' into development 2021-05-22 22:40:33 +02:00
Sharan Roongta fa3b077b72 Merge remote-tracking branch 'origin/development' into internal-restructure 2021-05-21 12:32:59 +02:00
f.basile 10c6070873 added {123} slips systems of bcc 2021-05-20 18:45:15 +02:00
Sharan Roongta 125e8fb9e2 Merge remote-tracking branch 'origin/development' into internal-restructure 2021-05-20 10:41:59 +02:00
Sharan Roongta edb7834404 typo 2021-05-20 10:30:00 +02:00
Martin Diehl 2648464525 relax tolerances for quaternion initialization
we read in ASCII/YAML files, 1e-8 must be enough
2021-05-19 09:46:02 +02:00
Martin Diehl 85ecb68b8f Merge remote-tracking branch 'origin/development' into MatrixInteraction_clean 2021-05-11 06:00:16 +02:00
Philip Eisenlohr d6e69d5d4b [skip ci] polishing of doc string 2021-05-10 14:44:58 -04:00
Martin Diehl 053c427509 adjusting to new interaction matrices 2021-05-09 14:50:55 +02:00
Martin Diehl bc8a03b392 Merge branch 'python-polishing' into lattice-into-orientation 2021-05-07 22:04:25 +02:00
Martin Diehl 9c9286a4be no connection to the class 2021-05-07 21:51:11 +02:00
Martin Diehl cb8dbf6eda simplified 2021-05-07 21:33:48 +02:00
Martin Diehl a48fa5d797 better readable and documented 2021-05-07 20:07:59 +02:00
Martin Diehl 8626f6c047 hide imported modules in autocompletion 2021-05-06 15:00:03 +02:00
Martin Diehl b1ad8197f2 object oriented approach
Orientation (of special lattice) should not have generic attributes
Also, import at the beginning of the file
2021-04-29 20:59:54 +02:00
Martin Diehl b061b4911d compatible with older scipy versions 2021-04-29 08:58:32 +02:00
Martin Diehl 3c41cd609f Merge branch 'development' into env-reporting 2021-04-29 08:40:29 +02:00
Martin Diehl 00bc6a9031 4 threads as default. Reasonable for modern computers
hardcoded + and as shell variable
2021-04-28 20:26:25 +02:00
Martin Diehl ff8ce3840b handle infinite loop 2021-04-28 08:03:22 +02:00
Philip Eisenlohr e9cfb2f968 Merge branch 'drop-old-DADF5-support' into 'development'
Improvements to damask.Result

See merge request damask/DAMASK!373
2021-04-27 00:33:41 +00:00
Philip Eisenlohr ba938f1746 need to check for isinstance(int) 2021-04-26 17:56:15 -04:00
Philip Eisenlohr 5567512f73 removed unnecessary f-strings; added any -x to increments view 2021-04-26 14:26:16 -04:00
Philip Eisenlohr b1bbe5528b [skip ci] fixed mistake (R --> Q) in example 2021-04-26 17:09:11 +00:00
Franz Roters 55333f7e3e Merge branch 'no-shell-variables' into 'development'
KISS: no shell variables

See merge request damask/DAMASK!370
2021-04-26 15:48:58 +00:00
Martin Diehl de79d2d897 test handling of Marc results 2021-04-26 00:28:39 +02:00
Martin Diehl 62c987badf add tracer to vtk files 2021-04-25 23:54:33 +02:00
Martin Diehl 68a839ed97 typo + improved help 2021-04-25 22:14:13 +02:00
Martin Diehl d4a46b9be8 Merge remote-tracking branch 'origin/development' into drop-old-DADF5-support 2021-04-25 17:34:14 +02:00
Martin Diehl 0459f17f58 improved usability 2021-04-25 07:58:15 +02:00
Martin Diehl 18aa6f7f12 support for string arrays
allows to add phase label from mapping. Only scalar string arrays are
allowed (no real restriction)
2021-04-24 22:50:59 +02:00
Martin Diehl 6e1fe712c7 Merge branch 'python-documentation' into drop-old-DADF5-support 2021-04-24 19:39:28 +02:00
Philip Eisenlohr 690b478013 [skip ci] language polishing 2021-04-24 13:12:44 -04:00
Martin Diehl 24046ef683 support the user 2021-04-24 18:00:57 +02:00
Martin Diehl 95831e53f6 using improved documentation 2021-04-24 16:23:34 +02:00
Martin Diehl 3977e230b3 documenting and ensuring consistent argument names
'name' for a dataset matches the analogy to a file name
2021-04-24 14:47:45 +02:00
Martin Diehl 4d67c85a33 clarify out-of-place behavior and document return values 2021-04-23 23:32:09 +02:00
Martin Diehl 26f37d822d state return value
not for Rotation as its docstring is extended by Orientation
2021-04-23 19:15:11 +02:00
Martin Diehl 6699f2ee5f don't use shell variables
Marc solver can be controlled in python, installation can be tuned with
CLI arguments
2021-04-22 12:02:53 +02:00
Martin Diehl 3f8bd645d8 handle the case that MSC-related variables are not set 2021-04-22 07:55:41 +02:00