Martin Diehl
1fcbc35611
untested python2.7 code
...
complicated code. Easier to re-implement from scratch if really needed
2019-12-09 05:25:22 +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
7dc128ad12
polishing
2019-12-08 18:33:43 +01:00
Martin Diehl
3d09a82f41
fixing prospector complaints
2019-12-08 18:22:05 +01:00
Martin Diehl
828e82605e
ensure that data is correctly ordered
2019-12-08 18:13:45 +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
b92cfbbd5b
do not use bare except
2019-12-07 20:15:50 +01:00
Martin Diehl
c6c77b64d2
following renames in grid_filter
2019-12-07 20:08:31 +01:00
Martin Diehl
e283acd606
correct way of importing for newer python versions
2019-12-07 20:07:46 +01:00
Martin Diehl
0b04f6a3bb
Merge branch 'development' into grid-filters
2019-12-07 10:52:00 +01:00
Sharan Roongta
96710a238d
Merge branch 'development' of magit1.mpie.de:damask/DAMASK into incs-no-leading-zero
2019-12-06 15:25:21 +01:00
Philip Eisenlohr
a41871e2ac
Merge branch 'new-ASCII' into 'development'
...
New table class
See merge request damask/DAMASK!104
2019-12-06 14:58:16 +01:00
Martin Diehl
f2ac87eb2f
follow changes in Table class
2019-12-06 04:22:18 +01:00
Martin Diehl
f475d1a0d0
adjusted to changes in table class
2019-12-05 13:35:06 +01:00
Martin Diehl
0eddd8a5c2
Merge branch 'new-ASCII' into grid-filters
2019-12-05 13:28:18 +01:00
Martin Diehl
90fdb24faa
forgotten variable rename
2019-12-05 13:26:33 +01:00
Martin Diehl
274aaa7359
Merge branch 'new-ASCII' into grid-filters
2019-12-05 10:50:56 +01:00
Martin Diehl
1018b89296
nice to have..
2019-12-05 10:48:42 +01:00
Martin Diehl
53a38e3a97
polishing
2019-12-05 10:37:13 +01:00
Martin Diehl
3af696995d
did not work when piping
2019-12-05 08:36:32 +01:00
Martin Diehl
469d638afb
making table class feature complete
2019-12-05 06:57:09 +01:00
Martin Diehl
ee8e3386f4
shorter but still descriptive names
2019-12-05 06:16:29 +01:00
Martin Diehl
19c55990ab
works again and uses DADF5 intrisic features
2019-12-04 18:30:08 +01:00
Martin Diehl
999321e588
Merge branch 'new-ASCII' into grid-filters
2019-12-04 07:45:01 +01:00
Martin Diehl
58a190ede8
Merge branch 'development' into incs-no-leading-zero
2019-12-04 05:19:38 +01:00
Martin Diehl
9ad8743396
using central functionality
2019-12-03 22:00:21 +01:00
Martin Diehl
ff1778d149
Merge branch 'development' into new-ASCII
2019-12-03 15:56:49 +01:00
Martin Diehl
62ca2952fc
polishing
2019-12-03 11:27:14 +01:00
Martin Diehl
e2b13a5ca3
using de-facto standard naming
2019-11-29 19:32:18 +01:00
Martin Diehl
9b4252da68
smart handling of leading zeros
2019-11-29 16:58:11 +01:00
Martin Diehl
3e65d44e07
centralized facilities for differential operations
...
note the need to reverse the grid shape in data from the ASCII table. If x is fastest,
z is slowest we require x to be the rightmost index
2019-11-28 15:46:22 +01:00
Martin Diehl
4c4ccfe72e
not needed
2019-11-28 06:27:19 +01:00
Martin Diehl
a8016d64bb
simplified
2019-11-27 12:31:32 +01:00
Martin Diehl
cee095b58e
better use centralized code
2019-11-27 12:22:28 +01:00
Martin Diehl
7d4b982c73
make information on modifications mandatory
2019-11-27 12:08:23 +01:00
Martin Diehl
9ad74745c1
missing import detected by prospector
2019-11-27 08:48:41 +01:00
Martin Diehl
ab83dc2ebc
use central facilities
2019-11-27 08:45:01 +01:00
Martin Diehl
eb033e11b2
polishing
2019-11-27 08:44:38 +01:00
Martin Diehl
31d3958ca6
using fast new Table class
...
more a proof-of-concept since shell scripts are deprecated. The detailed
error handling of the former scripts is not implemented, i.e. the user
need to ensure that the files exist and the data has the correct shape
2019-11-26 22:59:42 +01:00
Martin Diehl
2d96136a0d
more general constructor for Table
...
reading from file is just one case (now handled by static method).
General constructor needs data and header information as dictionary.
Works only with python 3.7 where dict keeps the insertion order. Earlier
python versions/other implementations might fail.
2019-11-26 22:53:46 +01:00
Martin Diehl
845cfc34ec
similar logic as in geom class
...
- filename is not part of the object
- transparent handling of files, strings, and path-like objects for file
IO
2019-11-26 14:26:25 +01:00
Martin Diehl
81abc43920
Merge branch 'development' into new-ASCII
2019-11-26 10:29:05 +01:00
Martin Diehl
faeb5a98b4
Merge branch 'PythonImprovements' into no-crystallite
2019-11-25 21:41:38 +01:00
Martin Diehl
592878d364
need to invoke function
2019-11-25 17:29:13 +01:00
Martin Diehl
406ca39b2c
ASCII table unable to handle inhomogeneous situations
2019-11-24 21:23:43 +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
c9b1944493
handling of derived datatypes/structs
...
currently required for orientation
2019-11-24 08:50:27 +01:00
Martin Diehl
dfb95df689
migrating shell scripts to python class
2019-11-22 21:48:41 +01:00
Martin Diehl
fb286af354
[skip sc] first draft
2019-10-31 10:47:40 +01:00
Martin Diehl
a2e4917d3b
not needed for DADF5
2019-10-20 19:25:09 +02:00
Martin Diehl
da79949c2a
old python2 script, not needed for DADF5
2019-10-19 23:14:17 +02:00
Martin Diehl
f4a0a5cfe5
substitute error introduced when enabling MSC.Marc
2019-10-18 22:03:31 +02:00
Martin Diehl
bd7b5ad27b
old python2.7 scripts with only a loose connection to DAMASK
...
if needed, simply take them from an old release version
2019-10-18 21:46:44 +02:00
Martin Diehl
b70ad9ff54
Merge branch 'development' into DADF5-improvements
2019-10-18 20:54:54 +02:00
Philip Eisenlohr
f8ffd7e39c
added specifics to resulting column label (sum or prod)
2019-10-18 09:30:43 -04:00
Martin Diehl
edcb8f9c4d
name change in development
2019-10-18 12:55:15 +02:00
Martin Diehl
de912c22b4
Merge branch 'development' into HDF5-spectral-displacements
2019-10-18 12:54:12 +02:00
Martin Diehl
76236a4a0c
direct initialization (float64 is anyway standard)
2019-10-17 22:41:18 +02:00
Philip Eisenlohr
03a3edc128
added option to multiply values instead of summing them
2019-10-17 13:23:14 -04:00
Franz Roters
91691744c6
Merge branch 'Marc-No-nonlocal' into 'development'
...
Marc no nonlocal
See merge request damask/DAMASK!98
2019-10-15 10:35:37 +02:00
Martin Diehl
d73e653f50
support for unstructured grid (FEM)
2019-10-14 14:13:03 +02:00
Martin Diehl
708bbd3cb9
mesh/grid type transparent handling of coordinates
2019-10-12 16:15:04 +02:00
Martin Diehl
513f1c6726
write out point data
...
might be possible to use a rectilinear grid for this also in the case of
grid solvers
2019-10-12 12:34:37 +02:00
Martin Diehl
b208fa6565
takeover from Vitesh's work with small adoptions to current DADF5
2019-10-12 08:02:57 +02:00
Martin Diehl
3206ee04bc
nodal displacements for grid solver
...
currently for non-MPI only
2019-09-27 20:38:02 -07:00
Martin Diehl
8793050329
fixed handling of subfolders
...
now inline with post results.
Still a little bit unclear what happens if an absolute directory is
given. Probably best to either specify absolute or relative with respect
to working directory
2019-09-19 16:10:07 -07:00
Martin Diehl
4cedcee0b4
handling of increments follows handling of other 'visible'-items
2019-09-15 17:08:03 -07:00
Martin Diehl
f6ac8c995f
simplified and selected better names
2019-09-15 16:00:19 -07:00
Martin Diehl
04aefa84bc
more appropriate names
2019-09-15 15:02:16 -07:00
Martin Diehl
de316f1afe
Merge remote-tracking branch 'origin/development' into even-more-HDF5-postprocessing
2019-09-14 12:48:42 -07:00
Martin Diehl
b85ac11c49
implemented ideas from discussion with Philip
...
group matching unified and with wildcard support
time step handling should become more convenient (WIP)
add_norm can not compute abs of scalar, added function for that
general polishing here and there
2019-09-14 09:07:23 -07:00
Martin Diehl
c13db4b3ca
renaming
...
on_air/active are not clear. visible seems to be the most appropriate
name
2019-09-13 21:49:22 -07:00
Martin Diehl
a6567e0cc6
safer to use functions
...
don't mess with attributes of the object, they might be renamed
2019-09-13 21:41:35 -07:00
Martin Diehl
002383afc2
solved problem with postprocessing
...
- to not 'try' with h5py library, it might have another 'try'. Check
explicitly for empty argument
also some polishing
2019-09-13 16:01:30 -07:00
Martin Diehl
52904a81dc
taking prospector complaints serious
2019-09-13 06:49:25 -07:00
Martin Diehl
a3c6f6682e
using eigh should ensure orthogonal eigenvectors
2019-09-13 06:42:01 -07:00
Martin Diehl
890a6cf42f
avoid floating point comparison and simply play it safe
2019-09-13 06:40:41 -07:00
Martin Diehl
0497b58629
use existing functionality
2019-09-13 06:38:22 -07:00
Martin Diehl
cd6a4d1cfd
that's all we need
2019-09-13 06:37:47 -07:00
Martin Diehl
66d8a3e601
stretch is symmetric (play it safe here)
2019-09-13 06:35:48 -07:00
Martin Diehl
79d2432c6c
R not needed
2019-09-13 06:33:00 -07:00
Martin Diehl
49b3cd2145
transpose evuivalent for rot but faster
2019-09-13 06:32:05 -07:00
Martin Diehl
462bb07efd
Merge branch 'development' into even-more-HDF5-postprocessing
2019-09-11 16:29:44 -07:00
Philip Eisenlohr
926217fcb6
added possibility to reduce rotation to specific fundamental zone, and to output 3-dim Rodrigues vector
2019-09-10 15:09:27 -04:00
Martin Diehl
d446248d75
also ouptut materialpoint results if requested
2019-07-15 17:07:04 -07:00
Martin Diehl
b6bb8a4650
simple strain calculation for DADF5
...
further enhancement requires to give optional arguments to
add_genericpontwise
2019-07-06 21:41:29 -07:00
Martin Diehl
a8ed982706
[skip ci] better name
2019-06-15 07:31:30 +02:00
Martin Diehl
eb8be13203
missing import
2019-06-14 17:27:00 +02:00
Martin Diehl
1cf9c59850
standardizing
...
import follows PEP style guide, encoding not needed for python3
2019-06-14 13:03:30 +02:00
Martin Diehl
4ff3efb1a5
to 'stack' tables
2019-06-13 23:14:40 +02:00