Martin Diehl
6254063b4b
not used
2020-03-31 12:52:46 +02:00
Martin Diehl
bcbdd87870
base substitution on original microstructure
2020-03-29 23:50:09 +02:00
Martin Diehl
396d428af7
bugfix: works for all cuboids, not just cubes
2020-03-29 23:09:43 +02:00
Martin Diehl
f1b4d81fb4
simplified
2020-03-29 19:11:36 +02:00
Martin Diehl
04cb8111c6
only used for non-selective
2020-03-22 07:08:54 +01:00
Martin Diehl
3873a3d20d
restoring working structure for config submodule
2020-03-21 22:17:07 +01:00
Martin Diehl
b53288c0be
distance already controls whether tesselation works
...
at least for sufficiently large d
2020-03-21 21:50:15 +01:00
Martin Diehl
2c1a654966
more conservative estimate
2020-03-21 21:10:14 +01:00
Martin Diehl
67f64b7a7a
polishing
2020-03-21 18:01:26 +01:00
Martin Diehl
f961f3590c
tested
...
bugfix: correct coordinates for periodic Laguerre
performance: do not waste memory
2020-03-21 17:53:59 +01:00
Martin Diehl
a2b92569d2
local functions cannot be pickled (required for multiprocessing)
2020-03-21 17:04:27 +01:00
Martin Diehl
c31c9be628
fix for periodic copies
...
old version had huge memory consumption as was probably wrong
2020-03-21 16:41:52 +01:00
Martin Diehl
ab1ab42e75
easier to specify size directly
2020-03-21 15:17:02 +01:00
Martin Diehl
42b9ccf99e
less complicated
2020-03-21 11:36:34 +01:00
Martin Diehl
d636b53e2b
duplicated comment line
2020-03-20 10:27:46 +01:00
Martin Diehl
509f8cfcc9
cleaning
2020-03-20 06:42:13 +01:00
Martin Diehl
0f45559271
store microstructure as integers
2020-03-20 06:24:41 +01:00
Martin Diehl
3caad0bdf4
store microstructure indices as integers
2020-03-20 06:00:42 +01:00
Martin Diehl
064dabe34b
Polishing
...
- keep microstructure as integer
- avoid constant reshape
- IMPORTANT: random order has changed!
2020-03-20 00:50:42 +01:00
Martin Diehl
0556827f29
less error prone
2020-03-19 20:19:47 +01:00
Martin Diehl
27532cfa4e
small fixes
2020-03-19 12:03:55 +01:00
Martin Diehl
7d47418381
migrating to new Table class ...
...
... and stripping old ASCIItable down
2020-03-19 07:27:11 +01:00
Martin Diehl
ab84ac1c24
polishing of some tests
2020-03-18 14:11:31 +01:00
Martin Diehl
b5a1295cb9
ASCIItable -> Table
2020-03-18 13:47:09 +01:00
Martin Diehl
45e3b8f7c6
no brackets for reshape required
2020-03-17 12:25:44 +01:00
Martin Diehl
6a1354f80f
typo
2020-03-17 11:57:36 +01:00
Martin Diehl
49caa77bbd
new class, less code
2020-03-17 11:24:15 +01:00
Martin Diehl
b65c3959f1
simplified
2020-03-17 11:10:02 +01:00
Martin Diehl
f46d79ec87
simplified
2020-03-17 10:52:44 +01:00
Martin Diehl
ba8eab646b
clearer structure and faster
2020-03-17 10:39:33 +01:00
Martin Diehl
233642ed08
using library function
2020-03-17 10:16:53 +01:00
Martin Diehl
d87d13087c
unmaintained python2.7 scripts
2020-03-16 22:50:09 +01:00
Martin Diehl
f431dd2092
geom class is better suited than asciitable class
...
removing unused functionality from deprecated asciitable
2020-02-29 19:31:27 +01:00
Martin Diehl
75280b9fb4
correct conversion for python3
2020-02-21 11:02:31 +01:00
Martin Diehl
bc1d356d21
fixing prospector complaints
...
'except Exception': not really nice, but shell scripts will be remove
soon anyway
2020-02-20 15:27:37 +01:00
Martin Diehl
e93f5c84ff
'buffered' has no effect any more
2020-02-20 15:05:38 +01:00
Martin Diehl
757dc4e234
new style table
...
no header, comments given by '#': Very standard format, we just take
care of multidimensional columns via special label notation
2020-01-20 12:51:09 +01:00
Martin Diehl
d66b05134d
less code, faster execution
2020-01-15 14:09:26 +01:00
Martin Diehl
f9772a3df8
more descriptive name
2020-01-13 02:51:49 +01:00
Martin Diehl
a3664bbde1
need to reverse F->C flip
2020-01-02 17:46:14 +01:00
Martin Diehl
9e94955626
wrong coordinates for non-cubical grids
2019-12-24 15:58:37 +01:00
Martin Diehl
0d1ff72c45
Merge branch 'grid-filters' into MiscImprovements
2019-12-21 06:57:38 +01:00
Martin Diehl
f0d3b29b82
Merge branch 'development' into MiscImprovements
2019-12-21 06:53:56 +01:00
Martin Diehl
2c5f7d3b5a
Merge branch 'development' into grid-filters
2019-12-20 14:32:20 +01:00
Martin Diehl
6114f5c325
inplace option does not exist anymore
2019-12-19 18:04:24 +01:00
Martin Diehl
c46c18de6f
taking care of prospector complaints
2019-12-10 16:23:06 +01:00
Martin Diehl
82c741d6bb
crystallite not needed anymore
2019-12-09 05:32:38 +01:00
Martin Diehl
1955d09d3f
modernizing
2019-12-08 22:35:58 +01:00
Martin Diehl
0bf22fd03c
using central functionality
2019-12-08 22:35:39 +01:00
Martin Diehl
3d09a82f41
fixing prospector complaints
2019-12-08 18:22:05 +01:00
Martin Diehl
75e93d9f0c
relying on central functionality improves readability
2019-12-08 15:56:15 +01:00
Martin Diehl
f19694f734
starting to use central functionality
2019-12-08 11:20:47 +01:00
Martin Diehl
0292e8fcc7
preparing transition to Geom and Table classes
2019-12-08 11:11:02 +01:00
Martin Diehl
871ff4c218
use geom class
2019-12-08 09:31:56 +01:00
Martin Diehl
12564557e6
using central functionality
2019-12-08 09:18:15 +01:00
Martin Diehl
592878d364
need to invoke function
2019-11-25 17:29:13 +01:00
Martin Diehl
3e8518d861
following prospector guidelines
2019-11-24 19:30:00 +01:00
Martin Diehl
c9f9f7c681
pack causes trouble with tests ..
2019-11-24 19:02:19 +01:00
Martin Diehl
b2cdabd009
getting rid of shell scripts
2019-11-24 18:25:53 +01:00
Martin Diehl
816e86ae5f
phasing out python shell scripts
2019-11-24 15:13:26 +01:00
Martin Diehl
8186be6293
compress functionality should be part of the geom class
...
automated decision is base on heuristic whether compression is memory
efficient
2019-11-24 14:27:24 +01:00
Martin Diehl
6060abb375
cleaning
2019-11-24 09:10:47 +01:00
Martin Diehl
dfb95df689
migrating shell scripts to python class
2019-11-22 21:48:41 +01:00
Martin Diehl
a2e4917d3b
not needed for DADF5
2019-10-20 19:25:09 +02:00
Philip Eisenlohr
bffeaa980d
restored Martin's logic, not clear why seemed to be broken with PE's former tests...
2019-06-03 14:43:23 -04:00
Philip Eisenlohr
8d52a3d52a
polishing of geom_rescale; adopted modified testing reference
2019-06-03 14:15:23 -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
Martin Diehl
615ff4ed06
[skip ci] vectorized
2019-05-31 23:26:32 +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
Martin Diehl
979145f023
vectorized
2019-05-31 10:27:26 +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
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
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
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
Martin Diehl
fd9801ba09
StringIO not needed
2019-05-29 19:44:38 +02:00
Martin Diehl
d7e8a66746
polishing
2019-05-29 14:18:11 +02:00
Martin Diehl
16bd5294aa
loop order as intented
2019-05-29 14:06:39 +02:00
Martin Diehl
78f30684f8
moderized
...
needs some polishing with respect to array orders
2019-05-29 09:40:56 +02:00
Martin Diehl
6836a2eae8
better readable
2019-05-29 08:04:01 +02:00
Martin Diehl
dfc2b47abc
better readable
2019-05-29 08:01:00 +02:00
Martin Diehl
8ee23b37b2
should not be part of the repo
2019-05-29 07:52:44 +02:00
Martin Diehl
bb6f54963a
save some memory (avoid copies if not needed)
2019-05-29 07:49:43 +02:00
Martin Diehl
9f68923038
restored old behavior
...
save some ressources by avoiding copies.
much slower than old version, better cast formula into meshgrid again
2019-05-29 07:38:11 +02:00