Martin Diehl
18afa217fe
easier to understand
...
limit to same fields for homogenization and fields results in a little
less flexibility (requires two views) but should be acceptable for such
a little used feature
2021-04-02 08:24:49 +02:00
Martin Diehl
58ac99831c
polishing
2021-04-02 07:47:03 +02:00
Philip Eisenlohr
f6d6aefe1d
function renaming; rewording of help messages
2021-04-01 18:41:28 -04:00
Martin Diehl
84e117c6b3
polished and added tests
2021-04-01 17:26:51 +02:00
Martin Diehl
71d1a341e4
simplified
2021-04-01 15:08:48 +02:00
Martin Diehl
2397df88f9
documenting
2021-04-01 07:21:34 +02:00
Martin Diehl
8a8a28adc4
support multi-constituents
2021-03-31 20:02:25 +02:00
Martin Diehl
be444b69ca
include homogenization
2021-03-31 15:44:27 +02:00
Martin Diehl
7b678af1b4
float and int are different
2021-03-31 12:40:53 +02:00
Martin Diehl
8c7ee5e796
simplified
2021-03-31 12:05:51 +02:00
Martin Diehl
7b846efe4a
arguments can be int, bool, str
2021-03-31 08:12:57 +02:00
Martin Diehl
eebb050a64
simplified
...
place seems to work
2021-03-31 07:56:42 +02:00
Martin Diehl
60119c1300
return minimal unique dictionaries per default
2021-03-30 21:39:14 +02:00
Martin Diehl
989992004d
cleaning dicts
2021-03-30 19:41:36 +02:00
Martin Diehl
b9b66fac45
simplified
2021-03-30 17:15:02 +02:00
Martin Diehl
b19ec4f8ae
first ideas for more user friendly usage
2021-03-30 07:24:47 +02:00
Martin Diehl
be9e00347b
cleaning
...
dropped support for legacy table
2021-03-27 10:11:31 +01:00
Martin Diehl
3b392281e4
consistent naming in HDF5 output
2021-03-25 19:22:59 +01:00
Philip Eisenlohr
e2d4ab427e
explicit path joining with "/" in _result; updated cpTi CRSS
2021-03-09 22:02:49 -05:00
Philip Eisenlohr
4208c4e713
adapted to Table.add being out-of-place
2021-03-08 11:04:49 -05:00
Philip Eisenlohr
1d62341811
Fixed missing second-to-last entry in representation list. Polished help texts.
2021-02-26 03:20:28 +01:00
Martin Diehl
6895ef6b18
always write LF line endings
...
small pitfall: I windows users use a filehandle that results from a call
to open() without the newline option, they get still CRLF line endings
2021-02-10 10:03:35 +01:00
Martin Diehl
d76543f759
better name
2021-01-13 14:57:58 +01:00
Martin Diehl
a7d998dd48
standard name
2021-01-13 14:53:50 +01:00
Martin Diehl
a881e6e57a
Merge remote-tracking branch 'origin/development' into misc-improvements
2020-12-10 23:41:59 +01:00
Martin Diehl
429b84004d
more filters
...
- shuffle: significanlty better compression
- Fletcher32: checksum to detect errors
computational overhead is very small
2020-12-06 19:57:00 +01:00
Martin Diehl
52e3fb50bc
compress.
...
Datasets are chunked along first timension. Chunk size (1MB for real) is
probably not optimal
2020-12-06 11:44:52 +01:00
Martin Diehl
000de75617
write orientation as plain array, not derived type
2020-12-06 08:36:16 +01:00
Martin Diehl
ed286ee09f
Merge branch 'rename-grid-2' into misc-improvements
2020-12-05 09:50:46 +01:00
Martin Diehl
0fdefa5e78
renames:
...
after the rename of "grid" to "cell", the name cell should not be used
for the coordinates of the cell centers. In agreement with the names
x_p/u_p for point positions/displacements, now the "point" is used to
refer to the materialpoints (i.e. cell centers)
Additionally, "_node"/"_point" are now suffixes to
"coordinates"/"displacements".
Finally, "coords" is renamed to "coordinates"
2020-12-03 23:59:37 +01:00
Martin Diehl
ac0a20696c
rename: grid -> cells
2020-12-03 22:16:34 +01:00
Martin Diehl
d3a5979d25
meaningful result
2020-12-02 14:45:47 +01:00
Martin Diehl
1c2cdbd5a1
support of all standard numpy types
...
+ tests
2020-11-30 12:33:21 +01:00
Martin Diehl
813ef927c4
consistent with "save_XDMF" (capitalized)
2020-11-30 09:28:46 +01:00
Martin Diehl
f48f5cb0e8
bugfix/better readable
2020-11-29 08:58:48 +01:00
Martin Diehl
c712332e87
using consistent names for Bravais lattice in Fortran and Python
2020-11-28 22:38:12 +01:00
Martin Diehl
a8da1e5ed9
Paraview 5.9 supports datasets of arbitrary length in XDMF
2020-11-27 22:57:15 +01:00
Francisco Jose Gallardo Basile
030062d293
Merge branch 'unit-in-vtk' into 'development'
...
Unit in vtk
See merge request damask/DAMASK!288
2020-11-24 16:21:01 +01:00
Martin Diehl
7fa98ef084
DEcode bytes into str
2020-11-23 20:17:04 +01:00
Martin Diehl
cbe8160e13
Merge remote-tracking branch 'origin/development' into vector-mechanics
2020-11-23 19:55:34 +01:00
Martin Diehl
f85dba2835
small polishing
2020-11-23 19:43:19 +01:00
Sharan Roongta
24fabdec22
Merge branch 'development' into vector-mechanics
2020-11-22 12:02:29 +01:00
Martin Diehl
2de3a6a205
fits better to stretch_left/right
2020-11-19 22:46:52 +01:00
Martin Diehl
a87596cefc
return rotation type (ensures proper rotation)
2020-11-19 22:36:19 +01:00
Martin Diehl
a4b5c2a537
shorter (but still self-explanatory) name
2020-11-19 15:20:44 +01:00
Martin Diehl
6e5cb60132
general tensor functionality
2020-11-19 15:16:01 +01:00
Martin Diehl
20d0732b2e
output unit to XDMF/vtk
2020-11-19 13:45:40 +01:00
Martin Diehl
5a5dd24687
removed aliases
2020-11-19 10:50:14 +01:00
Martin Diehl
b9b26cb2cc
output results for all constituents
2020-11-18 23:36:02 +01:00
Martin Diehl
5359e05fd3
always merge homogenization results
2020-11-18 23:17:12 +01:00
Martin Diehl
4bf802a28e
fixed documentation
2020-11-18 21:51:37 +01:00
Martin Diehl
843d7d8cac
Merge remote-tracking branch 'origin/development' into new_names_result
2020-11-18 21:37:52 +01:00
Martin Diehl
564ee6c96a
make uvw/hkl keyword-only arguments
...
avoid to prefer one over the other, since they are mutually exclusive
2020-11-18 16:45:53 +01:00
Martin Diehl
c60d9cde2a
merge 'mechanics' datasets
...
was like that for 'generic'. Needs detailed discussion in future
2020-11-18 15:52:55 +01:00
Martin Diehl
838a4ea592
[skip ci] fix for scalar values
2020-11-18 14:57:32 +01:00
Martin Diehl
870c0f7aca
removed aliases
...
required bump of DADF5 version
2020-11-18 14:53:11 +01:00
Martin Diehl
89c748fdf1
Merge remote-tracking branch 'origin/development' into vector-mechanics
2020-11-18 13:55:05 +01:00
Martin Diehl
6bedd84759
self-explanatory names
2020-11-18 08:15:04 +01:00
Martin Diehl
9b9d83d93c
adding '_tensor' not needed
2020-11-16 01:15:39 +01:00
Martin Diehl
b893967b68
more systematic names and extended docstrings
2020-11-16 01:02:36 +01:00
Martin Diehl
6f81f5278d
separating general tensor math from mechanics operations
2020-11-16 00:13:34 +01:00
Martin Diehl
51e5dda702
documentation + consistent string formatting
2020-11-15 10:54:20 +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
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
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
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
7bdd44a3d9
consistent names:
...
default file operations: save/load, non-default save_xx/load_xx
2020-09-20 22:04:28 +02:00
Philip Eisenlohr
96ad358f83
modified file reading/writing methods to load_X, save_X formalism
2020-09-15 01:14:05 -04:00
Philip Eisenlohr
6785062a10
Merge branch 'development' into 'vtk-to-file-method'
...
# Conflicts:
# python/tests/test_VTK.py
2020-08-31 21:10:29 +02:00
Franz Roters
6986d20b32
Merge branch 'geom-out-of-place' into 'development'
...
Geom methods are now out-of-place, i.e. return an updated duplicate
See merge request damask/DAMASK!203
2020-08-31 12:39:01 +02:00
Martin Diehl
c58693328e
don't try to access folders that don't exist
...
this happened in the case when different types of output exist in
different phases, e.g.
Aluminum: generic, plastic, sources
Steel: generic, plastic
We are a little bit inconsistent because 'generic' and 'plastic' are
always created (even if empty) but 'sources' will only exist if it
contains output. In future, we should have only folders that actually
contain data
2020-08-28 12:45:41 +02:00
Martin Diehl
c5761831e2
more meaningful message
...
if add_xxx (Results) does not find matching datasets, inform the user
about this fact instead of saying
TypeError: object of type 'IMapUnorderedIterator' has no len()
2020-08-27 00:14:37 +02:00
Philip Eisenlohr
3f24d16603
renamed VTK.write() to VTK.to_file()
2020-08-26 16:15:15 -04:00
Martin Diehl
9a2ac31545
explicit is better then implicit
2020-08-24 23:35:46 +02:00
Martin Diehl
55443a3ff5
reflect change of variable names in file layout version
2020-08-24 22:54:09 +02:00
Martin Diehl
a9f53f4822
non-vectorized formulas can be implemented in a user functionc
2020-07-31 17:04:14 +02:00
Martin Diehl
50d7842dbe
more tests
2020-07-31 16:50:01 +02:00
Martin Diehl
aadce1e554
Merge branch 'development' into user_defined_add_calculation
2020-07-31 16:15:31 +02:00
Martin Diehl
6259984e93
simplified
...
complicated, but allows to use functions as properties
2020-07-15 20:54:37 +02:00
Francisco Jose Gallardo Basile
e1bbaac0d7
Merge branch 'Vectorize-Orientation' into 'development'
...
Vectorize orientation
See merge request damask/DAMASK!186
2020-07-03 12:22:04 +02:00
Martin Diehl
7b3d1204fa
easier to use
2020-07-03 07:29:31 +02:00
Philip Eisenlohr
d4f97f8346
Merge branch 'misc-improvements' into 'development'
...
Misc improvements
See merge request damask/DAMASK!184
2020-07-02 21:52:47 +02:00
Philip Eisenlohr
7b899f1ff1
fixed output number format width for single increment0
2020-07-02 11:33:09 -04:00
Martin Diehl
a7e3dd5a56
Merge branch 'development' into Vectorize-Orientation
2020-07-01 13:30:39 +02:00
Martin Diehl
49d448dced
vectorized and cleaned
2020-06-30 21:43:57 +02:00
Martin Diehl
b3f5ee022a
unified style
2020-06-28 11:40:19 +02:00
Martin Diehl
1f9b5280cb
forgotten debug statement
2020-06-26 11:47:04 +02:00
Martin Diehl
bddb514072
more systematic reporting
2020-06-26 11:45:06 +02:00
Philip Eisenlohr
14d3b7e66d
more f-stringing
2020-06-24 16:59:55 -04:00
Anderson Wallace Paiva do Nascimento
3d93a5ff00
Merge branch 'migrate-to-pathlib' into 'development'
...
Migrate to pathlib
See merge request damask/DAMASK!177
2020-06-24 14:54:36 +02:00
Martin Diehl
4dae3643c9
vectorized IPF color working
...
results also uses the vectorized form.
Still needs careful checking
2020-06-20 17:15:13 +02:00
Martin Diehl
a9c61ede69
bugfix: should also work if DAMASK_NUM_THREADS is not set
2020-06-03 20:24:18 +02:00