Martin Diehl
e431d89957
polishing
2021-05-28 13:20:56 +02:00
Martin Diehl
dd4612dd9b
support singular names
...
e.g. self.iterate('phase')
2021-05-28 08:06:58 +02:00
Martin Diehl
89fc2f05cf
no need to attach static data
...
if needed, a 'kinematics' function that provides slip direction and
plane normal rotated according to the orientation would be helpful
2021-05-27 20:23:22 +02:00
Martin Diehl
bfc3fe410f
no direct connection to Orientation object
2021-05-27 19:10:23 +02:00
Martin Diehl
f7e1aad147
single source of truth
2021-05-27 18:44:20 +02:00
Martin Diehl
545a085c93
no need to hide, just add suffix to avoid clash with string argument
2021-05-27 18:41:42 +02:00
Martin Diehl
adb1e51e24
support for 2D tensor in load case
...
currently optional, but should become mandatory after a transition
period
2021-05-26 08:04:14 +02:00
Martin Diehl
40698740aa
fixed symmetry handling
...
- ort not tested, no examples, no documentation => removed
- aP is the opposite of isotropic => removed
isostropic materials can be easily specified as cI or cF, using C_44 =
1/2 * (C_11 - C_12). Acceptable extra effort for special use case
orthorhombic can be easily implemented if needed, but needs test,
documentation, and examples
2021-05-24 15:45:25 +02:00
Martin Diehl
0b80252d97
Merge remote-tracking branch 'origin/123_bccSlipSystem' into development
2021-05-22 22:40:33 +02:00
Sharan Roongta
fa3b077b72
Merge remote-tracking branch 'origin/development' into internal-restructure
2021-05-21 12:32:59 +02:00
f.basile
10c6070873
added {123} slips systems of bcc
2021-05-20 18:45:15 +02:00
Sharan Roongta
125e8fb9e2
Merge remote-tracking branch 'origin/development' into internal-restructure
2021-05-20 10:41:59 +02:00
Sharan Roongta
edb7834404
typo
2021-05-20 10:30:00 +02:00
Martin Diehl
2648464525
relax tolerances for quaternion initialization
...
we read in ASCII/YAML files, 1e-8 must be enough
2021-05-19 09:46:02 +02:00
Martin Diehl
85ecb68b8f
Merge remote-tracking branch 'origin/development' into MatrixInteraction_clean
2021-05-11 06:00:16 +02:00
Philip Eisenlohr
d6e69d5d4b
[skip ci] polishing of doc string
2021-05-10 14:44:58 -04:00
Martin Diehl
053c427509
adjusting to new interaction matrices
2021-05-09 14:50:55 +02:00
Martin Diehl
bc8a03b392
Merge branch 'python-polishing' into lattice-into-orientation
2021-05-07 22:04:25 +02:00
Martin Diehl
9c9286a4be
no connection to the class
2021-05-07 21:51:11 +02:00
Martin Diehl
cb8dbf6eda
simplified
2021-05-07 21:33:48 +02:00
Martin Diehl
a48fa5d797
better readable and documented
2021-05-07 20:07:59 +02:00
Martin Diehl
8626f6c047
hide imported modules in autocompletion
2021-05-06 15:00:03 +02:00
Martin Diehl
b1ad8197f2
object oriented approach
...
Orientation (of special lattice) should not have generic attributes
Also, import at the beginning of the file
2021-04-29 20:59:54 +02:00
Martin Diehl
b061b4911d
compatible with older scipy versions
2021-04-29 08:58:32 +02:00
Martin Diehl
3c41cd609f
Merge branch 'development' into env-reporting
2021-04-29 08:40:29 +02:00
Martin Diehl
00bc6a9031
4 threads as default. Reasonable for modern computers
...
hardcoded + and as shell variable
2021-04-28 20:26:25 +02:00
Martin Diehl
ff8ce3840b
handle infinite loop
2021-04-28 08:03:22 +02:00
Philip Eisenlohr
e9cfb2f968
Merge branch 'drop-old-DADF5-support' into 'development'
...
Improvements to damask.Result
See merge request damask/DAMASK!373
2021-04-27 00:33:41 +00:00
Philip Eisenlohr
ba938f1746
need to check for isinstance(int)
2021-04-26 17:56:15 -04:00
Philip Eisenlohr
5567512f73
removed unnecessary f-strings; added any -x to increments view
2021-04-26 14:26:16 -04:00
Philip Eisenlohr
b1bbe5528b
[skip ci] fixed mistake (R --> Q) in example
2021-04-26 17:09:11 +00:00
Franz Roters
55333f7e3e
Merge branch 'no-shell-variables' into 'development'
...
KISS: no shell variables
See merge request damask/DAMASK!370
2021-04-26 15:48:58 +00:00
Martin Diehl
de79d2d897
test handling of Marc results
2021-04-26 00:28:39 +02:00
Martin Diehl
62c987badf
add tracer to vtk files
2021-04-25 23:54:33 +02:00
Martin Diehl
68a839ed97
typo + improved help
2021-04-25 22:14:13 +02:00
Martin Diehl
d4a46b9be8
Merge remote-tracking branch 'origin/development' into drop-old-DADF5-support
2021-04-25 17:34:14 +02:00
Martin Diehl
0459f17f58
improved usability
2021-04-25 07:58:15 +02:00
Martin Diehl
18aa6f7f12
support for string arrays
...
allows to add phase label from mapping. Only scalar string arrays are
allowed (no real restriction)
2021-04-24 22:50:59 +02:00
Martin Diehl
6e1fe712c7
Merge branch 'python-documentation' into drop-old-DADF5-support
2021-04-24 19:39:28 +02:00
Philip Eisenlohr
690b478013
[skip ci] language polishing
2021-04-24 13:12:44 -04:00
Martin Diehl
24046ef683
support the user
2021-04-24 18:00:57 +02:00
Martin Diehl
95831e53f6
using improved documentation
2021-04-24 16:23:34 +02:00
Martin Diehl
3977e230b3
documenting and ensuring consistent argument names
...
'name' for a dataset matches the analogy to a file name
2021-04-24 14:47:45 +02:00
Martin Diehl
4d67c85a33
clarify out-of-place behavior and document return values
2021-04-23 23:32:09 +02:00
Martin Diehl
26f37d822d
state return value
...
not for Rotation as its docstring is extended by Orientation
2021-04-23 19:15:11 +02:00
Martin Diehl
6699f2ee5f
don't use shell variables
...
Marc solver can be controlled in python, installation can be tuned with
CLI arguments
2021-04-22 12:02:53 +02:00
Martin Diehl
3f8bd645d8
handle the case that MSC-related variables are not set
2021-04-22 07:55:41 +02:00
Martin Diehl
190ddafa44
don't support old file formats
2021-04-14 23:23:32 +02:00
Martin Diehl
0e6cb127df
damage can be defined in parts of the domain ...
2021-04-14 19:24:45 +02:00
Sharan Roongta
1be1a72a09
Merge branch 'Fortran-cleaning' into 'development'
...
Clarifying structure
See merge request damask/DAMASK!368
2021-04-13 11:08:18 +00:00
Martin Diehl
cfbb2d416f
better example
2021-04-10 23:58:53 +02:00
Martin Diehl
1133090b6c
logfile does not contain much valuable information
...
Marc automatically creates .out
2021-04-10 23:50:20 +02:00
Martin Diehl
37df78a8e0
don't show progress bar for empty iterations
2021-04-10 15:01:50 +02:00
Martin Diehl
d304654972
allow easy detection of empty view/get/place
2021-04-10 09:33:45 +02:00
Martin Diehl
07d573a56d
more helpful dataset descriptors
...
phase label for single phase material not helpful
2021-04-10 09:32:21 +02:00
Martin Diehl
44331c504b
__class__ is unknown (says prospector)
2021-04-10 08:29:42 +02:00
Martin Diehl
63b343ad87
Merge branch 'development' into allclose-rotation-orientation
2021-04-10 08:05:25 +02:00
Martin Diehl
e89236b14d
bugfix:
...
don't overwrite data when doing a 'place-like' operation to merge
datasets
2021-04-08 17:36:33 +02:00
Martin Diehl
2d8658822d
report return value
2021-04-08 14:58:22 +02:00
Martin Diehl
00aed99419
naming of tests should follow naming in class
2021-04-08 13:39:48 +02:00
Martin Diehl
bc1454970c
mandatory symmetry
...
if symmetry is not of interest, damask.Rotation should be used
2021-04-06 22:49:08 +02:00
Philip Eisenlohr
bf2515c4c1
removed `Grid.diff` in lieu of `__eq__`
2021-04-06 12:10:35 -04:00
Philip Eisenlohr
bf4c88a39e
renamed result.read to get; polishing
2021-04-06 11:39:44 -04:00
Martin Diehl
02277fb820
consistently return masked array
2021-04-05 22:18:18 +02:00
Martin Diehl
d5806075d4
distinguish isclose/allclose and __eq__
2021-04-05 22:15:03 +02:00
Martin Diehl
115e3dd4c7
simplified
2021-04-05 17:18:12 +02:00
Martin Diehl
faa9e6aa6a
open file only once
2021-04-05 15:58:10 +02:00
Martin Diehl
c3a7a85f7a
avoid repetition
2021-04-05 15:41:28 +02:00
Martin Diehl
9db1ef9ed7
polishing
2021-04-05 13:41:49 +02:00
Martin Diehl
65b03aeb2d
Merge remote-tracking branch 'origin/development' into Results.read-.place
2021-04-05 10:22:49 +02:00
Martin Diehl
62c85db745
out of place behavior
2021-04-05 08:03:00 +02:00
Martin Diehl
fc409fcf08
'join' is always linear in time, '+' not
2021-04-04 22:12:28 +02:00
Martin Diehl
1d6b56346a
use 'view' and standardized calling signature
2021-04-04 20:56:30 +02:00
Martin Diehl
0e5f693fea
untangling
2021-04-04 19:44:06 +02:00
Martin Diehl
e1d57f176d
simplifying
...
[] has a special meaning for glob, use () to indicate direction for IPF
color. It is anyways the sample direction, not a crystallographic
direction
2021-04-04 19:05:58 +02:00
Martin Diehl
d78e0085fc
simplified
2021-04-04 18:32:17 +02:00
Martin Diehl
a962777d24
avoid code duplication
2021-04-04 13:38:40 +02:00
Martin Diehl
6fef46539e
standard names
2021-04-04 13:16:14 +02:00
Martin Diehl
6f3dc80079
simplified/using new functionality
2021-04-03 16:32:48 +02:00
Martin Diehl
27f2e3b26e
avoid random order when using sets
2021-04-03 12:21:06 +02:00
Martin Diehl
885aeb62e5
geometry0 itself is useful
...
can be combined with 'place' if in-memory VTK is required for spatial
operations
2021-04-03 08:58:22 +02:00
Martin Diehl
39c0bc9de6
polishing
2021-04-03 08:19:16 +02:00
Martin Diehl
1b2d892b42
keep reference folder clean
2021-04-03 07:31:31 +02:00
Martin Diehl
20d0242d59
using new logic
2021-04-02 12:21:27 +02:00
Martin Diehl
e8ff509502
output all datasets per default
...
respect 'field' selection
2021-04-02 11:29:58 +02:00
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
cf1ce6a1fe
support for masked array
...
masked arrays are the outcome of Result.place
2021-04-02 08:07:22 +02:00
Martin Diehl
58ac99831c
polishing
2021-04-02 07:47:03 +02:00
Martin Diehl
9459fea929
support for pandas not planned any more
...
damask.Table supports multidimensional data, numpy.ma supports masked
arrays
2021-04-02 07:42:54 +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
4b9fcf2f77
testing new read functionality
2021-04-01 14:55:50 +02:00
Martin Diehl
85aaaa96f3
new tests
2021-04-01 10:47:45 +02:00
Martin Diehl
2397df88f9
documenting
2021-04-01 07:21:34 +02:00
Martin Diehl
c1f7ea750b
legacy access not needed anymore
2021-04-01 06:55:47 +02:00
Martin Diehl
8a3af87e3e
Merge remote-tracking branch 'origin/development' into spring-cleaning
2021-04-01 00:09:51 +02:00
Philip Eisenlohr
07c9cf5f1a
- improved reporting and slicing of table.
...
- implemented numpy-like `allclose` and `isclose`
2021-03-31 18:30:07 +00: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
97e6c397d9
cleaned
2021-03-31 15:10:39 +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
e9c65dee73
documenting and testing
2021-03-31 10:59:21 +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
7865092b82
not needed
2021-03-30 17:24:19 +02:00
Martin Diehl
b9b66fac45
simplified
2021-03-30 17:15:02 +02:00
Martin Diehl
d1af4b031a
source for python-compatible versioning
2021-03-30 17:02:57 +02:00
Martin Diehl
b19ec4f8ae
first ideas for more user friendly usage
2021-03-30 07:24:47 +02:00
Martin Diehl
3fe1accf18
not used anymore
2021-03-28 19:48:44 +02:00
Martin Diehl
5ea2fa97a0
untested and unused code
2021-03-28 12:46:26 +02:00
Martin Diehl
a587e70704
split into small sections and test damage
2021-03-28 12:08:08 +02:00
Martin Diehl
a3ab890315
bugfix for ConfigMaterial
...
don't use mutable variables in python initializers, they get updated
2021-03-28 11:35:40 +02:00
Martin Diehl
480b8315a7
cleaning + testing
2021-03-27 15:54:29 +01:00
Martin Diehl
8a99306aed
old table not needed anymore
2021-03-27 14:34:18 +01:00
Martin Diehl
c742f7c9d0
need to cope with _asciitable.py and _test.py
2021-03-27 12:47:58 +01:00
Martin Diehl
be9e00347b
cleaning
...
dropped support for legacy table
2021-03-27 10:11:31 +01:00
Martin Diehl
111a1a76c6
cleaning
2021-03-27 07:35:49 +01:00
Martin Diehl
9fd244d8a0
cleaning
2021-03-26 20:59:49 +01:00
Martin Diehl
3e8bcd3225
cleaning examples, using consistent names
...
- examples in repository should only show the most basic steps
- MSC.Marc, marc => Marc
2021-03-26 09:27:49 +01:00
Martin Diehl
9e9eb391ba
handle floating point errors
2021-03-25 22:33:14 +01:00
Martin Diehl
a72e2db678
Merge branch 'development' into output-rename
2021-03-25 21:03:20 +01:00
Philip Eisenlohr
3d4590a522
Merge branch 'citation-style' into development
2021-03-25 14:39:44 -04:00
Philip Eisenlohr
0e57135239
[skip ci] dx.doi.org --> doi.org
2021-03-25 14:33:08 -04:00
Martin Diehl
3b392281e4
consistent naming in HDF5 output
2021-03-25 19:22:59 +01:00
Martin Diehl
fe0cd8e5e2
transparently handle orientations/rotations
2021-03-25 15:30:31 +01:00
Martin Diehl
1ff6a09746
tests/specifications
2021-03-23 18:51:21 +01:00
Martin Diehl
572c3204d0
let the computer do the work
2021-03-23 14:28:56 +01:00
Martin Diehl
e0e088eaa8
EBSD dataset for testing
...
use only non-segmented data. Automatically fall back to numeric phase
names if cell_ensemble_data is not found
2021-03-23 13:42:04 +01:00
Martin Diehl
549b849730
better readable
2021-03-23 12:05:08 +01:00
Martin Diehl
926b5c657d
material_add can do expansion
2021-03-23 12:01:35 +01:00
Vitesh Shah
005fde2504
homogenization in material was missing
2021-03-23 11:48:35 +01:00
Martin Diehl
7012099d0c
substituted broken link
2021-03-20 14:34:14 +01:00
Martin Diehl
1c3d1ee0f2
documented
2021-03-20 13:37:06 +01:00
Martin Diehl
394fda5f37
improving import from DREAM.3D
...
- no duplicated entries even for non-segmented data
- using phase labels from file
- material.yaml: Dummy homogenization and phase
- tests to ensure correct order and match between Grid and
ConfigMaterial
2021-03-20 12:56:18 +01:00
Martin Diehl
cdcedd0d44
autodetect base group
2021-03-20 07:26:07 +01:00
Martin Diehl
35c5bfcc45
reference files for DREAM.3D operations
...
will be used for the configuration of material.yaml and grid (using
symbolic links)
2021-03-19 11:45:04 +01:00
Sharan Roongta
fc172921fb
unified citation style continued
2021-03-19 10:41:47 +01:00
Martin Diehl
07d79ef4ba
unifying style
2021-03-17 11:25:21 +01:00
Martin Diehl
ec28fd8a73
polishing
2021-03-12 09:23:05 +01:00
Martin Diehl
3b27c64709
Merge remote-tracking branch 'origin/development' into config_from_dream3D
2021-03-12 08:11:54 +01:00
Philip Eisenlohr
e2d4ab427e
explicit path joining with "/" in _result; updated cpTi CRSS
2021-03-09 22:02:49 -05:00
Philip Eisenlohr
a26e586b14
More general 'delete' (accepts iterables) and backports of '|' and '|=' for union/add.
...
'|=' would work for python 3.9 without extra code, but '|' unfortunately casts 'damask.Config' (subclass of 'dict') to a 'dict'.
2021-03-09 19:15:15 +00:00
Philip Eisenlohr
4208c4e713
adapted to Table.add being out-of-place
2021-03-08 11:04:49 -05:00
Philip Eisenlohr
7cbc69a4ca
added "Returns" to help
2021-03-08 11:02:27 -05:00
Philip Eisenlohr
109ad378c2
corrected help text of as_Rodrigues_vector
2021-03-02 16:26:18 +01:00
Franz Roters
7b89cb41f9
Merge branch 'dislotwin-correction' into 'development'
...
dislotwin-correction
See merge request damask/DAMASK!347
2021-02-28 19:45:34 +00:00