Martin Diehl
6657e5c4eb
testing a few corner cases
...
behavior for __eq__ is now following python standard, comparing to wrong
class gives False
2022-01-15 13:22:15 +01:00
Martin Diehl
b796bc0697
simplified
2022-01-14 20:44:34 +01:00
Daniel Otto de Mentock
01cc6ffd2c
added minor grid adjustments after initial merge of typehints_grid branch
2022-01-14 17:56:58 +01:00
Daniel Otto de Mentock
dd82c3c8f0
rewrote table module adjustments to not make use of _io module
2022-01-14 15:08:40 +01:00
Daniel Otto de Mentock
25513d572b
minor type adjustment to rotation module removed superfluous Sequence type from orientation module
2022-01-14 14:55:08 +01:00
Daniel Otto de Mentock
aabeee9de1
Replaced relevant Sequences with FloatSequence and IntSequence types
2022-01-14 14:37:48 +01:00
Test User
6da3f0fa51
[skip ci] updated version information after successful test of v3.0.0-alpha5-389-ga000e477c
2022-01-14 07:24:12 +01:00
Daniel Otto de Mentock
4ba9935ccc
Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation
2022-01-13 17:23:24 +01:00
Daniel Otto de Mentock
a000e477cf
Merge branch 'typehints_grid' into 'development'
...
added fist typehints for _grid module
See merge request damask/DAMASK!474
2022-01-13 16:21:19 +00:00
Daniel Otto de Mentock
db21e82fe3
adjusted data.column retrieval in save method
2022-01-13 17:15:54 +01:00
Daniel Otto de Mentock
b4088b666e
adjusted filehandle conditional type
2022-01-13 13:27:50 +01:00
Martin Diehl
3acabcdc7f
docstring adjustments
2022-01-12 23:57:21 +01:00
Test User
7410463067
[skip ci] updated version information after successful test of v3.0.0-alpha5-379-g731222d09
2022-01-12 23:41:05 +01:00
Martin Diehl
2c1231a806
using best practices from grid_filters
2022-01-12 23:06:48 +01:00
Martin Diehl
9a8e7c8445
Merge branch 'development' into typehints_grid
2022-01-12 19:53:35 +01:00
Daniel Otto de Mentock
ffa80f6bef
added typehints for table module
2022-01-12 17:10:13 +01:00
Daniel Otto de Mentock
731222d099
Merge branch 'grid_filter-flexible-typehints' into 'development'
...
allow flexible arguments for 1D arguments
See merge request damask/DAMASK!494
2022-01-12 13:18:40 +00:00
Martin Diehl
410a515afc
allow flexible arguments for 1D arguments
2022-01-12 13:18:38 +00:00
Test User
f27efb6074
[skip ci] updated version information after successful test of v3.0.0-alpha5-375-g76fe2d2b3
2022-01-11 23:56:22 +01:00
Franz Roters
76fe2d2b36
Merge branch 'misc-improvements' into 'development'
...
polishing
See merge request damask/DAMASK!497
2022-01-11 15:45:09 +00:00
Martin Diehl
19f4f2eaec
nice example
...
too simple for full-flegded ipython notebook
2022-01-11 00:36:49 +01:00
Test User
c065e2b2f1
[skip ci] updated version information after successful test of v3.0.0-alpha5-360-gdd6e9a016
2022-01-08 18:03:24 +01:00
Test User
e3a233a681
[skip ci] updated version information after successful test of v3.0.0-alpha5-358-g81a7c32a5
2022-01-07 21:38:12 +01:00
Daniel Otto de Mentock
f404fea105
Merge branch 'development' into 'typehints_grid'
...
# Conflicts:
# python/damask/_grid.py
2022-01-07 15:04:41 +00:00
Test User
a2f6475baa
[skip ci] updated version information after successful test of v3.0.0-alpha5-355-gc29428a60
2022-01-07 07:23:43 +01:00
Daniel Otto de Mentock
0a31ff0980
added type:ignore statement to broken line
2022-01-06 14:33:41 +01:00
Martin Diehl
d18ec3eae1
Merge remote-tracking branch 'origin/improved-reporting' into misc-improvements
2022-01-05 14:54:20 +01:00
Daniel Otto de Mentock
e60d41d5e4
merge with current development branch
2022-01-05 14:06:06 +01:00
Martin Diehl
100565c79b
slip systems for tI (bct)
...
simple test. Not the best, but allows easy comparison with
- grep NTWINSYSTEM\ = src/lattice.f90
- grep NSLIPSYSTEM\ = src/lattice.f90
2022-01-05 08:08:10 +01:00
Martin Diehl
0f26da0ec1
nicer reporting
2022-01-04 17:25:01 +01:00
Daniel Otto de Mentock
9a9ec11c29
added generator typehint to from_random function
2022-01-03 16:44:27 +01:00
Test User
e8b69c7871
[skip ci] Merge branch 'master' into development
2022-01-03 15:48:22 +01:00
Test User
c51976e2a9
[skip ci] updated version information after successful test of v3.0.0-alpha5-340-g510a26ded
2022-01-03 15:47:34 +01:00
Daniel Otto de Mentock
5702614c4f
expanded rng_seed typehint to array_like type
...
adjusted alpha and beta types for from_fiber_component to also accept
lists
removed superfluous kwargs argument in from_ODF and from_parallel
functions
2022-01-03 15:35:28 +01:00
Daniel Otto de Mentock
a177e32ff2
Merge branch 'simplified-colormap' into 'development'
...
simplified
See merge request damask/DAMASK!487
2022-01-03 13:15:00 +00:00
Test User
3dd37cdf22
[skip ci] updated version information after successful test of v3.0.0-alpha5-338-g4a0a1f7ac
2022-01-03 02:19:10 +01:00
Test User
e19c17c2bc
[skip ci] updated version information after successful test of v3.0.0-alpha5-336-g6871eb302
2021-12-28 14:19:37 +01:00
Franz Roters
6871eb3026
Merge branch 'util-project_homochoric' into 'development'
...
Lambert azimuthal equal-area (laea) projection
See merge request damask/DAMASK!476
2021-12-28 10:19:18 +00:00
Philip Eisenlohr
b2d0fd8ff5
Lambert azimuthal equal-area (laea) projection
2021-12-28 10:19:17 +00:00
Test User
2d347e1be1
[skip ci] updated version information after successful test of v3.0.0-alpha5-333-g01cd92755
2021-12-26 21:05:58 +01:00
Test User
53c81e4af1
[skip ci] Merge branch 'master' into development
2021-12-25 07:15:46 +01:00
Test User
68b34f6022
[skip ci] updated version information after successful test of v3.0.0-alpha5-316-gd8ef23fc9
2021-12-25 07:15:40 +01:00
Philip Eisenlohr
2ea2930638
Merge branch 'keyword-view' into 'development'
...
using keywords instead of strings to control view
Closes #133
See merge request damask/DAMASK!484
2021-12-24 23:07:10 +00:00
Test User
368f4ac985
[skip ci] updated version information after successful test of v3.0.0-alpha5-313-g8c2266bc5
2021-12-23 22:35:44 +01:00
Test User
6e833d2327
[skip ci] updated version information after successful test of v3.0.0-alpha5-311-g38d497819
2021-12-22 12:56:07 +01:00
Martin Diehl
508083082d
simplified
2021-12-21 23:50:43 +01:00
Test User
3e01f72daa
[skip ci] updated version information after successful test of v3.0.0-alpha5-308-gb4f3ac457
2021-12-21 22:19:29 +01:00
Martin Diehl
25ab62402a
Merge remote-tracking branch 'origin/development' into keyword-view
2021-12-19 22:58:38 +01:00
Test User
f106e1bcb1
[skip ci] Merge branch 'master' into development
2021-12-18 22:45:01 +01:00
Test User
28449393bf
[skip ci] updated version information after successful test of v3.0.0-alpha5-297-g5ecfba1e5
2021-12-18 22:44:25 +01:00
Martin Diehl
0468bfd3e1
Use ArrayLike for numpy >= 1.20
2021-12-18 17:21:46 +00:00
Martin Diehl
2fc25c6fa9
correct reporting
2021-12-17 14:31:51 +01:00
Martin Diehl
a1e42af860
easier to understand
2021-12-17 10:44:41 +01:00
Martin Diehl
c1eabc3384
simplified interface
2021-12-17 10:31:41 +01:00
Martin Diehl
0b6af19e54
use of keywords is more intuitive
...
code needs cleaning after revoming of 'what' and 'datasets'. For the
moment, keep the old style for compatibility with existing evaluation
scripts
2021-12-17 09:48:33 +01:00
Martin Diehl
501465dfd1
more alpha releases than expected
...
hopefully, all DAMASK 2 users have been migrated once 3.0 is released
2021-12-17 09:42:10 +01:00
Test User
74b0699156
[skip ci] Merge branch 'master' into development
2021-12-15 12:04:06 +01:00
Test User
67cc36daf3
[skip ci] updated version information after successful test of v3.0.0-alpha5-283-gdacd08f39
2021-12-15 12:04:02 +01:00
Sharan Roongta
6eccc6a4a8
Merge branch 'colormap-at' into 'development'
...
Colormap fractional interpolation
See merge request damask/DAMASK!477
2021-12-15 10:17:10 +00:00
Test User
d30d3b2128
[skip ci] updated version information after successful test of v3.0.0-alpha5-275-g3b9822ad6
2021-12-14 20:21:48 +01:00
Daniel Otto de Mentock
65633ee6b1
added typehints for rotation.average function [skip ci]
2021-12-14 17:19:00 +01:00
Daniel Otto de Mentock
cef885cfde
added first typehints for rotation and orientation modules
2021-12-14 17:05:00 +01:00
Daniel Otto de Mentock
3b9822ad67
Revert "added first typehints for rotation and orientation modules"
...
This reverts commit 4235c70aea
2021-12-14 16:04:18 +00:00
Daniel Otto de Mentock
4235c70aea
added first typehints for rotation and orientation modules
2021-12-14 17:01:40 +01:00
Philip Eisenlohr
32595299c9
minimal clean API for Colormap.at
2021-12-13 17:44:24 -05:00
Test User
a89eff2991
[skip ci] updated version information after successful test of v3.0.0-alpha5-272-g3192a31e1
2021-12-12 02:03:10 +01:00
Test User
ad5262a7a8
[skip ci] updated version information after successful test of v3.0.0-alpha5-270-g6e36c4c30
2021-12-11 22:21:22 +01:00
Eureka Pai
2b6283bbe3
flexibility to return with alpha channel and/or as string
2021-12-10 12:53:01 -05:00
Franz Roters
7bb6707b0e
[skip ci] Web page was moved
2021-12-10 18:07:04 +01:00
Eureka Pai
947bf946e1
added Colormap.at(fraction) to interpolate
2021-12-10 11:31:26 -05:00
Test User
63c76abed8
[skip ci] updated version information after successful test of v3.0.0-alpha5-263-gfbbe5ec00
2021-12-09 00:09:39 +01:00
Philip Eisenlohr
fbbe5ec006
fixed typo
2021-12-08 21:04:22 +00:00
Test User
811879788a
[skip ci] updated version information after successful test of v3.0.0-alpha5-261-g722c9828a
2021-12-07 11:37:02 +01:00
Martin Diehl
cf9f770866
Merge branch 'typehints_crystal' into 'development'
...
Typehints for crystal
See merge request damask/DAMASK!464
2021-12-06 23:49:13 +00:00
Daniel Otto de Mentock
be95f9a98a
Typehints for crystal
2021-12-06 23:49:12 +00:00
Test User
992f848296
[skip ci] Merge branch 'master' into development
2021-12-06 18:34:35 +01:00
Test User
596a8ecd11
[skip ci] updated version information after successful test of v3.0.0-alpha5-251-g65c4417a2
2021-12-06 18:34:14 +01:00
Sheng Zhang
a4cd663fc0
Merge branch 'no-2prism-hex' into development
2021-12-06 16:45:01 +01:00
Daniel Otto de Mentock
7c7c3926b7
added array conversion to ambiguous types in grid_filters.coordinates0_point function
2021-12-06 15:48:57 +01:00
Daniel Otto de Mentock
1de12bb402
removed direct attribute assignments for size and origin
2021-12-06 15:48:19 +01:00
Daniel Otto de Mentock
5558c301fa
added fist typehints for _grid module
2021-12-06 14:22:52 +01:00
Martin Diehl
fe2123bae4
2. order prismatic systems are not needed
...
not clear for which material they have been introduced, according to
T.R. Bieler and P. Eisenlohr they are typicall not active in any
material of interest
2021-12-06 12:23:24 +01:00
Martin Diehl
7b187eb370
new convention
2021-12-06 07:55:05 +01:00
Test User
cef8b06dc0
[skip ci] updated version information after successful test of v3.0.0-alpha5-244-gb57351045
2021-12-04 05:43:51 +01:00
Philip Eisenlohr
b57351045b
follow new convention for "shape" and "len" in docstrings
2021-12-04 03:39:33 +01:00
Martin Diehl
2a6b37a0e5
eq. according to mypy recommendation
...
note that raising 'NotImplemented' means that __eq__ of the 'other' is
evaluated
https://stackoverflow.com/questions/54801832
https://newbedev.com/why-does-defining-the-argument-types-for-eq-throw-a-mypy-type-error
2021-12-03 12:35:25 +01:00
Martin Diehl
99166a7ce2
Merge remote-tracking branch 'origin/colormap-docstrings' into development
2021-12-03 12:18:24 +01:00
Test User
389d08bdcc
[skip ci] updated version information after successful test of v3.0.0-alpha5-234-g66fddda0b
2021-12-03 10:08:09 +01:00
Test User
55b8ea9db9
[skip ci] updated version information after successful test of v3.0.0-alpha5-230-g7a78a25e5
2021-12-03 07:39:56 +01:00
Martin Diehl
7a78a25e5c
Merge branch 'config-init-yaml' into 'development'
...
extend config init to allow YAML string and key=value pairs
See merge request damask/DAMASK!470
2021-12-03 04:37:23 +00:00
Philip Eisenlohr
dc3db90ce0
fixed typo: colormodel --> color model
2021-12-02 18:59:31 -05:00
Philip Eisenlohr
d5da47bf71
extend config init to allow YAML string and key=value pairs
2021-12-02 18:20:27 -05:00
Test User
88de2720d2
[skip ci] updated version information after successful test of v3.0.0-alpha5-227-g727dd8936
2021-12-02 16:24:54 +01:00
Franz Roters
727dd8936d
use latest Marc version
2021-12-02 08:50:59 +01:00
Martin Diehl
5abfe3c214
Merge remote-tracking branch 'origin/development' into MSC-Version
2021-12-01 15:35:49 +01:00
Martin Diehl
3a51e1119b
text files on Unix should end with a new line character
2021-11-30 13:11:40 +01:00
Test User
51b7a00734
[skip ci] updated version information after successful test of v3.0.0-alpha5-210-g7e7098baf
2021-11-29 21:14:49 +01:00
Test User
77bced998f
[skip ci] updated version information after successful test of v3.0.0-alpha5-202-g96e4cb591
2021-11-29 10:35:09 +01:00
Test User
a0e0f329fd
[skip ci] updated version information after successful test of v3.0.0-alpha5-197-g1fc876358
2021-11-28 03:10:26 +01:00
Test User
98b699359f
[skip ci] updated version information after successful test of v3.0.0-alpha5-191-gf32a78861
2021-11-27 00:46:28 +01:00
Philip Eisenlohr
f32a788614
Merge branch 'dynamic-C' into 'development'
...
temperature dependend elastic constants.
See merge request damask/DAMASK!465
2021-11-26 21:41:36 +00:00
Philip Eisenlohr
4d63da6aee
get_file_handle suffix is optional
2021-11-26 11:34:43 -05:00
Test User
d52a14f74f
[skip ci] updated version information after successful test of v3.0.0-alpha5-172-g41d78e2c6
2021-11-26 13:28:55 +01:00
Martin Diehl
4ba7c9e670
polishing
...
casting numpy.bool_ to bool is a little bit annoying. Mabye using Union[bool, np.bool_] is the better
solution, it does not require any changes to the actual code and there is some
hope that it will get fixed in mypy https://github.com/numpy/numpy/issues/18876
2021-11-25 21:29:34 +01:00
Philip Eisenlohr
bd908dc425
test __eq__; polish help strings
2021-11-25 13:14:34 -05:00
Franz Roters
9132ce96f1
corrected python error
2021-11-25 17:36:41 +01:00
Franz Roters
f435062a1d
support for Marc2021.3.1
2021-11-25 17:30:22 +01:00
Martin Diehl
fb8c515a98
capitalize constants
...
not sure whether we should make exceptions for k_B and T_room
2021-11-25 11:52:52 +01:00
Test User
0cf78da46d
[skip ci] updated version information after successful test of v3.0.0-alpha5-164-gdc993bc6f
2021-11-25 04:21:18 +01:00
Philip Eisenlohr
dc993bc6f9
Merge branch 'typehints_colormap' into 'development'
...
Typehints colormap
See merge request damask/DAMASK!460
2021-11-24 23:15:30 +00:00
Martin Diehl
3cae915e47
not needed
...
a = [] is already a list
2021-11-24 21:12:13 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
c5f284cd8d
increased test coverage
2021-08-18 10:44:04 +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
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
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
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
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
abd660e62d
Merge remote-tracking branch 'origin/development' into polishing
2021-06-19 13:28:56 +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
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
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
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
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
Philip Eisenlohr
d6e69d5d4b
[skip ci] polishing of doc string
2021-05-10 14:44:58 -04: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
Martin Diehl
190ddafa44
don't support old file formats
2021-04-14 23:23:32 +02:00
Martin Diehl
0e6cb127df
damage can be defined in parts of the domain ...
2021-04-14 19:24:45 +02:00
Sharan Roongta
1be1a72a09
Merge branch 'Fortran-cleaning' into 'development'
...
Clarifying structure
See merge request damask/DAMASK!368
2021-04-13 11:08:18 +00:00
Martin Diehl
cfbb2d416f
better example
2021-04-10 23:58:53 +02:00
Martin Diehl
1133090b6c
logfile does not contain much valuable information
...
Marc automatically creates .out
2021-04-10 23:50:20 +02:00
Martin Diehl
37df78a8e0
don't show progress bar for empty iterations
2021-04-10 15:01:50 +02:00
Martin Diehl
d304654972
allow easy detection of empty view/get/place
2021-04-10 09:33:45 +02:00
Martin Diehl
07d573a56d
more helpful dataset descriptors
...
phase label for single phase material not helpful
2021-04-10 09:32:21 +02:00
Martin Diehl
44331c504b
__class__ is unknown (says prospector)
2021-04-10 08:29:42 +02:00
Martin Diehl
63b343ad87
Merge branch 'development' into allclose-rotation-orientation
2021-04-10 08:05:25 +02:00
Martin Diehl
e89236b14d
bugfix:
...
don't overwrite data when doing a 'place-like' operation to merge
datasets
2021-04-08 17:36:33 +02:00
Martin Diehl
2d8658822d
report return value
2021-04-08 14:58:22 +02:00
Martin Diehl
bc1454970c
mandatory symmetry
...
if symmetry is not of interest, damask.Rotation should be used
2021-04-06 22:49:08 +02:00
Philip Eisenlohr
bf2515c4c1
removed `Grid.diff` in lieu of `__eq__`
2021-04-06 12:10:35 -04:00
Philip Eisenlohr
bf4c88a39e
renamed result.read to get; polishing
2021-04-06 11:39:44 -04:00
Martin Diehl
02277fb820
consistently return masked array
2021-04-05 22:18:18 +02:00
Martin Diehl
d5806075d4
distinguish isclose/allclose and __eq__
2021-04-05 22:15:03 +02:00
Martin Diehl
115e3dd4c7
simplified
2021-04-05 17:18:12 +02:00
Martin Diehl
faa9e6aa6a
open file only once
2021-04-05 15:58:10 +02:00
Martin Diehl
c3a7a85f7a
avoid repetition
2021-04-05 15:41:28 +02:00
Martin Diehl
9db1ef9ed7
polishing
2021-04-05 13:41:49 +02:00
Martin Diehl
65b03aeb2d
Merge remote-tracking branch 'origin/development' into Results.read-.place
2021-04-05 10:22:49 +02:00
Martin Diehl
62c85db745
out of place behavior
2021-04-05 08:03:00 +02:00
Martin Diehl
fc409fcf08
'join' is always linear in time, '+' not
2021-04-04 22:12:28 +02:00
Martin Diehl
1d6b56346a
use 'view' and standardized calling signature
2021-04-04 20:56:30 +02:00
Martin Diehl
0e5f693fea
untangling
2021-04-04 19:44:06 +02:00
Martin Diehl
e1d57f176d
simplifying
...
[] has a special meaning for glob, use () to indicate direction for IPF
color. It is anyways the sample direction, not a crystallographic
direction
2021-04-04 19:05:58 +02:00
Martin Diehl
d78e0085fc
simplified
2021-04-04 18:32:17 +02:00
Martin Diehl
a962777d24
avoid code duplication
2021-04-04 13:38:40 +02:00
Martin Diehl
6fef46539e
standard names
2021-04-04 13:16:14 +02:00
Martin Diehl
6f3dc80079
simplified/using new functionality
2021-04-03 16:32:48 +02:00
Martin Diehl
27f2e3b26e
avoid random order when using sets
2021-04-03 12:21:06 +02:00
Martin Diehl
885aeb62e5
geometry0 itself is useful
...
can be combined with 'place' if in-memory VTK is required for spatial
operations
2021-04-03 08:58:22 +02:00
Martin Diehl
39c0bc9de6
polishing
2021-04-03 08:19:16 +02:00
Martin Diehl
20d0242d59
using new logic
2021-04-02 12:21:27 +02:00
Martin Diehl
e8ff509502
output all datasets per default
...
respect 'field' selection
2021-04-02 11:29:58 +02:00
Martin Diehl
18afa217fe
easier to understand
...
limit to same fields for homogenization and fields results in a little
less flexibility (requires two views) but should be acceptable for such
a little used feature
2021-04-02 08:24:49 +02:00
Martin Diehl
cf1ce6a1fe
support for masked array
...
masked arrays are the outcome of Result.place
2021-04-02 08:07:22 +02:00
Martin Diehl
58ac99831c
polishing
2021-04-02 07:47:03 +02:00
Martin Diehl
9459fea929
support for pandas not planned any more
...
damask.Table supports multidimensional data, numpy.ma supports masked
arrays
2021-04-02 07:42:54 +02:00
Philip Eisenlohr
f6d6aefe1d
function renaming; rewording of help messages
2021-04-01 18:41:28 -04:00
Martin Diehl
84e117c6b3
polished and added tests
2021-04-01 17:26:51 +02:00
Martin Diehl
71d1a341e4
simplified
2021-04-01 15:08:48 +02:00
Martin Diehl
2397df88f9
documenting
2021-04-01 07:21:34 +02:00
Martin Diehl
c1f7ea750b
legacy access not needed anymore
2021-04-01 06:55:47 +02:00
Martin Diehl
8a3af87e3e
Merge remote-tracking branch 'origin/development' into spring-cleaning
2021-04-01 00:09:51 +02:00
Philip Eisenlohr
07c9cf5f1a
- improved reporting and slicing of table.
...
- implemented numpy-like `allclose` and `isclose`
2021-03-31 18:30:07 +00:00
Martin Diehl
8a8a28adc4
support multi-constituents
2021-03-31 20:02:25 +02:00
Martin Diehl
be444b69ca
include homogenization
2021-03-31 15:44:27 +02:00
Martin Diehl
97e6c397d9
cleaned
2021-03-31 15:10:39 +02:00
Martin Diehl
7b678af1b4
float and int are different
2021-03-31 12:40:53 +02:00
Martin Diehl
8c7ee5e796
simplified
2021-03-31 12:05:51 +02:00
Martin Diehl
e9c65dee73
documenting and testing
2021-03-31 10:59:21 +02:00
Martin Diehl
7b846efe4a
arguments can be int, bool, str
2021-03-31 08:12:57 +02:00
Martin Diehl
eebb050a64
simplified
...
place seems to work
2021-03-31 07:56:42 +02:00
Martin Diehl
60119c1300
return minimal unique dictionaries per default
2021-03-30 21:39:14 +02:00
Martin Diehl
989992004d
cleaning dicts
2021-03-30 19:41:36 +02:00
Martin Diehl
7865092b82
not needed
2021-03-30 17:24:19 +02:00
Martin Diehl
b9b66fac45
simplified
2021-03-30 17:15:02 +02:00
Martin Diehl
b19ec4f8ae
first ideas for more user friendly usage
2021-03-30 07:24:47 +02:00
Martin Diehl
3fe1accf18
not used anymore
2021-03-28 19:48:44 +02:00
Martin Diehl
5ea2fa97a0
untested and unused code
2021-03-28 12:46:26 +02:00
Martin Diehl
a587e70704
split into small sections and test damage
2021-03-28 12:08:08 +02:00
Martin Diehl
a3ab890315
bugfix for ConfigMaterial
...
don't use mutable variables in python initializers, they get updated
2021-03-28 11:35:40 +02:00
Martin Diehl
480b8315a7
cleaning + testing
2021-03-27 15:54:29 +01:00
Martin Diehl
8a99306aed
old table not needed anymore
2021-03-27 14:34:18 +01:00
Martin Diehl
c742f7c9d0
need to cope with _asciitable.py and _test.py
2021-03-27 12:47:58 +01:00
Martin Diehl
be9e00347b
cleaning
...
dropped support for legacy table
2021-03-27 10:11:31 +01:00
Martin Diehl
111a1a76c6
cleaning
2021-03-27 07:35:49 +01:00
Martin Diehl
9fd244d8a0
cleaning
2021-03-26 20:59:49 +01:00
Martin Diehl
3e8bcd3225
cleaning examples, using consistent names
...
- examples in repository should only show the most basic steps
- MSC.Marc, marc => Marc
2021-03-26 09:27:49 +01:00
Martin Diehl
a72e2db678
Merge branch 'development' into output-rename
2021-03-25 21:03:20 +01:00
Philip Eisenlohr
3d4590a522
Merge branch 'citation-style' into development
2021-03-25 14:39:44 -04:00
Philip Eisenlohr
0e57135239
[skip ci] dx.doi.org --> doi.org
2021-03-25 14:33:08 -04:00
Martin Diehl
3b392281e4
consistent naming in HDF5 output
2021-03-25 19:22:59 +01:00
Martin Diehl
fe0cd8e5e2
transparently handle orientations/rotations
2021-03-25 15:30:31 +01:00
Martin Diehl
1ff6a09746
tests/specifications
2021-03-23 18:51:21 +01:00
Martin Diehl
572c3204d0
let the computer do the work
2021-03-23 14:28:56 +01:00
Martin Diehl
e0e088eaa8
EBSD dataset for testing
...
use only non-segmented data. Automatically fall back to numeric phase
names if cell_ensemble_data is not found
2021-03-23 13:42:04 +01:00
Martin Diehl
549b849730
better readable
2021-03-23 12:05:08 +01:00
Martin Diehl
926b5c657d
material_add can do expansion
2021-03-23 12:01:35 +01:00
Vitesh Shah
005fde2504
homogenization in material was missing
2021-03-23 11:48:35 +01:00
Martin Diehl
7012099d0c
substituted broken link
2021-03-20 14:34:14 +01:00
Martin Diehl
1c3d1ee0f2
documented
2021-03-20 13:37:06 +01:00
Martin Diehl
394fda5f37
improving import from DREAM.3D
...
- no duplicated entries even for non-segmented data
- using phase labels from file
- material.yaml: Dummy homogenization and phase
- tests to ensure correct order and match between Grid and
ConfigMaterial
2021-03-20 12:56:18 +01:00
Martin Diehl
cdcedd0d44
autodetect base group
2021-03-20 07:26:07 +01:00
Sharan Roongta
fc172921fb
unified citation style continued
2021-03-19 10:41:47 +01:00
Martin Diehl
07d79ef4ba
unifying style
2021-03-17 11:25:21 +01:00
Martin Diehl
ec28fd8a73
polishing
2021-03-12 09:23:05 +01:00
Martin Diehl
3b27c64709
Merge remote-tracking branch 'origin/development' into config_from_dream3D
2021-03-12 08:11:54 +01:00
Philip Eisenlohr
e2d4ab427e
explicit path joining with "/" in _result; updated cpTi CRSS
2021-03-09 22:02:49 -05:00
Philip Eisenlohr
a26e586b14
More general 'delete' (accepts iterables) and backports of '|' and '|=' for union/add.
...
'|=' would work for python 3.9 without extra code, but '|' unfortunately casts 'damask.Config' (subclass of 'dict') to a 'dict'.
2021-03-09 19:15:15 +00:00
Philip Eisenlohr
4208c4e713
adapted to Table.add being out-of-place
2021-03-08 11:04:49 -05:00
Philip Eisenlohr
7cbc69a4ca
added "Returns" to help
2021-03-08 11:02:27 -05:00
Philip Eisenlohr
109ad378c2
corrected help text of as_Rodrigues_vector
2021-03-02 16:26:18 +01:00
Franz Roters
7b89cb41f9
Merge branch 'dislotwin-correction' into 'development'
...
dislotwin-correction
See merge request damask/DAMASK!347
2021-02-28 19:45:34 +00:00
Philip Eisenlohr
464c62e7e7
abandoned integer aliases for projection directions
2021-02-28 12:47:13 +01:00
Philip Eisenlohr
175d724ded
added keepdims=False option to project_stereographic
2021-02-27 18:38:40 -05:00
Philip Eisenlohr
ea763fd941
generalized stereographic projection to cope with all three directions (x,y,Z)
2021-02-27 11:15:01 -05:00
Martin Diehl
bf223e8e00
helpful reporting in case of errors
2021-02-26 06:35:42 +01:00
Philip Eisenlohr
1d62341811
Fixed missing second-to-last entry in representation list. Polished help texts.
2021-02-26 03:20:28 +01:00
Philip Eisenlohr
2dea705fa9
polishing/shortening
2021-02-23 19:01:10 -05:00
Philip Eisenlohr
0b08b3d233
expanded help texts
2021-02-23 18:54:55 -05:00
Philip Eisenlohr
dcc42204ec
expanded help on material_add
2021-02-23 18:40:32 -05:00
Philip Eisenlohr
69316f186b
fixed ConfigMaterial.from_table; 2D grid.from_table now acceptable
2021-02-23 11:50:13 -05:00
Philip Eisenlohr
4a00254dba
shortened material_add and allow for multi-constituent; broken from_table...
2021-02-22 22:47:08 -05:00
Martin Diehl
0461c404f7
numpy uses __array__ for casting
...
avoids infinite loop of __init__, __getitem__, and shape. Found on
8cf07f6113
2021-02-22 18:52:06 +01:00
Martin Diehl
5517be5078
warn the caller of deprecated functions
2021-02-22 08:49:44 +01:00
Martin Diehl
67f0ab2ce8
silence deprecation warning
2021-02-22 08:46:28 +01:00
Martin Diehl
b00b4bb0ad
more general handling of precision
...
Anaconda on windows does not have np.float128 defined, but aliases
should work
https://numpy.org/devdocs/user/basics.types.html
2021-02-19 17:03:41 +01:00
Martin Diehl
f5f993435b
make intention clear
2021-02-19 16:34:28 +01:00
Martin Diehl
ab9661d951
don't see how ':=' should help here
2021-02-19 07:04:34 +01:00
Philip Eisenlohr
002cfbd085
Merge branch 'account-for-floating-point-precision-in-orientation' into 'development'
...
ensures that at least one orientation in the FZ is found
See merge request damask/DAMASK!337
2021-02-15 20:53:37 +00:00
Philip Eisenlohr
89e8ca4535
renamed and shortened _separate_arguments()
2021-02-15 11:22:42 -05:00
Sharan Roongta
099cd90890
Merge remote-tracking branch 'origin/development' into python-improvements
2021-02-13 16:51:29 +01:00
Martin Diehl
fe63adcca4
mimic python error message and ensure that error is raised
2021-02-12 18:20:39 +01:00
Sharan Roongta
9e8a243d6f
avoid name conflict with lattice parameter 'c'
2021-02-12 12:15:08 +01:00
Sharan Roongta
f1b8978e21
accept variables that will be used
...
**kwargs allowed the use of extraneous arguments
2021-02-12 11:24:12 +01:00
Martin Diehl
958936c449
Merge branch 'development' into polishing-for-release
2021-02-11 21:59:59 +01:00
Martin Diehl
e8fae6b2a7
simplified
2021-02-11 21:56:53 +01:00
Martin Diehl
4e31862f0f
avoid repetition
2021-02-10 18:35:13 +01:00
Martin Diehl
6895ef6b18
always write LF line endings
...
small pitfall: I windows users use a filehandle that results from a call
to open() without the newline option, they get still CRLF line endings
2021-02-10 10:03:35 +01:00
Martin Diehl
4bcbcb34d0
ensures that at least one orientation in the FZ is found
2021-02-09 23:58:00 +01:00
Martin Diehl
869307c5ec
temperature not needed for pure mechanics
...
would also require to define thermal homogenization
2021-02-08 22:56:37 +01:00
Sharan Roongta
14ce127dc4
fraction --> v
2021-02-04 13:46:01 +01:00
Martin Diehl
051e3ed0ae
not needed anymore
2021-02-02 12:26:08 +01:00
Martin Diehl
0f6094890a
simplified
...
damask.environment does not offer any advantage over os.environ for
variables. After 'root_dir' was removed, the whole module became
obsolete
2021-01-15 12:14:05 +01:00
Martin Diehl
37de561938
shell variables are more robust
...
they will also work if Fortran and python code are installed in
different locations.
2021-01-13 18:53:16 +01:00
Martin Diehl
d76543f759
better name
2021-01-13 14:57:58 +01:00
Martin Diehl
a7d998dd48
standard name
2021-01-13 14:53:50 +01:00
Martin Diehl
4c35da8627
simplified
2021-01-13 11:33:28 +01:00
Martin Diehl
196902948f
simplified
2021-01-13 09:54:04 +01:00
Martin Diehl
f4247e0f35
simpler (and scipy compatible)
2021-01-13 09:35:42 +01:00
Philip Eisenlohr
2d6e6a2370
Rotation composition uses "*"; application of Rotation to object uses "@"; "apply()" works on both
2021-01-12 18:57:33 -05:00
Vitesh Shah
c3c4b05c01
handling point based data enabled
2021-01-12 13:01:11 +01:00
Vitesh Shah
6bffb91951
Added example
2021-01-11 15:16:46 +01:00
Vitesh Shah
6c367ec010
conform to docstring conventions
2021-01-11 15:05:48 +01:00
Vitesh Shah
2951617e28
able to take phaseID into account
2021-01-11 15:02:15 +01:00