Martin Diehl
0459f17f58
improved usability
2021-04-25 07:58:15 +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
65b03aeb2d
Merge remote-tracking branch 'origin/development' into Results.read-.place
2021-04-05 10:22:49 +02:00
Martin Diehl
39c0bc9de6
polishing
2021-04-03 08:19:16 +02:00
Martin Diehl
7865092b82
not needed
2021-03-30 17:24:19 +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
be9e00347b
cleaning
...
dropped support for legacy table
2021-03-27 10:11:31 +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
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
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
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
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
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
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
Martin Diehl
80b8693a66
avoid adding to existing data, i.e. when reading a file
2021-01-03 12:10:39 +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
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
9eb4e2d0de
corrected handling of scalar/array arguments
...
+ more tests
+ corrected handling of numpy types
2020-11-14 17:26:38 +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
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
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
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
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