Commit Graph

10474 Commits

Author SHA1 Message Date
Philip Eisenlohr 8d52a3d52a polishing of geom_rescale; adopted modified testing reference 2019-06-03 14:15:23 -04:00
Philip Eisenlohr 8e023a1f57 modified geom_mirror test to include --reflect option consistent with (former) reference output 2019-06-03 13:56:05 -04:00
Philip Eisenlohr 2870fdb25b fixed buggy version 2019-06-03 13:39:45 -04:00
Philip Eisenlohr 89e4bc800c removed default size to adjust to changes in geom-class 2019-06-03 13:38:48 -04:00
Philip Eisenlohr 60031cc806 changed periodic option to reflect to better reflect what happens 2019-06-03 13:35:37 -04:00
Philip Eisenlohr 7ea417d585 rotated geometry maintains center of gravity 2019-06-03 13:30:14 -04:00
Philip Eisenlohr dff690611e fixed origin bug in VTK; VTK can be float; size defaults to 1 as longest dimension 2019-06-03 13:29:30 -04:00
Martin Diehl 615ff4ed06 [skip ci] vectorized 2019-05-31 23:26:32 +02:00
Martin Diehl c045bd6355 cleaning 2019-05-31 20:53:24 +02:00
Martin Diehl 95d93ce58c one implicit none is enough 2019-05-31 20:17:21 +02:00
Martin Diehl dbfaf66472 pInt not needed 2019-05-31 20:14:35 +02:00
Martin Diehl 20bfa3cab4 Merge branch 'development' into even-more-HDF5-postprocessing 2019-05-31 20:01:17 +02:00
Martin Diehl e0971a9b05 Merge branch 'development' into geometry-class 2019-05-31 16:58:16 +02:00
Martin Diehl bf27505faa Merge branch 'development' into geometry-class 2019-05-31 16:21:50 +02:00
Martin Diehl 02671c5c03 bugfix
shoud now work for any possible combination of new and old grid and
offset
2019-05-31 15:58:47 +02:00
Test User 236b5c8bde [skip ci] updated version information after successful test of v2.0.3-367-g70428155 2019-05-31 15:40:17 +02:00
Franz Roters 7042815542 Merge branch 'grid-mesh-cleanup' into 'development'
Grid mesh cleanup

See merge request damask/DAMASK!80
2019-05-31 12:34:46 +02:00
Martin Diehl 979145f023 vectorized 2019-05-31 10:27:26 +02:00
Martin Diehl 30826c5c86 not supported anymore
is part of the geometry
2019-05-31 09:05:58 +02:00
Test User 45efa9cc91 [skip ci] updated version information after successful test of v2.0.3-350-g8c38a2e5 2019-05-31 05:47:53 +02:00
Martin Diehl d4392dc1bd one implicit none is enough 2019-05-30 23:58:59 +02:00
Martin Diehl ce9d6a5077 Merge branch 'development' into grid-mesh-cleanup 2019-05-30 23:52:37 +02:00
Martin Diehl 37de73535d following PEP style guide 2019-05-30 20:08:39 +02:00
Martin Diehl 4cb0ba3803 not needed anymore 2019-05-30 19:26:41 +02:00
Martin Diehl 8c38a2e56f include relaxation to nonlocal tests 2019-05-30 17:39:49 +02:00
Martin Diehl 305c72584f Merge branch 'development' into test_PETSc_pointer 2019-05-30 17:31:51 +02:00
Martin Diehl 46f0ad052e direct support for vtk output
- geom_check can now handle multiple files
- microstructure index is stored as integer in vtk file
2019-05-30 15:35:45 +02:00
Martin Diehl 08052737cf if grid is an option, it is a tuple
tuples do not have the prod() function
2019-05-30 14:28:31 +02:00
Martin Diehl c2a5f37818 round to reasonable precision
without symmetry, there are 36000**3 = 46656000000000 orientations
2019-05-30 14:11:54 +02:00
Martin Diehl bf60cffab5 cleaning 2019-05-30 14:07:49 +02:00
Martin Diehl d0c7f8b934 texture is typically the more interesting information
therefore, but it to the top
2019-05-30 14:05:45 +02:00
Martin Diehl 8380071564 using geom class
- dropped the use of the material class as it does not allow to have
empty phase and crystallite. The material.config class needs a severe
refurbishing (no crystallite, use orderedDict instead of hand written
solution, drop of texture components). Probably best solution is to
postpone this until we have a yaml/json reader for Fortran.
2019-05-30 13:30:38 +02:00
Martin Diehl 7d07a3752f polishing 2019-05-30 13:30:18 +02:00
Martin Diehl b00581f1be less picky on allowed datatypes 2019-05-30 13:29:29 +02:00
Martin Diehl 461611cde7 polishing 2019-05-30 11:26:47 +02:00
Martin Diehl 49c3903cc7 explicit loop for simpler code
- no invalid combintations any more (allow to move the original
microstructure out of the new canvas)
- handling of origin needs discussion. When we want to recover the old
behavior, the origin might be located outside of the new geometry
2019-05-30 11:26:07 +02:00
Test User 43a50713b0 [skip ci] updated version information after successful test of v2.0.3-344-gb25c64d1 2019-05-30 11:00:01 +02:00
Martin Diehl e974bb9c43 similar structure for building blocks 2019-05-30 10:45:17 +02:00
Martin Diehl 510b55df50 several improvements
- more error checking
- order of points can be arbitrary also for microstructure input
- grouping of same orientation/phase combinations
2019-05-30 10:33:01 +02:00
Martin Diehl 931fa9d36a standardized and cleaned
-write to file if given
-type casting is done in the geom class
2019-05-30 10:20:07 +02:00
Martin Diehl 07276d511c modern python formatting
- 2 digits should be precise enough for euler angles
- no need to pad grain ID with leading zeros
2019-05-30 10:03:55 +02:00
Martin Diehl 73df615ff3 numpy meshgrid can do this now 2019-05-30 09:45:30 +02:00
Martin Diehl 4e0e5a2329 new python formatting style 2019-05-30 09:41:22 +02:00
Martin Diehl f30eda0267 no need to loop over files
will procude the same file over and over again
2019-05-30 09:32:37 +02:00
Martin Diehl c5daa7e577 update tests
-using separte PRIVATE branch geometry-class, not master
2019-05-30 09:19:16 +02:00
Martin Diehl b25c64d10d Merge branch 'cleaning-pInt-use' into 'development'
Remove use-only statements

See merge request damask/DAMASK!83
2019-05-30 08:48:23 +02:00
Philip Eisenlohr cdc8338347 full (not periodic) mirroring is geom_mirror default behavior 2019-05-29 20:22:29 -06:00
Philip Eisenlohr d79f0c6290 replace geom_canvas --blank with geom_fromScratch 2019-05-29 20:02:06 -06:00
Philip Eisenlohr 17168525b6 use srepr in __repr__ 2019-05-29 18:14:30 -06:00
Martin Diehl fd9801ba09 StringIO not needed 2019-05-29 19:44:38 +02:00