Daniel Otto de Mentock
cb1143a472
changed return type of util.shapeblender and util.shapeshifter from Sequence[SupportsIndex] to Tuple[SupportsIndex, ...]
...
ignored lines in orientation module that attempt to pass objects of type
Tuple[SupportsIndex, ...] to np.broadcast_to()
2022-02-01 18:38:49 +01:00
Martin Diehl
1eda18b9e5
fine tuning optimization flag
...
using AGRESSIVE with gcc reduced runtime of the small example on my
laptop from 2:00 min to 0:44 min
2022-02-01 14:47:18 +01:00
Martin Diehl
a14735f3db
first step towards removal of global dot state
...
less state => better code
2022-02-01 13:40:09 +01:00
Martin Diehl
4eb9c3dea7
correct name
2022-02-01 13:40:09 +01:00
Daniel Otto de Mentock
ef051ceef9
Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation
2022-02-01 11:56:01 +01:00
Test User
dc5ab9aee9
[skip ci] updated version information after successful test of v3.0.0-alpha5-545-gad74f5dbe
2022-02-01 11:55:34 +01:00
Martin Diehl
49ca62f3af
only Chuck Norris can divide by zero
2022-02-01 11:22:27 +01:00
Martin Diehl
1871dcd75a
small polishing
2022-02-01 09:03:39 +01:00
Martin Diehl
08d3e22bcd
size is known
2022-02-01 08:35:00 +01:00
Martin Diehl
ad74f5dbe1
Merge branch 'typehints_config_configmaterial' into 'development'
...
05 Typehints config configmaterial
See merge request damask/DAMASK!461
2022-02-01 07:30:00 +00:00
Daniel Otto de Mentock
086ff42be5
05 Typehints config configmaterial
2022-02-01 07:30:00 +00:00
Test User
98381bff2a
[skip ci] updated version information after successful test of v3.0.0-alpha5-542-g225a5d908
2022-01-31 20:14:24 +01:00
Sharan Roongta
225a5d9086
Merge branch '151_typehints-readability' into 'development'
...
better readabiliy for python
See merge request damask/DAMASK!511
2022-01-31 17:03:24 +00:00
Test User
90b6b0e164
[skip ci] updated version information after successful test of v3.0.0-alpha5-521-g30bf38641
2022-01-31 17:16:01 +01:00
Franz Roters
30bf386418
Merge branch 'polynomial' into 'development'
...
Polynomial Class
See merge request damask/DAMASK!512
2022-01-31 14:05:15 +00:00
Martin Diehl
39aa243695
Polynomial Class
2022-01-31 14:05:15 +00:00
Daniel Otto de Mentock
3105b2c978
added missing return type to grid.get_grain_boundaries function
2022-01-31 12:40:29 +01:00
Martin Diehl
26cd8a46c2
consistent style
2022-01-30 22:36:30 +01:00
Martin Diehl
a479c29714
not used
2022-01-30 15:46:26 +01:00
Martin Diehl
a673abb413
indicate that this mapping should be used only for C
2022-01-30 06:24:50 +01:00
Martin Diehl
9ce4573b12
docstring polishing
2022-01-29 23:16:57 +01:00
Martin Diehl
df96110733
some suggestions from prospector/pylint
2022-01-29 22:38:17 +01:00
Martin Diehl
ce4591fa29
silence prospector on Python 3.9
2022-01-29 19:15:40 +01:00
Martin Diehl
03b0decfcf
starting to configure mypy
2022-01-29 18:32:04 +01:00
Martin Diehl
609f13c590
Python 3.8 magic: The walrus operator ":="
2022-01-29 18:29:42 +01:00
Martin Diehl
f70df11b67
consistent reporting
2022-01-29 15:59:22 +01:00
Martin Diehl
762f93d724
following naming convention
2022-01-29 15:30:59 +01:00
Martin Diehl
487912cfb0
following Python notation
2022-01-29 15:14:40 +01:00
Martin Diehl
477f2d8167
capitalize constants
2022-01-29 14:49:45 +01:00
Martin Diehl
774ec4e8c4
not used
2022-01-29 14:47:14 +01:00
Martin Diehl
dd0f2cfa3c
tau is often easier to use than pi
...
https://tauday.com/tau-manifesto
2022-01-29 14:46:09 +01:00
Martin Diehl
4a84c42112
improving constants
...
IUPAC does not specify an official ambient temperature, T=273.15K from
standard temperature and pressure (STP) is not particularly suited for our
purposes
2022-01-29 13:49:41 +01:00
Daniel Otto de Mentock
33731e4948
adjusted bracket error in from_fiber_component
2022-01-28 15:15:20 +01:00
Daniel Otto de Mentock
83145b815f
Merge branch 'typehints_orientation_rotation' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation
2022-01-28 13:40:47 +01:00
Daniel Otto de Mentock
53a0de2271
Adjusted docstrings in rotation
...
rewrote map(np.radians()) line to one line tuple
2022-01-28 13:40:37 +01:00
Daniel Otto de Mentock
92ac018486
removed superfluous break in function definition in rotation
2022-01-28 13:34:42 +01:00
Daniel Otto de Mentock
c3eb5a41b3
Merge branch 'development' into 'typehints_orientation_rotation'
...
# Conflicts:
# python/damask/_rotation.py
2022-01-28 09:13:17 +00:00
Daniel Otto de Mentock
81ef865525
[skip ci] moved asterisk to seperate line
2022-01-28 10:11:34 +01:00
Martin Diehl
6fe6be7a34
Merge remote-tracking branch 'origin/development' into 151_typehints-readability
2022-01-27 15:30:41 +01:00
Martin Diehl
e2437ee9b5
adjusting style + documentation
2022-01-27 15:29:33 +01:00
Martin Diehl
978aa8a690
Merge remote-tracking branch 'origin/development' into dislotwin-fix-TWIP-TRIP
2022-01-27 15:22:51 +01:00
Test User
79864818df
[skip ci] updated version information after successful test of v3.0.0-alpha5-518-g4fa97b9a3
2022-01-27 15:13:59 +01:00
Daniel Otto de Mentock
19a73bbf3b
[skip ci] adjusted function argument alignment with asterisk
2022-01-27 12:14:54 +01:00
Daniel Otto de Mentock
a12135fe77
[skip ci] changed function definition to multiline layout for crystal, seeds and tensor module
2022-01-27 10:45:14 +01:00
Daniel Otto de Mentock
4fa97b9a31
Merge branch 'no-python3.7' into 'development'
...
drop support for Python 3.7
See merge request damask/DAMASK!509
2022-01-27 09:38:38 +00:00
Martin Diehl
4ca501c73f
small changes in logic for type hints
2022-01-27 08:53:27 +01:00
Martin Diehl
f1a53e7271
Merge remote-tracking branch 'origin/development' into None-instead-of-optional
2022-01-27 08:12:11 +01:00
Martin Diehl
ea33b321aa
correct calculation of shear
...
need to convert volume to shear (and back for output)
2022-01-27 08:08:42 +01:00
Martin Diehl
1e748dc54e
commenting
2022-01-27 07:28:33 +01:00
Martin Diehl
e7ed32ba4e
not needed
2022-01-27 00:01:53 +01:00