Commit Graph

655 Commits

Author SHA1 Message Date
Martin Diehl eeb0df3a55 do not store absolute path 2020-05-05 10:42:54 +02:00
Martin Diehl 31c397255d equivalent (for a valid DADF5 file) but faster 2020-05-05 10:18:48 +02:00
Martin Diehl 14cdc031e0 write XDMF files
the limitation to scalar, 3-vector and 3x3-tensor comes currently from
XDMF/vtk/paraview

extension to multiple constituents and unstructured meshes might be
possible
2020-05-05 09:57:22 +02:00
Martin Diehl 6e99956b58 Merge branch 'development' into misc-improvements 2020-05-05 09:22:53 +02:00
Martin Diehl b88f5ec0c8 clean up 2020-05-01 14:53:40 +02:00
Martin Diehl 9e79935add Merge branch 'development' into less-shell-scripts 2020-04-28 20:43:16 +02:00
Martin Diehl 6864b9525d go back to original dir as soon as possible 2020-04-26 14:52:27 +02:00
Martin Diehl f02c77b6d0 more reasonable tolerance
still relatively high because ctf files store position with constant
number of digits and floating dot. Hence, the precision is very low
2020-04-24 20:01:57 +02:00
Martin Diehl 1610d5a5d2 Merge branch 'development' into misc-improvements 2020-04-24 20:01:40 +02:00
Martin Diehl 707324887f inform the user about planned functionality 2020-04-24 06:52:09 +02:00
Martin Diehl 042f64200c Merge branch 'development' into vectorize_rotation 2020-04-24 06:31:14 +02:00
Francisco Jose Gallardo Basile 898cf42aca Merge branch 'fix-grid-convention' into 'development'
Fix grid convention

See merge request damask/DAMASK!160
2020-04-23 19:02:23 +02:00
Martin Diehl cc3fa156cf support change of directory one object has been created 2020-04-23 16:29:20 +02:00
Martin Diehl a0b7c51bec less strict tolerances
grid position reported by EBSD has only a few decimal places, so
rounding errors occur
2020-04-22 23:32:34 +02:00
Martin Diehl 3621dddd66 test deviatoric part for known analytic solution 2020-04-22 09:16:53 +02:00
Martin Diehl 53b8c1c893 simplified 2020-04-22 08:58:43 +02:00
Martin Diehl a8c6fdd9ba for the sake of completeness 2020-04-22 07:40:02 +02:00
Martin Diehl 7efe14be35 Merge branch 'development' into vectorize_rotation 2020-04-21 19:29:30 +02:00
Martin Diehl 97a5880d76 ensure correct shape 2020-04-21 13:22:55 +02:00
Martin Diehl 75d7238376 vectorized as_XXX 2020-04-21 12:27:50 +02:00
Martin Diehl ae3eca5f98 fix for vectorized from_random 2020-04-21 12:08:16 +02:00
Martin Diehl ac75b9e4ca improved reporting + test 2020-04-21 11:17:15 +02:00
Martin Diehl 23fc58699f vectorize Rotation.fromXXX functions 2020-04-21 10:55:45 +02:00
Martin Diehl 4a05cdbbbb copy and paste error 2020-04-21 03:26:26 +02:00
Martin Diehl 528378eba2 polishing/bugfix
* HDF5 data has x fast, therefore reshape needs to be aware of 'F' order
* Datatype for True/False is 'bool' in python, not 'Boolean'
2020-04-20 22:51:51 +02:00
Martin Diehl 00cb17ccfa commenting 2020-04-20 22:47:55 +02:00
Martin Diehl 93db1b37ca some useful information 2020-04-20 22:32:13 +02:00
Martin Diehl 25d29bf438 no need for Fortran order forward/backward 2020-04-20 20:24:55 +02:00
Martin Diehl 1ccda22ae3 nothing to flatten here 2020-04-20 20:16:25 +02:00
Martin Diehl 4db91fff03 simplified 2020-04-20 20:14:27 +02:00
Martin Diehl f519e62cd5 testing data layout checks 2020-04-20 13:56:33 +02:00
Martin Diehl 02dde3c255 test also invalid operations 2020-04-20 13:10:13 +02:00
Martin Diehl 9979eb58f4 consistent layout for grid data
has now always the shape ([x,y,z,...]) with x fastest. For conversion from or
to linear layout ([x*y*z,...]), e.g. storage in ASCII table, reshape needs
to have the 'F' option.
Credits to Vitesh and Fran for pointing this out.
2020-04-20 13:09:59 +02:00
Martin Diehl bce5ed62d5 polishing 2020-04-20 10:13:15 +02:00
Martin Diehl e3958263e3 Merge branch 'development' into misc-improvements 2020-04-15 21:03:51 +02:00
Karo Sedighiani 03aa6f9c80 Merge branch 'vectorize_rotation' into development 2020-04-14 19:34:11 +02:00
Philip Eisenlohr d3eba41519 [skip ci] fixed bug of double execution of np.degrees in asAxisAngle 2020-04-14 12:22:41 -04:00
Martin Diehl 69857176b2 search and replace error 2020-04-14 15:33:20 +02:00
Martin Diehl 3d10266fbc similar style as for other conversions 2020-04-12 01:29:11 +02:00
Martin Diehl 04fbc38a4b keep namespace clean and avoid overwriting in fromXXX functions 2020-04-12 01:19:11 +02:00
Martin Diehl f41a47ce8b polishing and slightly stricter tolerances 2020-04-11 23:27:25 +02:00
Martin Diehl c0c37fe6a5 polishing 2020-04-11 20:42:46 +02:00
Martin Diehl c57f96cd6e also missing 2020-04-11 18:32:06 +02:00
Martin Diehl 8c61f67e34 cleaning 2020-04-11 18:24:54 +02:00
Martin Diehl 296a75d452 where not needed 2020-04-11 18:00:59 +02:00
Martin Diehl fac33ec408 polishing 2020-04-11 17:23:54 +02:00
Martin Diehl 51104bfc13 do not transpose for the standard case 2020-04-11 17:19:12 +02:00
Martin Diehl cb9daccdd7 homochoric representation vectorized 2020-04-11 16:14:40 +02:00
Martin Diehl 99655c9f61 more vectorized functions 2020-04-11 13:59:16 +02:00
Martin Diehl 4e759d6c98 more tests for orientation conversion
ensure that all parameters are within range and check if
multidimensional arrays at least run
2020-04-11 12:37:21 +02:00