Martin Diehl
6682f58f86
explicit arguments to guide the user
2023-02-02 08:38:50 +01:00
Martin Diehl
008d3cca6f
limits hold for sum and individual
2023-02-02 08:35:46 +01:00
Martin Diehl
46ad436d76
check for invalid materialpoint configuration
2023-02-01 22:48:43 +01:00
Martin Diehl
fd84406903
guide the user with explicit keywords
2023-02-01 15:03:30 +01:00
Martin Diehl
ce6c86dd6d
essentially same behavior as before,
...
but better documentation, a few simplifications, and typehints
2023-01-24 11:26:14 +01:00
Martin Diehl
cdaddf8e6f
kwargs flexibility not needed
...
the number of supported entries is rather limited, so guide the user
using explicit arguments
2023-01-07 14:32:05 +01:00
Philip Eisenlohr
6315f97f4a
added explicit Optional type hint
2022-11-22 16:26:15 -05:00
Philip Eisenlohr
6907ca60b3
adjustments to make mypy happy
2022-11-19 20:55:23 -05:00
Philip Eisenlohr
7e5a3a12ab
proper dealing with default/mandatory items in material_add
2022-11-18 16:30:26 -05:00
Philip Eisenlohr
d374f6a02c
revert, since not working in python3.8...
2022-11-18 11:01:01 -05:00
Philip Eisenlohr
822a098659
cleaner way to specify default dict entries
2022-11-18 10:06:15 -05:00
Philip Eisenlohr
045f1d39a1
add shorthand function for formatting
2022-11-14 14:52:07 -05:00
Philip Eisenlohr
2e7d59ab43
brief but comprehensive "is_complete" reporting
2022-11-11 18:07:48 -05:00
Sharan Roongta
4fc5ba54df
dummy phase dict need to be added for any new material added (similar to dream3D)
2022-11-11 18:47:01 +01:00
Sharan
13df12be1b
initialising dummy arguments with None, making few changes on what is_complete should do
2022-11-11 01:54:59 +01:00
Sharan Roongta
443d796643
phase and homogenization dict to be updated when new material added
2022-11-09 23:13:45 +01:00
Martin Diehl
556d9d840e
specifying V_e is more natural than F_i
2022-05-19 01:15:17 +02:00
Martin Diehl
7d015fbdc5
avoid confusion with existing table entry
2022-02-14 14:32:02 +00:00
Philip Eisenlohr
1b08f90d6c
allow constant (non-label) value in cm.from_table() keys
2022-02-13 23:54:16 -05:00
Daniel Otto de Mentock
086ff42be5
05 Typehints config configmaterial
2022-02-01 07:30:00 +00:00
Philip Eisenlohr
d5da47bf71
extend config init to allow YAML string and key=value pairs
2021-12-02 18:20:27 -05:00
Martin Diehl
d751350bda
systematic naming
2021-11-14 06:51:47 +01:00
Martin Diehl
5503592790
needs to be in constituents
2021-08-05 16:24:59 +02:00
Martin Diehl
aa215ff81e
generalization, now used for F_i
2021-07-24 19:30:15 +02:00
Martin Diehl
db1882e4de
polishing
2021-06-17 18:26:37 +02:00
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