Martin Diehl
9eb4e2d0de
corrected handling of scalar/array arguments
...
+ more tests
+ corrected handling of numpy types
2020-11-14 17:26:38 +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
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
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
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
4d4278e6dd
shortened tainted_neighborhood logic
2020-11-02 18:20:52 -05: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
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
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
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