Commit Graph

2022 Commits

Author SHA1 Message Date
Philip Eisenlohr 782a593bf2 separate import of vtk modules
vtk is a collection of modules. Some are missing in some installations, so it is recommended to import only the functionality that is needed.
2023-03-08 18:03:22 +00:00
Daniel Otto de Mentock ad39577ea4 improvements to docstrings (in `damask.Rotation`) 2023-03-02 18:46:00 +00:00
Philip Eisenlohr b15096c2f6 flexibility for non-standard ANG headers. 2023-02-28 15:35:31 +00:00
Sharan Roongta 95017b252f typo in example 2023-02-24 14:16:16 +01:00
Martin Diehl c40b446854 add keywords to signature of Orientation functions that inherit from Rotation 2023-02-23 18:49:08 +00:00
Philip Eisenlohr 06201da5e2 Improvements to Python docstrings 2023-02-21 15:27:06 +00:00
Philip Eisenlohr 6aa566760f shorter calculation of Seth–Hill strains 2023-02-20 14:42:31 -05:00
Philip Eisenlohr a335e2db6d Merge branch 'fix-ravel-docstring' into 'development'
sphinx does not handle white spaces properly

See merge request damask/DAMASK!727
2023-02-18 03:26:50 +00:00
Philip Eisenlohr 4485e1045c proper indication of transpose; polish 2023-02-16 15:12:10 -05:00
Martin Diehl e501e76d84 sphinx does not handle white spaces properly 2023-02-16 19:40:09 +01:00
Martin Diehl eefa2c29a2 more details 2023-02-16 19:32:15 +01:00
Philip Eisenlohr 61f2ae295b switch to physics macros 2023-02-16 11:59:19 -05:00
Martin Diehl 66b0b2e9dc using latex to improve documentation 2023-02-14 17:11:52 +01:00
Martin Diehl 4cd84ab8ce return was missing 2023-02-14 12:54:51 +01:00
Daniel Otto de Mentock 4ae3274ac4 Merge branch '250-configmaterial-material_add-simplifications' into 'development'
several improvements to ConfigMaterial and Config

Closes #250

See merge request damask/DAMASK!714
2023-02-06 16:52:14 +00:00
Martin Diehl a45a86cfbf mark DADF5 file layout as stable 2023-02-04 09:55:23 +01:00
Martin Diehl aa11e1aca3 easier to understand 2023-02-02 08:59:44 +01:00
Martin Diehl 6682f58f86 explicit arguments to guide the user 2023-02-02 08:38:50 +01:00
Martin Diehl 008d3cca6f limits hold for sum and individual 2023-02-02 08:35:46 +01:00
Martin Diehl 46ad436d76 check for invalid materialpoint configuration 2023-02-01 22:48:43 +01:00
Martin Diehl fd84406903 guide the user with explicit keywords 2023-02-01 15:03:30 +01:00
Martin Diehl 8895e7a36f more logical behavior
explicit keywords are more important than existing one
2023-02-01 14:59:00 +01:00
Martin Diehl ce6c86dd6d essentially same behavior as before,
but better documentation, a few simplifications, and typehints
2023-01-24 11:26:14 +01:00
Philip Eisenlohr 5edd001d4c Option to normalize rotation matrix 2023-01-16 23:53:49 +00:00
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
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 eea0c4c44c return was missing 2022-11-24 10:15:23 +01:00