Martin Diehl
29933a6618
includes unit of 'O', which was corrected
2023-02-04 11:44:12 +01:00
Martin Diehl
e49090b26b
update to DADF5 v1.0
2023-02-04 11:14:03 +01:00
Martin Diehl
89817d1bc1
not needed
2023-02-04 11:09:27 +01:00
Martin Diehl
780fc8a050
new/correct unit for quaternions
2023-02-04 10:23:01 +01:00
Martin Diehl
42495942b1
updated to DADF5 v1.0
2023-02-04 10:22:19 +01:00
Martin Diehl
7420c779d7
checking for invalid volume fractions
2023-02-02 22:13:17 +01:00
Martin Diehl
46ad436d76
check for invalid materialpoint configuration
2023-02-01 22:48:43 +01:00
Martin Diehl
8895e7a36f
more logical behavior
...
explicit keywords are more important than existing one
2023-02-01 14:59:00 +01:00
Philip Eisenlohr
5edd001d4c
Option to normalize rotation matrix
2023-01-16 23:53:49 +00:00
Daniel Otto de Mentock
1b8f3292f0
test was not using parametrized values
2023-01-16 11:45:09 +01:00
Martin Diehl
907b01e9f3
simple test setup
2023-01-15 13:45:39 +01:00
Philip Eisenlohr
5d2d611898
Merge branch '238-tail_repack-behavior-and-use' into 'development'
...
simplifications of Python code
Closes #238
See merge request damask/DAMASK!684
2022-12-13 18:32:19 +00:00
Martin Diehl
dcdc4acbd5
Unified object.comments as list[str]; simplifications of Python code
2022-12-13 18:32:19 +00:00
Martin Diehl
0e48f04d0f
consistent naming
2022-12-11 16:09:54 +01:00
Daniel Otto de Mentock
8c6593985c
Merge branch 'yaml-emit-numpy-scalar' into 'development'
...
single elements of numpy arrays are not of native type
See merge request damask/DAMASK!681
2022-12-08 12:03:54 +00:00
Martin Diehl
ce2e0a01f5
single elements of numpy arrays are not of native type
2022-12-05 20:29:08 +01:00
Philip Eisenlohr
5127dfe90b
from/as tests use rotation-array; separate bounds checks
2022-12-05 02:08:31 +00:00
Martin Diehl
f8844285d7
putting understanding of hybridIA into code
2022-11-25 01:15:39 +01:00
Martin Diehl
815d825fac
Merge branch 'material_add' into 'development'
...
configMaterial functionality
See merge request damask/DAMASK!651
2022-11-20 12:59:01 +00:00
Daniel Otto de Mentock
5017aabcea
util.extend_docstring: proper layout for extended class (incl. current return type)
2022-11-19 08:10:00 +00:00
Philip Eisenlohr
ce4b373f9c
Merge branch 'development' into '225-tolerate-non-unit-quaternion'
...
# Conflicts:
# python/damask/_rotation.py
2022-11-18 00:48:45 +00:00
Philip Eisenlohr
1f947245bb
Merge branch 'development' into '225-tolerate-non-unit-quaternion'
...
# Conflicts:
# python/damask/_rotation.py
# python/tests/test_Rotation.py
2022-11-16 20:27:02 +00:00
Philip Eisenlohr
25979fcd77
Merge branch 'development' into 'polish-rotation-error-determination'
...
# Conflicts:
# python/damask/_rotation.py
2022-11-16 18:05:36 +00:00
Philip Eisenlohr
740965df7c
cleaner and more efficient determination of ValueErrors
2022-11-15 17:03:57 -05:00
Philip Eisenlohr
23d2337fb2
add option to normalize quaternions
2022-11-15 16:11:29 -05:00
Philip Eisenlohr
1dbf9ae9bc
increase test coverage to 100%
2022-11-15 11:46:52 -05:00
Philip Eisenlohr
349a39609e
Robust translation for view.times
2022-11-11 06:03:14 +00: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
Martin Diehl
26284ba2df
accidentally added
2022-11-10 09:37:16 +01:00
Philip Eisenlohr
02d785f8f1
comprehensive simulation_setup tests
2022-11-09 17:32:14 -05: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
75cf446654
including restart information
...
needed updated tests after generating new HDF5 file
2022-11-09 22:50:32 +01:00
Martin Diehl
b2db825fca
newest file format
2022-11-09 22:06:20 +01:00
Philip Eisenlohr
1a748ec5aa
shorter function name; setup_files is property
2022-11-09 09:39:47 -05:00
Daniel Otto de Mentock
1cdb7ef09f
function to list available setup files can be useful
2022-11-09 12:48:37 +01:00
Daniel Otto de Mentock
ce7d2af6e3
simulation setup export function naming and description was inaccurate
2022-11-09 12:47:47 +01:00
Philip Eisenlohr
b5b861afdd
Merge branch 'result-export-DADF5' into 'development'
...
export to new DADF5 file
See merge request damask/DAMASK!644
2022-11-08 19:01:48 +00:00
Martin Diehl
4f0db64e15
grid assemble + corrected grid.scale
2022-11-08 18:52:08 +00:00
Martin Diehl
015f1ec741
possibility to export into new DADF5 file
2022-11-07 10:10:13 +01:00
Martin Diehl
0fa9631675
testing output of export_result
2022-11-06 23:16:30 +01:00
Daniel Otto de Mentock
2c3da9c1bf
added custom path export option to Result.export_* functions
2022-11-06 18:10:23 +00:00
Daniel Otto de Mentock
580e01bd1c
fix grid add primitive bug
2022-08-29 11:44:50 +00:00
Philip Eisenlohr
ef8891797a
Merge branch 'development' into empty-table-init
2022-08-12 16:15:33 -04:00
Philip Eisenlohr
7082eab366
small test to demonstrate alternative Table init
2022-07-08 18:01:36 +02:00
Martin Diehl
bcd3d00960
fixed test
...
this tests should ensure that each Orientation has exactly one symmetrically
equivalent representation. It was not fully correct before and works as expected
after 8fefc46f38
2022-06-10 09:26:15 +02:00
Martin Diehl
cdd3b44519
using more precise coefficients also in test
...
changes in _rotation.py are just cosmetic
2022-06-09 23:54:56 +02:00
Martin Diehl
556d9d840e
specifying V_e is more natural than F_i
2022-05-19 01:15:17 +02:00
Martin Diehl
6c7f2344da
Merge branch 'normalize-to_pole' into 'development'
...
normalize to_pole output by default
See merge request damask/DAMASK!578
2022-05-15 21:46:27 +00:00
Martin Diehl
c8d48d6eb9
Merge branch 'universal-VTK.set' into 'development'
...
Universal VTK.set
See merge request damask/DAMASK!577
2022-05-13 03:44:11 +00:00
Martin Diehl
236a009e2b
Merge branch 'universal-table.set' into 'development'
...
universal Table.set
See merge request damask/DAMASK!576
2022-05-11 22:30:42 +00:00
Philip Eisenlohr
648d17d381
renamed .add to .set to be consistent with Table.set
2022-05-11 18:19:10 -04:00
Philip Eisenlohr
35aa8a9bc6
combine table.add and .set
2022-05-11 09:19:48 -04:00
Franz Roters
53c345f4f1
Merge branch 'from_fiber-improvements' into 'development'
...
From fiber improvements
See merge request damask/DAMASK!573
2022-05-11 13:13:31 +00:00
Philip Eisenlohr
b080e414ae
normalize to_pole output by default
2022-05-11 08:55:55 -04:00
Martin Diehl
302f020f63
looks better
...
at least on Linux
2022-05-11 09:22:05 +02:00
Philip Eisenlohr
c9f344758a
use symmetry-aware Miller brackets in Result.add_pole
2022-05-10 15:26:33 -04:00
Martin Diehl
f27969caf9
documenting and testing
2022-05-08 23:22:03 +02:00
Martin Diehl
06cef42927
use physical/ISO convention
2022-04-28 15:57:04 +02:00
Martin Diehl
a0455cadf3
consistently have input in radians
2022-04-28 15:46:19 +02:00
Martin Diehl
5c4d481155
common order is theta,phi
2022-04-28 01:33:33 +02:00
Martin Diehl
e0d2859202
better test coverage
2022-04-27 17:25:39 +02:00
Philip Eisenlohr
8f0240c67b
avoid option clash in Orientation.from_fiber_component
2022-04-27 08:59:55 -04:00
Martin Diehl
f3cf67d3fa
avoid code duplication and inconsistencies
2022-03-27 09:55:20 +02:00
Martin Diehl
0d57a13c9b
run tests on Windows
...
XDMF does not work (not sure why, works locally)
2022-03-26 22:16:32 +01:00
Martin Diehl
bd56a3f2a5
tests might fail on windows
2022-03-26 22:13:54 +01:00
Martin Diehl
ff3d3afe9e
'/' is separator in h5py even on windows.
...
os.path assumes OS-dependent path separators
2022-03-26 22:09:45 +01:00
Martin Diehl
c11d38b2ec
avoid blocking pop-up
2022-03-26 22:08:09 +01:00
Philip Eisenlohr
5b87fafcae
Merge branch 'consistent-orientation-from' into 'development'
...
consistent "shape" keyword in from_X
Closes #165
See merge request damask/DAMASK!546
2022-03-20 00:00:25 +00:00
Philip Eisenlohr
21e076b0f9
Table.save(with_labels=False) to properly store ANG
2022-03-17 21:23:57 -04:00
Philip Eisenlohr
378b8b2396
use consistent "shape" keyword when shape not clear from input data
2022-03-14 16:24:05 -04:00
Philip Eisenlohr
56c33b8a5c
flipped VTK.add to use (label,data) to be consistent with other functionality
2022-03-11 20:07:18 -05:00
Martin Diehl
0d22cfb83d
table.__init__ now has common order of arguments (label, data)
2022-03-11 22:31:35 +01:00
Martin Diehl
c5c2763e1f
several improvements
...
- DataFrame.append is deprecated
- restored special case `None` for Grid.vicinity_offset and Grid.clean
- sorted procedures of Grid according to functionality
2022-03-11 22:22:12 +01:00
Martin Diehl
d1c6434bb2
corner case: empty set
...
will be checked by extra test
2022-03-10 07:37:46 +01:00
Philip Eisenlohr
4f6d9aa4b6
adjusted faulty test
2022-03-09 19:01:45 -05:00
Philip Eisenlohr
f13a4c82da
grid.clean/vicinity now uses ball neighborhood; lots of polishing
2022-03-09 18:26:52 -05:00
Martin Diehl
b916712946
Merge remote-tracking branch 'origin/keyword-view' into polishing
2022-03-09 15:36:00 +01:00
Martin Diehl
c2453c56f1
Merge remote-tracking branch 'origin/development' into polishing
2022-03-09 15:22:22 +01:00
Martin Diehl
c4a7c0096a
give default directly
...
only Colormap object caused problem (tab completion triggered '__repr__'
which means showing colormap in maplotlib window
2022-03-08 22:43:54 +01:00
Philip Eisenlohr
73f01c07d0
clarified colormap default; accept string as colormap name
2022-03-08 09:31:08 -05:00
Martin Diehl
fe8e55e470
KeyError more sensible here
2022-03-07 11:28:17 +01:00
Martin Diehl
d7ba853859
use None for no selection, empty list is 'nothing'
2022-03-05 20:37:47 +01:00
Martin Diehl
a77b63718c
remove deprecated interface options
2022-03-04 20:27:32 +01:00
Martin Diehl
161e4b6815
testing new functionality
2022-03-04 10:57:49 +01:00
Martin Diehl
03912b0a03
Merge remote-tracking branch 'origin/development' into polishing
2022-03-04 03:44:36 +01:00
Martin Diehl
f9e04bc4cb
unifying interface
...
same same for same functionality, allow user to specify single integer
for convenience
2022-02-28 16:14:40 +01:00
Martin Diehl
c7b512a94e
support the user
2022-02-26 17:40:12 +01:00
Philip Eisenlohr
bee3f08d77
test __repr__ functionality with str()
2022-02-24 19:15:28 -05:00
Philip Eisenlohr
fd52c18488
remove debug print statements in tests
2022-02-24 18:35:48 -05:00
Martin Diehl
59755c67ce
human-readable reporting
2022-02-23 06:49:38 +01:00
Philip Eisenlohr
661b7fb602
slight polish
2022-02-22 10:56:12 -05:00
Martin Diehl
be11da2284
testing new functionality
2022-02-22 14:00:36 +01:00
Martin Diehl
e8a4f06634
out of place behavior for VTK
2022-02-22 07:49:44 +01:00
Philip Eisenlohr
0adc827278
Merge branch 'development' into python-vtk-improvements
2022-02-18 14:46:40 -05:00
Philip Eisenlohr
e602653b3b
remove obsolete grid_filter import
2022-02-17 18:50:53 -05:00
Philip Eisenlohr
38ac791b58
proper understanding of a rectiliniearGrid
2022-02-17 17:54:26 -05:00
Martin Diehl
ed50cd022b
shorter, potential for higher precision
...
np.sum has an better alogrithm but fails ...
2022-02-16 23:40:02 +01:00
Philip Eisenlohr
4426172c14
Merge branch 'development' into python-vtk-improvements
2022-02-15 18:07:18 -05:00
Philip Eisenlohr
c5f2865121
make apparent that vtk.get automatically "squeezes"
2022-02-15 18:04:21 -05:00
Philip Eisenlohr
e2d1ffe7b8
condensed add_table test
2022-02-15 16:42:17 -05:00