Commit Graph

89 Commits

Author SHA1 Message Date
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
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 6ecaaa31c9 fairly general function to generate material configuration 2020-10-08 22:07:26 +02:00
Martin Diehl 3d49678e93 new names part 2 2020-10-02 17:51:33 +02: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 b383a4530e better name, subclassing for easy extension to load 2020-09-30 07:53:25 +02:00