Commit Graph

2272 Commits

Author SHA1 Message Date
Sharan Roongta 214ee7b2f8 Merge branch 'material_add-no-kwargs' into 'development'
kwargs flexibility not needed

See merge request damask/DAMASK!694
2023-01-09 11:27:14 +00:00
Martin Diehl 93e05aed29 should always point to the most recent version 2023-01-08 20:46:07 +01:00
Martin Diehl cdaddf8e6f kwargs flexibility not needed
the number of supported entries is rather limited, so guide the user
using explicit arguments
2023-01-07 14:32:05 +01:00
Martin Diehl e658f3126b guide choice of strain measure that makes sense 2022-12-29 20:29:13 +01:00
Philip Eisenlohr 5d2d611898 Merge branch '238-tail_repack-behavior-and-use' into 'development'
simplifications of Python code

Closes #238

See merge request damask/DAMASK!684
2022-12-13 18:32:19 +00:00
Martin Diehl dcdc4acbd5 Unified object.comments as list[str]; simplifications of Python code 2022-12-13 18:32:19 +00:00
Martin Diehl 0e48f04d0f consistent naming 2022-12-11 16:09:54 +01:00
Daniel Otto de Mentock e03ad0db11 Improving grid.vicinity_offset performance optionally with numba 2022-12-10 07:22:22 +00:00
Daniel Otto de Mentock 8c6593985c Merge branch 'yaml-emit-numpy-scalar' into 'development'
single elements of numpy arrays are not of native type

See merge request damask/DAMASK!681
2022-12-08 12:03:54 +00:00
Daniel Otto de Mentock ba2062e4ed CSafeDumper is significantly faster and can be subclassed for custom extensions. 2022-12-06 20:17:23 +00:00
Sharan Roongta 4717536f1a Merge branch '241-same-quaternion-but-different-ipfs-calculated-by-damask-and-orix-python-package' into 'development'
lower exponent gives smoother gradients

Closes #241

See merge request damask/DAMASK!675
2022-12-06 14:15:35 +00:00
Philip Eisenlohr 7b8fce8db0 help polish 2022-12-05 18:29:03 -05:00
Martin Diehl ce2e0a01f5 single elements of numpy arrays are not of native type 2022-12-05 20:29:08 +01:00
Philip Eisenlohr 65cb9d5997 Merge branch 'development' into 228-unit-tests-for-spectral-functionality 2022-12-05 11:07:43 -05:00
Philip Eisenlohr f8ec873e54 == syntax consistency 2022-12-05 11:00:23 -05:00
Philip Eisenlohr 5127dfe90b from/as tests use rotation-array; separate bounds checks 2022-12-05 02:08:31 +00:00
Martin Diehl c7cb56fc18 lower exponent gives smoother gradients 2022-12-02 22:55:22 +01:00
Martin Diehl 18ad14708f stay consistent 2022-11-29 22:01:14 +01:00
Philip Eisenlohr 8ba9bb02c7 slight reduction of code doubling 2022-11-29 15:47:11 -05:00
Martin Diehl 741aeab1d3 Merge branch '235-docstring-of-orientation-from_axis_angle' into development 2022-11-29 06:06:31 +01:00
Martin Diehl d668f8a56d don't add empty strings 2022-11-28 20:05:39 +00:00
Daniel Otto de Mentock 8112f87d39 parameter names can contain underscores 2022-11-28 10:33:07 +01:00
Martin Diehl 39157b75b7 plane waves have known solutions 2022-11-27 16:53:53 +01:00
Martin Diehl 92ae86b636 Merge branch 'fix-mypy-no-implicit-optional' into 'development'
PEP 484 compatibility (no-implicit-optional in mypy)

See merge request damask/DAMASK!664
2022-11-25 21:25:33 +00:00
Martin Diehl 77be2c0d4c standard way to report 2022-11-25 07:00:15 +01:00
Martin Diehl e10f9fa299 not useful here
not a general convention, is documented for the affected from_/as_
methods
2022-11-25 01:25:36 +01:00
Martin Diehl f8844285d7 putting understanding of hybridIA into code 2022-11-25 01:15:39 +01:00
Martin Diehl eea0c4c44c return was missing 2022-11-24 10:15:23 +01:00
Philip Eisenlohr 6315f97f4a added explicit Optional type hint 2022-11-22 16:26:15 -05:00
Franz Roters 4a49523720 Merge branch 'mypy-etc-polish' into 'development'
Collection of small polishing steps

See merge request damask/DAMASK!659
2022-11-22 14:39:52 +00:00
Philip Eisenlohr cbe2e74cdd Collection of small polishing steps 2022-11-22 14:39:51 +00:00
Martin Diehl 815d825fac Merge branch 'material_add' into 'development'
configMaterial functionality

See merge request damask/DAMASK!651
2022-11-20 12:59:01 +00:00
Philip Eisenlohr 6907ca60b3 adjustments to make mypy happy 2022-11-19 20:55:23 -05:00
Daniel Otto de Mentock 5017aabcea util.extend_docstring: proper layout for extended class (incl. current return type) 2022-11-19 08:10:00 +00:00
Philip Eisenlohr 7e5a3a12ab proper dealing with default/mandatory items in material_add 2022-11-18 16:30:26 -05:00
Philip Eisenlohr d374f6a02c revert, since not working in python3.8... 2022-11-18 11:01:01 -05:00
Philip Eisenlohr 822a098659 cleaner way to specify default dict entries 2022-11-18 10:06:15 -05:00
Philip Eisenlohr ce4b373f9c Merge branch 'development' into '225-tolerate-non-unit-quaternion'
# Conflicts:
#   python/damask/_rotation.py
2022-11-18 00:48:45 +00:00
Philip Eisenlohr 87579dff11 extensive style polish; no functional changes 2022-11-17 18:39:32 -05:00
Martin Diehl 05974fb300 Merge branch 'polish-rotation-error-determination' into 'development'
cleaner and more efficient determination of ValueErrors

See merge request damask/DAMASK!656
2022-11-17 17:52:14 +00:00
Franz Roters bdd85a414c support for MSC.Marc 2022.2 2022-11-17 07:12:27 +00:00
Philip Eisenlohr 1f947245bb Merge branch 'development' into '225-tolerate-non-unit-quaternion'
# Conflicts:
#   python/damask/_rotation.py
#   python/tests/test_Rotation.py
2022-11-16 20:27:02 +00:00
Martin Diehl d887f0a9d8 better group if/if-elif cases
one line if only when no elif follows to avoid confusion
2022-11-16 21:13:13 +01:00
Philip Eisenlohr 25979fcd77 Merge branch 'development' into 'polish-rotation-error-determination'
# Conflicts:
#   python/damask/_rotation.py
2022-11-16 18:05:36 +00:00
Martin Diehl 5d656d9c76 Merge branch 'rotation-test-coverage' into 'development'
increase test coverage to 100%

See merge request damask/DAMASK!655
2022-11-16 14:31:43 +00:00
Philip Eisenlohr 740965df7c cleaner and more efficient determination of ValueErrors 2022-11-15 17:03:57 -05:00
Philip Eisenlohr 23d2337fb2 add option to normalize quaternions 2022-11-15 16:11:29 -05:00
Philip Eisenlohr 1dbf9ae9bc increase test coverage to 100% 2022-11-15 11:46:52 -05:00
Philip Eisenlohr 584d5b4213 Merge branch 'simplify-grid-scale' into 'development'
less repetition

See merge request damask/DAMASK!654
2022-11-15 14:44:53 +00:00
Philip Eisenlohr 045f1d39a1 add shorthand function for formatting 2022-11-14 14:52:07 -05:00