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
c23e9fb126
__eq__ not implemented
...
probably also not very much used outside tests
2021-11-23 20:34:19 +01:00
Martin Diehl
3393d32d9f
more sensible test vor sequence arguments
2021-11-23 19:42:10 +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
Martin Diehl
59b6b4bb2b
Merge branch 'clean-CI' into development
2021-11-16 23:38:14 +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
e2e80b9706
cleaning tests
2021-11-16 11:24:04 +01: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
ec24af2403
testing new functionality
2021-11-14 11:45:13 +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
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
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
00aed99419
naming of tests should follow naming in class
2021-04-08 13:39:48 +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
1b2d892b42
keep reference folder clean
2021-04-03 07:31:31 +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
4b9fcf2f77
testing new read functionality
2021-04-01 14:55:50 +02:00
Martin Diehl
85aaaa96f3
new tests
2021-04-01 10:47:45 +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
d1af4b031a
source for python-compatible versioning
2021-03-30 17:02:57 +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
9e9eb391ba
handle floating point errors
2021-03-25 22:33:14 +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
Martin Diehl
35c5bfcc45
reference files for DREAM.3D operations
...
will be used for the configuration of material.yaml and grid (using
symbolic links)
2021-03-19 11:45:04 +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
Sharan Roongta
c0e488881e
converted two examples to yaml
2021-02-24 20:13:55 +01:00
Philip Eisenlohr
2549d7a05a
[skip ci] removed debug print statement
2021-02-24 15:50:06 +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
Martin Diehl
7c6ce525a3
ask for minimum version
2021-02-19 06:51:32 +01:00
Philip Eisenlohr
f609b61157
Merge branch 'development' into account-for-floating-point-precision-in-orientation
2021-02-15 16:26:25 -05:00
Philip Eisenlohr
6bbd55d967
exchanged c for x in from_cubochoric
2021-02-15 16:25:36 -05: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
cab5a5cec7
homogenization 'none' name misleading.
2021-02-04 15:37:40 +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
Vitesh Shah
dbab3c3a83
dream3D has an extra row at start for grain based data
2021-01-11 14:21:56 +01:00
Vitesh Shah
028d47034d
conversion from dream3D for single phase materials
2021-01-11 13:31:08 +01:00
Philip Eisenlohr
f0351e403a
removed duplicate test
2021-01-07 11:01:15 -05:00
Philip Eisenlohr
bde66d85fc
Merge branch 'development' into python-improvements
2021-01-07 10:58:33 -05:00
Philip Eisenlohr
94cfe28128
polishing help; Rotation.apply(Rotation) now acceptable.
2021-01-06 18:03:10 -05:00
Martin Diehl
acbb564afc
restored functionalitity for adding list.
...
got accidently lost
2021-01-04 07:23:14 +01:00
Martin Diehl
d8b4b7e0f5
!= and == work componentwise
2021-01-03 21:52:19 +01:00
Martin Diehl
f48a446353
compatible with scipy.spatial.transform.Rotation
...
also introduced inplace variants and '/' as multiplicative inverse of
'*'
2021-01-03 16:08:22 +01:00
Martin Diehl
98723cb0ed
need to handle special case of Re() = 0
...
ensuring that the real part is positive seems to be a good idea on first
sight, but it would be easier to simply acknowledge that qu = -qu
2021-01-03 15:50:15 +01:00
Martin Diehl
80b8693a66
avoid adding to existing data, i.e. when reading a file
2021-01-03 12:10:39 +01:00
Martin Diehl
5f1399acc3
consistent behavior with other classes
...
python dictionary operates in-place, so wrappers for out-of-place
behavior let it use like the other DAMASK classes
2021-01-03 12:09:21 +01:00
Martin Diehl
9a278daa3f
copy not needed
...
YAML writer does not write out references anymore
2021-01-03 12:07:02 +01:00
Martin Diehl
35ca1ffb0a
consistent copy functionality
2021-01-03 12:03:40 +01:00
Martin Diehl
6fe1ff8e39
fixed test for rodrigues parametrization
...
for angle close to 180deg, the sign of the axis does not matter
2021-01-03 11:50:45 +01:00
Philip Eisenlohr
da62daf15d
added test for appending rotation lists; better check for type==list
2020-12-28 12:26:09 -05:00
Philip Eisenlohr
4796afdd92
fix for broken representation of no-rotation orientations and averaging weights
2020-12-28 12:10:21 -05:00
Philip Eisenlohr
d8b57680ec
raise NotImplemented when using R*b instead of R@b
2020-12-21 15:47:18 -05:00
Sharan Roongta
6cc78cb41e
Merge branch 'misc-improvements' into 'development'
...
Misc improvements
See merge request damask/DAMASK!302
2020-12-18 15:19:04 +01:00
Martin Diehl
35f9861818
Fortran standard is 2018
...
will not work for older compilers
2020-12-18 15:19:04 +01:00
Martin Diehl
5fb0e4908b
Examples reflect actual behavior
2020-12-18 07:09:05 +01:00
Philip Eisenlohr
403ac693da
need to pass init argument to dict superclass
2020-12-17 18:08:55 -05:00
Philip Eisenlohr
e11be7e600
preinitialize a ConfigMaterial object with 'constituents','homogenization','phase' keys
2020-12-17 10:49:33 -05:00
Martin Diehl
2dd520b4a2
P_aim should be independent from P_av
...
P_av is not defined after restart or cutback. Restart with change of
load case is probably still an issue
2020-12-15 08:06:50 +01:00
Martin Diehl
aad123f41b
Merge branch 'table-getitem' into development
2020-12-12 19:58:42 +01:00
Philip Eisenlohr
36e4042f0b
removed "where" method from Table class
2020-12-11 19:31:19 -05:00
Martin Diehl
2e28bc127a
better message in case that GUI is not possible
2020-12-10 23:44:54 +01:00
Martin Diehl
a881e6e57a
Merge remote-tracking branch 'origin/development' into misc-improvements
2020-12-10 23:41:59 +01:00
Martin Diehl
32c2de6b91
Ensuring regular spacing for grid
2020-12-10 22:47:30 +01:00
Martin Diehl
4286fc3b82
Merge branch 'development' into misc-improvements
2020-12-10 20:21:00 +01:00
Martin Diehl
9b6f5ba9c6
Merge branch 'development' into compressed-hdf5
2020-12-10 00:23:22 +01:00
Martin Diehl
de1708b20a
missing renames + better help
2020-12-08 00:36:41 +01:00
Martin Diehl
78192ef3fd
clearer naming + better comments, thanks to @p.eisenlohr
2020-12-07 17:49:37 +01:00
Martin Diehl
429b84004d
more filters
...
- shuffle: significanlty better compression
- Fletcher32: checksum to detect errors
computational overhead is very small
2020-12-06 19:57:00 +01:00
Martin Diehl
52e3fb50bc
compress.
...
Datasets are chunked along first timension. Chunk size (1MB for real) is
probably not optimal
2020-12-06 11:44:52 +01:00
Martin Diehl
000de75617
write orientation as plain array, not derived type
2020-12-06 08:36:16 +01:00
Martin Diehl
c80e1c5420
less confusing in the standard case, more helpful in the special case
2020-12-05 10:47:42 +01:00
Martin Diehl
ed286ee09f
Merge branch 'rename-grid-2' into misc-improvements
2020-12-05 09:50:46 +01:00
Martin Diehl
171d642dbd
rename: Geom -> Grid
2020-12-04 07:50:47 +01:00
Martin Diehl
0fdefa5e78
renames:
...
after the rename of "grid" to "cell", the name cell should not be used
for the coordinates of the cell centers. In agreement with the names
x_p/u_p for point positions/displacements, now the "point" is used to
refer to the materialpoints (i.e. cell centers)
Additionally, "_node"/"_point" are now suffixes to
"coordinates"/"displacements".
Finally, "coords" is renamed to "coordinates"
2020-12-03 23:59:37 +01:00
Martin Diehl
ac0a20696c
rename: grid -> cells
2020-12-03 22:16:34 +01:00
Philip Eisenlohr
ccf1a849fa
Merge branch 'ShowGrainBoundaries' into 'development'
...
Show grain boundaries
See merge request damask/DAMASK!297
2020-12-03 17:13:15 +01:00
Philip Eisenlohr
4877334986
added getitem and where functionality to Table
2020-12-02 19:25:54 -05:00
Philip Eisenlohr
97df1ab9b3
reinstated write functionality
2020-12-02 13:04:56 -05:00
Martin Diehl
d3a5979d25
meaningful result
2020-12-02 14:45:47 +01:00
Martin Diehl
c880052250
avoid evil eval
2020-12-02 14:37:44 +01:00
Martin Diehl
aa8f30d746
Merge branch 'development' into ShowGrainBoundaries
2020-12-02 12:50:04 +01:00
Martin Diehl
1c2cdbd5a1
support of all standard numpy types
...
+ tests
2020-11-30 12:33:21 +01:00
Martin Diehl
813ef927c4
consistent with "save_XDMF" (capitalized)
2020-11-30 09:28:46 +01:00
Martin Diehl
4d2bf37193
Merge branch 'lattice-structure-rename' into ShowGrainBoundaries
2020-11-29 20:53:58 +01:00
Martin Diehl
1d05edd7b3
fixes:
...
- need to get crystal structure as attribute in test (generic function
was removed, because the crystal structure is in general not the same
over the whole domain)
- consistent sorting of attributes
2020-11-29 09:06:47 +01:00
Martin Diehl
f48f5cb0e8
bugfix/better readable
2020-11-29 08:58:48 +01:00
Martin Diehl
c712332e87
using consistent names for Bravais lattice in Fortran and Python
2020-11-28 22:38:12 +01:00
Martin Diehl
a8da1e5ed9
Paraview 5.9 supports datasets of arbitrary length in XDMF
2020-11-27 22:57:15 +01:00
Martin Diehl
3c1f1af009
more then one direction in file
2020-11-27 20:16:06 +01:00
f.basile
c2be41b9f6
remove import vtk because unused
2020-11-25 12:53:29 +01:00
f.basile
31df4c04c8
added test
2020-11-25 12:51:52 +01:00
f.basile
eb085958f8
polishing
2020-11-25 11:32:07 +01:00
f.basile
cd58278a01
returns vtk object
2020-11-25 10:39:58 +01:00
f.basile
7abc32b09c
alternative for if d_s== , not sure it improves the previous
2020-11-24 19:59:46 +01:00
f.basile
c8b1f8d9f1
shortest possible way i found to include directions in an elegant way
2020-11-24 17:49:58 +01:00
Francisco Jose Gallardo Basile
030062d293
Merge branch 'unit-in-vtk' into 'development'
...
Unit in vtk
See merge request damask/DAMASK!288
2020-11-24 16:21:01 +01:00
Martin Diehl
7fa98ef084
DEcode bytes into str
2020-11-23 20:17:04 +01:00
Martin Diehl
5ab2847b36
polishing
2020-11-23 20:06:34 +01:00
Martin Diehl
cbe8160e13
Merge remote-tracking branch 'origin/development' into vector-mechanics
2020-11-23 19:55:34 +01:00
Martin Diehl
f85dba2835
small polishing
2020-11-23 19:43:19 +01:00
Martin Diehl
287d44c5df
Merge remote-tracking branch 'origin/development' into unit-in-vtk
2020-11-23 19:19:02 +01:00
Franz Roters
7356330cf6
Merge remote-tracking branch 'origin/new_names_result' into development
2020-11-23 11:49:15 +01:00
Sharan Roongta
c58f9f23a1
read old version while resolving merge conflicts
2020-11-22 14:32:32 +01:00
Sharan Roongta
24fabdec22
Merge branch 'development' into vector-mechanics
2020-11-22 12:02:29 +01:00
Martin Diehl
2de3a6a205
fits better to stretch_left/right
2020-11-19 22:46:52 +01:00
Martin Diehl
a87596cefc
return rotation type (ensures proper rotation)
2020-11-19 22:36:19 +01:00
Philip Eisenlohr
662a033d91
adapted to VTR geom files
2020-11-19 14:26:15 -05:00
Philip Eisenlohr
a82b1adc14
Merge branch 'geom-load-ASCII-autoshift' of magit1.mpie.de:damask/DAMASK into geom-load-ASCII-autoshift
2020-11-19 12:24:09 -05:00
Martin Diehl
a4b5c2a537
shorter (but still self-explanatory) name
2020-11-19 15:20:44 +01:00
Martin Diehl
6e5cb60132
general tensor functionality
2020-11-19 15:16:01 +01:00
Martin Diehl
894a8de9f9
avoid name clash: as_Rodrigues_vector(vector = ...)
2020-11-19 14:31:14 +01:00
Martin Diehl
1c07152b96
sorted alphabetically
2020-11-19 14:05:59 +01:00
Martin Diehl
20d0732b2e
output unit to XDMF/vtk
2020-11-19 13:45:40 +01:00
Martin Diehl
af3a87b197
adjust to new auto-convert of 1-based geom files
2020-11-19 11:34:55 +01:00
Martin Diehl
5a5dd24687
removed aliases
2020-11-19 10:50:14 +01:00
Martin Diehl
903c185ee6
distinguish 'file not found' and 'invalid file'
2020-11-19 10:39:41 +01:00
Martin Diehl
c74e57f225
vtk error handling is not very helpful
2020-11-19 09:59:39 +01:00
Martin Diehl
96826dca73
Geom.load_ASCII now auto-shifts material indices
2020-11-19 09:40:19 +01:00
Philip Eisenlohr
cb22c34db2
Geom.load_ASCII now auto-shifts material indices
2020-11-18 18:25:25 -05:00
Martin Diehl
b9b26cb2cc
output results for all constituents
2020-11-18 23:36:02 +01:00
Martin Diehl
5359e05fd3
always merge homogenization results
2020-11-18 23:17:12 +01:00
Martin Diehl
b885e38b3f
better readable
2020-11-18 22:12:23 +01:00
Martin Diehl
4bf802a28e
fixed documentation
2020-11-18 21:51:37 +01:00
Martin Diehl
843d7d8cac
Merge remote-tracking branch 'origin/development' into new_names_result
2020-11-18 21:37:52 +01:00
Martin Diehl
7352431143
vectorized
2020-11-18 20:10:04 +01:00
Martin Diehl
564ee6c96a
make uvw/hkl keyword-only arguments
...
avoid to prefer one over the other, since they are mutually exclusive
2020-11-18 16:45:53 +01:00
Martin Diehl
c60d9cde2a
merge 'mechanics' datasets
...
was like that for 'generic'. Needs detailed discussion in future
2020-11-18 15:52:55 +01:00
Martin Diehl
838a4ea592
[skip ci] fix for scalar values
2020-11-18 14:57:32 +01:00
Martin Diehl
870c0f7aca
removed aliases
...
required bump of DADF5 version
2020-11-18 14:53:11 +01:00
Martin Diehl
1c9028d0b1
simplified
2020-11-18 14:01:52 +01:00
Martin Diehl
89c748fdf1
Merge remote-tracking branch 'origin/development' into vector-mechanics
2020-11-18 13:55:05 +01:00
Martin Diehl
9a1e8e3c38
for the transition period
2020-11-18 13:28:53 +01:00
f.basile
7291b95055
avoid pyflake for blank line 6 final
2020-11-18 12:29:10 +01:00
f.basile
ee5822b721
avoid pyflake for blank line 5
2020-11-18 12:25:08 +01:00
f.basile
4dbfad74cb
avoid pyflake for blank line 4
2020-11-18 12:24:17 +01:00
f.basile
eda3837874
avoid pyflake for blank line 3
2020-11-18 12:21:09 +01:00
f.basile
c681101136
avoid pyflake for blank line 2
2020-11-18 12:19:47 +01:00
f.basile
33aa888fc7
avoid pyflake for blank line
2020-11-18 12:17:05 +01:00
f.basile
e8f82d52cc
fix bug
2020-11-18 12:16:08 +01:00
f.basile
be206d28b3
vectorized and more options
2020-11-18 12:14:12 +01:00
Martin Diehl
6bedd84759
self-explanatory names
2020-11-18 08:15:04 +01:00
Martin Diehl
cd8434b991
Merge remote-tracking branch 'origin/development' into python-improvements
2020-11-16 22:57:49 +01:00
Sharan Roongta
c16ad845bc
Merge branch 'modernize-testing' into 'development'
...
Modernize testing
See merge request damask/DAMASK!280
2020-11-16 20:10:38 +01:00
Martin Diehl
a8fec922d5
show name in title
2020-11-16 17:25:13 +01:00
Philip Eisenlohr
5a53f8743b
added to docstring
2020-11-16 10:44:33 -05:00
Philip Eisenlohr
fa25a13264
fixed typo
2020-11-16 10:34:49 -05:00
Philip Eisenlohr
de20e6b35d
code shortening; list_predefined() --> property "predefined"
2020-11-16 10:23:26 -05:00
Martin Diehl
5ebde607a2
einsum simplifications
2020-11-16 07:43:20 +01:00
Martin Diehl
9b9d83d93c
adding '_tensor' not needed
2020-11-16 01:15:39 +01:00
Martin Diehl
b893967b68
more systematic names and extended docstrings
2020-11-16 01:02:36 +01:00
Martin Diehl
6f81f5278d
separating general tensor math from mechanics operations
2020-11-16 00:13:34 +01:00
Martin Diehl
b3955573f6
using new tests
2020-11-15 22:39:47 +01:00
Martin Diehl
fd8743af5e
clearly distinguish seeds for tessellation and seeds for RNG
2020-11-15 13:49:17 +01:00
Martin Diehl
1541ac0add
more intuitive use
2020-11-15 12:38:54 +01:00
Martin Diehl
01d84c1477
testing also functions with graphical output
2020-11-15 11:49:52 +01:00
Martin Diehl
15af12bbb4
__ne__ is automatically set to !__eq__, __neq__ has no special meaning
2020-11-15 11:38:26 +01:00
Martin Diehl
51e5dda702
documentation + consistent string formatting
2020-11-15 10:54:20 +01:00
Martin Diehl
05c1007add
documentation improvments + acceptance of lists
...
example code at respective function, no space in 'or' variable names
(sphinx cannot handle this)
2020-11-15 10:31:01 +01:00
Martin Diehl
1eb9d494c7
not specific to Orientation class
2020-11-14 19:51:15 +01:00
Martin Diehl
149fce0a7e
increase test coverage
2020-11-14 19:42:52 +01:00
Martin Diehl
764aacf2a1
increasing test coverage
2020-11-14 17:54:47 +01:00
Martin Diehl
9eb4e2d0de
corrected handling of scalar/array arguments
...
+ more tests
+ corrected handling of numpy types
2020-11-14 17:26:38 +01:00
Martin Diehl
6529613726
Merge remote-tracking branch 'origin/development' into vector-mechanics
2020-11-14 15:10:52 +01:00
Martin Diehl
bacfe9f462
Merge branch 'fix-add_primitive-rotation' into 'development'
...
Avoids coordinate normalization _before_ rotation
See merge request damask/DAMASK!276
2020-11-13 14:11:54 +01:00
Martin Diehl
7b7b449877
testing fixed behavior
2020-11-13 06:50:57 +01:00
Philip Eisenlohr
b3e8b85d25
normalizing coordinates _before_ rotation causes wrong primitive shape for non-cubic VEs
2020-11-12 18:34:29 -05:00
Martin Diehl
e15678e7a4
consistent handling of comments
2020-11-12 21:31:09 +01:00
Martin Diehl
8429a9d695
Merge remote-tracking branch 'origin/development' into modularize-mech
2020-11-11 07:04:23 +01:00
Martin Diehl
e90c20ccd6
Merge remote-tracking branch 'origin/geom-attributes-as-checked-properties' into development
2020-11-10 14:54:40 +01:00
Martin Diehl
5926f84851
WIP: refactoring Orientation=Symmetry+Rotation, Lattice=subclass of Sym, and Crystal=Lattice+Rotation
2020-11-09 21:20:56 +01:00
Philip Eisenlohr
f105631015
redefined attributes material,size,origin,comments as properties; enhanced help/descriptions
2020-11-08 12:11:30 -05:00
Sharan Roongta
287d56fc3d
consistent with new output names
2020-11-08 16:01:11 +01:00
Sharan Roongta
7d4163e8a9
new format of material.yaml
2020-11-08 15:57:06 +01:00
Martin Diehl
03a68248b5
polishing
2020-11-06 13:25:00 +01:00
Martin Diehl
bbaeeb02da
Merge remote-tracking branch 'origin/misc-improvements' into h5py3
2020-11-06 13:19:47 +01:00
Martin Diehl
58a5d2666c
ensure correct Mises mode
2020-11-06 00:10:46 +01:00
Martin Diehl
4ccd068d3b
catch error in case of exisiting dataset
2020-11-05 23:00:56 +01:00
Martin Diehl
e649fb195f
update to use variable-length strings
2020-11-05 22:34:41 +01:00
Martin Diehl
30938a8278
correct order (brackets)
2020-11-05 21:38:00 +01:00
Martin Diehl
e26bb962c8
encode from str to bytes
2020-11-05 21:19:49 +01:00
Martin Diehl
68d384bbdd
bugfix: missing rename
2020-11-05 21:14:02 +01:00
Martin Diehl
a416f5ed5b
encode/decode for h5py3 not needed anymore
...
attribute values with variable-length strings will be interpreted as
str, not bytes
2020-11-05 16:13:29 +01:00
Martin Diehl
708c83dcf1
polishing
2020-11-05 07:15:59 +01:00
Martin Diehl
1fcf9cb721
don't compute silently the wrong von Mises kind
...
and allow the user to set it explicitly
2020-11-05 05:48:12 +01:00
Martin Diehl
7341b9830a
h5py v 3.x handles strings differently
2020-11-05 05:39:45 +01:00
Martin Diehl
01af348cd9
symmetric behavior load/save
...
default name reflects fact that material.yaml has a fixed name
2020-11-04 21:14:08 +01:00
Martin Diehl
ae959b9cc2
allow '.' in filenames
2020-11-04 18:08:04 +01:00
Philip Eisenlohr
eaceb16203
added +1 to nanmax(material) as auto offset, now consistent with help and intention...
2020-11-03 17:43:57 -05:00
Sharan Roongta
11f1f4f555
Merge branch 'modernize-testing' into development
2020-11-03 12:49:19 +01:00
Philip Eisenlohr
2867050397
corrected shortened test logic
2020-11-02 18:31:37 -05:00
Philip Eisenlohr
4fa44d388d
shortened test for monotonous increase of material index after sorting
2020-11-02 18:21:51 -05:00
Philip Eisenlohr
4d4278e6dd
shortened tainted_neighborhood logic
2020-11-02 18:20:52 -05:00
Martin Diehl
cf958d32b4
Merge branch 'development' into vector-mechanics
2020-11-02 15:23:11 +01:00
Martin Diehl
be47c744d8
Merge branch 'development' into geom-sort
2020-11-02 12:26:31 +01:00
Martin Diehl
212ed62b19
pytest-based tests
...
removed unused functionality from deprecated python library modules
2020-11-02 12:07:16 +01:00
Martin Diehl
086b215d94
Merge branch 'test-new-dir' into development
2020-11-01 19:29:52 +01:00
Martin Diehl
cf18954db9
hint for future improvement
2020-11-01 19:20:52 +01:00
Martin Diehl
7059e6af6e
might not be in the last line
2020-11-01 18:34:52 +01:00
Martin Diehl
946da2379b
Merge remote-tracking branch 'origin/development' into modernize-testing
2020-11-01 10:06:52 +01:00
Martin Diehl
0a3598c338
Merge branch 'simplify-from_table' into development
2020-10-31 22:34:17 +01:00
Martin Diehl
0ebb9b611d
functionality to sort material id
...
convenient for layered materials
2020-10-31 20:46:21 +01:00
Martin Diehl
67f69fc8a5
data is consecutive
2020-10-31 17:23:58 +01:00
Martin Diehl
8224122bb9
more user friendly error handling
2020-10-31 13:16:25 +01:00
Martin Diehl
cf740a279e
combine constant with varying data
2020-10-31 09:56:43 +01:00
Martin Diehl
aecf2f539e
allow one homogenization
...
quite useless ...
2020-10-30 22:26:02 +01:00
Martin Diehl
c29e3650f3
don't squeeze into scalar
2020-10-30 22:24:27 +01:00
Franz Roters
392803e47d
Merge remote-tracking branch 'origin/Marc_version_names' into development
2020-10-30 17:49:18 +01:00
Philip Eisenlohr
46e5023f8b
Merge branch 'geom-improvements' into 'development'
...
Geom improvements
See merge request damask/DAMASK!264
2020-10-29 23:53:33 +01:00
Martin Diehl
b2289e80b2
simplified
2020-10-29 20:09:13 +01:00
Martin Diehl
0e499eedf3
correct rounding/clearer logic
2020-10-29 18:35:22 +01:00
Martin Diehl
4b700d367e
improved test
2020-10-29 17:59:44 +01:00
Vitesh Shah
904c338b13
Reflect version underscore of installation files
2020-10-29 15:21:40 +01:00
Martin Diehl
999cf53c07
tests+fixes
2020-10-29 07:42:41 +01:00
Martin Diehl
3be0c462a8
explicit is better then implicit:
...
user should sort Table according to coordinates to create geometry. This
allows to have consistent behavior for from_table in Geom and
ConfigMaterial. We always ensure to keep the order
2020-10-29 07:25:16 +01:00
Martin Diehl
1b2cd6caf6
documentation was misleading
2020-10-28 21:53:46 +01:00
Martin Diehl
4ff99a7af4
more logical layout
2020-10-28 21:51:20 +01:00
Martin Diehl
855bf124d3
faster
...
https://stackoverflow.com/questions/16992713
2020-10-28 16:53:16 +01:00
Sharan Roongta
21f095c9d8
Merge branch 'flexible-yaml-dump' into development
2020-10-28 16:19:17 +01:00
Martin Diehl
98e0ef3881
no loops
...
taken from https://stackoverflow.com/questions/3403973
2020-10-28 13:38:20 +01:00
Martin Diehl
d72343c865
keep order of unique values found in table
2020-10-28 11:56:28 +01:00
Martin Diehl
b38a498197
fast
2020-10-28 09:43:20 +01:00
Martin Diehl
5f03e8cf8f
0-based material indices
2020-10-28 09:31:55 +01:00
Martin Diehl
a5a127b787
new tests+ updated results
2020-10-27 16:46:08 +01:00
Martin Diehl
0804e6ee74
pythonic names
2020-10-27 13:50:47 +01:00
Martin Diehl
fa67a2ddf8
cell_coordinates is now a property
2020-10-27 13:35:14 +01:00
Martin Diehl
201a62d7c9
easier visualization if verts have a point-cell
2020-10-27 13:19:53 +01:00
Martin Diehl
4dd387d7f5
compatibility with old pyyaml + test for numpy
2020-10-27 06:39:58 +01:00
Martin Diehl
4159ae5f3d
keep order of keys
2020-10-26 21:44:38 +01:00
Martin Diehl
5834d95012
support for more types
...
- allow to directly use Config and its sublasses (cast to dict)
- convert numpy arrays
2020-10-26 21:38:24 +01:00
f.basile
802e09be4f
python/damask/_geom.py exceeds line length limit (maximum line length 143 > 132)
2020-10-26 15:11:06 +01:00
f.basile
2715e7b1a7
a bit more vectorized
2020-10-26 15:09:32 +01:00
f.basile
1cbfa866d2
get rid of scalar variables
2020-10-23 16:23:36 +02:00
Vitesh Shah
bd67296e8d
MARC_VERSION as MSCVERSION
2020-10-22 11:50:13 +02:00
f.basile
7fa31a8a1b
solving imported but unused pyflake
2020-10-19 12:55:35 +02:00
f.basile
4c22efc6ce
added show GB
2020-10-19 12:52:10 +02:00
Martin Diehl
bac7ace413
Merge remote-tracking branch 'origin/general-N_constituents' into vtr-only
2020-10-13 17:39:19 +02:00
Martin Diehl
86d91baf90
0-offset for geom
2020-10-10 10:36:15 +02:00
Martin Diehl
ffabeacbcb
removing functionality related to deprecated 'geom' format
2020-10-10 09:41:11 +02:00
Martin Diehl
00e2128e03
don't test ASCII functionality
...
vtr writing in Geom class is alwas serial, no need to wait
2020-10-10 09:02:25 +02:00
Martin Diehl
06d11a72da
better fitting name
...
load implies a more direct takeover.
2020-10-09 19:19:05 +02:00
Martin Diehl
57180952ec
typo
2020-10-09 19:05:05 +02:00
Martin Diehl
347c88cbb6
documented
2020-10-09 14:24:29 +02:00
Martin Diehl
75401dd280
generate configuration from table
2020-10-09 07:45:20 +02:00
Martin Diehl
0c68d293b6
N_constituents is now a general homog property
2020-10-09 07:44:05 +02:00
Martin Diehl
6ecaaa31c9
fairly general function to generate material configuration
2020-10-08 22:07:26 +02:00
Martin Diehl
952ad4f8fe
functionality for geom generation in python lib
2020-10-08 18:39:05 +02:00
Martin Diehl
3050471a2d
avoid circular inclusion
2020-10-08 18:05:03 +02:00
Philip Eisenlohr
846cbdd2e4
Merge branch 'general-config' into 'development'
...
General config
See merge request damask/DAMASK!245
2020-10-08 00:48:16 +02:00
Martin Diehl
8d4adebea2
pyaml is now needed
2020-10-06 17:46:34 +02:00
Martin Diehl
3d49678e93
new names part 2
2020-10-02 17:51:33 +02:00
Martin Diehl
1b18cae46b
adjusted to new names
2020-10-02 17:49:52 +02:00
Martin Diehl
a04966582a
Merge remote-tracking branch 'origin/development' into general-config
2020-10-02 14:54:16 +02:00
Martin Diehl
58229b8851
relaxed test conditions
...
even threshold between -.5 and +.5 can result in a single material.
2020-10-02 13:26:11 +02:00
Martin Diehl
b29f22f513
documenting the actually available TMPS
2020-10-01 09:25:32 +02:00
Philip Eisenlohr
a59e64a8e4
renamed TPMS and added more from additional references
2020-09-30 17:28:25 -04:00
Martin Diehl
33685bc493
allow user do control output style
...
(numerics.yaml looks strange otherwise)
2020-09-30 12:32:37 +02:00
Martin Diehl
5ad46ae021
completely tested
2020-09-30 09:05:23 +02:00
Martin Diehl
fdfcb16d15
not needed
2020-09-30 08:16:12 +02:00
Martin Diehl
bbed4f9c6e
nice formatting
...
will be checked by pre-receive hook
2020-09-30 08:15:02 +02:00
Martin Diehl
b383a4530e
better name, subclassing for easy extension to load
2020-09-30 07:53:25 +02:00
Martin Diehl
54e4943353
get rid of shell scripts
2020-09-30 07:11:33 +02:00
Martin Diehl
76f07e4c1e
tmp_path is preferred over tmpdir
2020-09-29 19:25:50 +02:00
Philip Eisenlohr
350f5eb66a
improved from_ODF documentation
2020-09-29 12:55:00 -04:00
Philip Eisenlohr
31f86c28f4
[skip ci] added parameter description; shortened hybrid_IA pre-loop logic
2020-09-29 11:15:10 -04:00
Martin Diehl
8d204ea445
[skip ci] small simplification
2020-09-28 16:17:43 +02:00
Martin Diehl
d2cfcdaca0
reference Data for ODF sampling (hybridIA) + skeleton of a test
2020-09-28 16:14:27 +02:00
Martin Diehl
95b85626d8
general hybridIA functionality
2020-09-28 07:40:43 +02:00
Martin Diehl
8ec1014134
Merge remote-tracking branch 'origin/development' into cleaning
2020-09-27 18:11:43 +02:00
Vitesh Shah
e8e1960391
Consistency for docstrings
2020-09-26 18:02:25 +02:00
Vitesh Shah
d0028b2eea
Merge branch 'development' into fix-docstrings-for-sphinx
2020-09-26 17:56:42 +02:00
Martin Diehl
9e3506b8ef
thorougly testing seeding functionality
2020-09-25 07:41:58 +02:00
Philip Eisenlohr
e58cc4bfa0
removed substitute call for direct mapping; added seed from averaging of material ID cloud
2020-09-24 22:06:43 -04:00
Martin Diehl
e8454c40c7
more tests
2020-09-24 22:59:31 +02:00
Martin Diehl
4960cf43d4
documented and tested
2020-09-24 21:43:04 +02:00
Martin Diehl
e5b414419a
Poisson disc for periodic situation
2020-09-24 21:26:16 +02:00
Martin Diehl
ec23ab8b61
basic test for seeding
2020-09-24 21:06:26 +02:00
Martin Diehl
b5ea04424b
Merge remote-tracking branch 'origin/development' into seeds-module
2020-09-24 20:58:53 +02:00
Philip Eisenlohr
8c8db5b99f
switched "Geom.materials" to "Geom.material"
2020-09-23 17:27:15 -04:00
Martin Diehl
b995f34834
Merge branch 'development' into geom-fully-out-of-place
2020-09-23 22:50:20 +02:00
Martin Diehl
8c83566b71
suppress warning
...
we already handle the invalid FPE
2020-09-23 21:10:39 +02:00
Martin Diehl
9bce1ddc29
simplified
2020-09-23 20:48:34 +02:00
Franz Roters
3612b17295
corrected Sphinx warnings
2020-09-23 16:21:20 +02:00
Martin Diehl
c85d27baec
functionality for seed creation
2020-09-23 09:45:36 +02:00
Martin Diehl
ae579d8baa
allow to specify seed IDs explicitly
2020-09-23 09:28:00 +02:00
Sharan Roongta
5a64dd30e1
Merge branch 'development' into modernize-testing
2020-09-23 00:05:59 +02:00
Philip Eisenlohr
683161d479
Merge branch 'development' into geom-fully-out-of-place
2020-09-22 15:22:58 -04:00
Philip Eisenlohr
05835bacd3
removed set_X(), duplicate(), and .homogenization; renamed ".microstructure" to ".materials"
2020-09-22 14:49:28 -04:00
Martin Diehl
716a406361
Merge remote-tracking branch 'origin/master' into modernize-testing
2020-09-22 16:51:36 +02:00
Franz Roters
7801f527f2
Merge remote-tracking branch 'origin/load-save-X-no-suffix' into development
2020-09-22 14:57:39 +02:00
Martin Diehl
5ef761fb98
inform the user about missing items in material.yaml
2020-09-21 19:10:20 +02:00
Philip Eisenlohr
188905766f
removed Geom.get_X() methods in favor of direct property access
2020-09-21 11:13:53 -04:00
Philip Eisenlohr
ca2f3f9493
set_X and add_comments methods now default to out-of-place
2020-09-21 10:29:07 -04:00
Martin Diehl
7bdd44a3d9
consistent names:
...
default file operations: save/load, non-default save_xx/load_xx
2020-09-20 22:04:28 +02:00
Martin Diehl
d33507866d
statistically more valid test
2020-09-20 21:50:52 +02:00
Martin Diehl
6ab88aad2b
default format for Table is ASCII
...
hence, renamed load_ASCII/save_ASCII to load/save
2020-09-20 20:45:06 +02:00
Martin Diehl
5895e74029
p is never above 1
...
1e-4 is quite low, usually we are far above. 1e-3 from https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.normaltest.html
is not too far away.
2020-09-20 19:13:54 +02:00
Philip Eisenlohr
5b0b0de6b4
assertion reports offense; fixed seeds for spherical and fiber
2020-09-20 12:22:41 -04:00