Commit Graph

13930 Commits

Author SHA1 Message Date
Martin Diehl 96767e75a3 can be done directly in the python library:
P = damask.Orientation(lattice='cF').Schmid('slip')
sigma = np.array([[1,0,0],[0,0,0],[0,0,0]])
sigma_extended = np.broadcast_to(sigma.reshape(damask.util.shapeshifter(sigma.shape,P.shape)),
                                 P.shape)
tau = np.einsum('i...jk,i...jk->i...',sigma_extended,P)
2021-07-26 00:19:03 +02:00
Martin Diehl 29f3fcb4d8 Merge remote-tracking branch 'origin/development' into restructure-Orientation-2 2021-07-25 21:30:14 +02:00
Martin Diehl dd2d569482 ensure that vectorization works 2021-07-25 21:28:35 +02:00
Martin Diehl e95157f039 unified behavior
extra dimensions (here: slip systems) are added to the left, inline with
.equivalent and .related
2021-07-25 20:32:24 +02:00
Martin Diehl d1c3d767cc documenting 2021-07-25 19:59:26 +02:00
Test User 6c53615d11 [skip ci] updated version information after successful test of v3.0.0-alpha4-137-gb69b85754 2021-07-23 17:48:05 +02:00
Franz Roters b69b857542 Merge branch 'polishing' into 'development'
whitespace adjustments and consistent names

See merge request damask/DAMASK!416
2021-07-23 14:15:32 +00:00
Martin Diehl d216e77ca6 default values for p/q are dangerous 2021-07-23 09:07:39 +02:00
Martin Diehl 2cc8612572 consistent variable names 2021-07-23 07:16:08 +02:00
Martin Diehl f6378790f1 following python
we might want to rename the whole module from 'lattice' to 'crystal'
2021-07-23 06:46:17 +02:00
Martin Diehl f5af352644 whitespace adjustments 2021-07-23 00:09:51 +02:00
Martin Diehl d682b477dd following paper 2021-07-22 23:22:45 +02:00
Martin Diehl 85fd2e3fad not needed 2021-07-22 23:15:20 +02:00
Martin Diehl 3f7043de74 standard name 2021-07-22 23:15:20 +02:00
Martin Diehl 7e27baacfe missing conversion 2021-07-22 21:39:05 +02:00
Martin Diehl a03aa97970 default name 2021-07-22 15:41:09 +02:00
Martin Diehl 4fab078d18 multinomial tested+simplified 2021-07-22 15:31:30 +02:00
Martin Diehl d9aa638ad7 shorter 2021-07-22 15:11:38 +02:00
Martin Diehl aace5d25a8 initialization needed 2021-07-21 23:19:41 +02:00
Martin Diehl 76572e4ca9 standard notation 2021-07-21 16:34:33 +02:00
Martin Diehl e3e9dfdc60 following paper 2021-07-21 16:29:57 +02:00
Martin Diehl 8feeda6f05 phase_mechanical_elastic should store data related to elasticity 2021-07-21 16:23:21 +02:00
Martin Diehl fc5237fa80 using central values 2021-07-21 15:46:38 +02:00
Martin Diehl 8259cb3cdc notation as in paper 2021-07-21 15:03:28 +02:00
Test User 2fff191421 [skip ci] updated version information after successful test of v3.0.0-alpha4-117-g9f2c37761 2021-07-21 14:56:53 +02:00
Martin Diehl b2e94974ca short names 2021-07-21 14:52:37 +02:00
Sharan Roongta 9f2c377612 Merge branch 'drop-1d-tensor-support' into 'development'
L, P, F, etc. are second order tensors

See merge request damask/DAMASK!415
2021-07-21 11:25:35 +00:00
Martin Diehl 6f19113072 L, P, F, etc. are second order tensors 2021-07-21 06:19:04 +02:00
Test User 575c84ad86 [skip ci] updated version information after successful test of v3.0.0-alpha4-114-gb98819a36 2021-07-20 20:01:14 +02:00
Martin Diehl b98819a36c adjusting names 2021-07-20 18:29:21 +02:00
Test User fe3bc1f8ee [skip ci] updated version information after successful test of v3.0.0-alpha4-112-gb36da7378 2021-07-19 20:13:53 +02:00
Franz Roters b36da73786 Merge branch 'separating-physics' into 'development'
separate physics

See merge request damask/DAMASK!413
2021-07-19 15:46:40 +00:00
Martin Diehl de428efca5 add_pole is working again 2021-07-18 18:58:05 +02:00
Martin Diehl 19ca99e033 matching name 2021-07-18 16:39:52 +02:00
Martin Diehl 86a60283c3 keep data close to where it is used 2021-07-18 16:34:42 +02:00
Martin Diehl 212a4ed63c don't test implementation details 2021-07-18 15:57:51 +02:00
Martin Diehl 2217c3d143 unified help 2021-07-18 15:42:36 +02:00
Martin Diehl e54f032f1e Merge remote-tracking branch 'origin/development' into restructure-Orientation-2 2021-07-18 15:09:40 +02:00
Martin Diehl 53b7aab29d use ph,en access pattern 2021-07-18 09:48:49 +02:00
Martin Diehl 6ad6158bfb (en)try is the name used in the DADF5 file 2021-07-18 09:44:52 +02:00
Martin Diehl 57ad308a7f readable 2021-07-18 09:22:12 +02:00
Martin Diehl 50fccb0a2e not needed 2021-07-17 22:53:58 +02:00
Martin Diehl d068f45aa0 avoid superflouos damage calculations 2021-07-17 15:25:00 +02:00
Martin Diehl c109d5a37b better have different physics separated 2021-07-17 14:06:48 +02:00
Martin Diehl f9edeb40a5 descriptive names 2021-07-17 11:50:21 +02:00
Martin Diehl e6d25294d3 separating functionality 2021-07-16 23:32:08 +02:00
Martin Diehl fc735d6391 substate0 only needed for staggered state-stress integration 2021-07-16 23:19:48 +02:00
Martin Diehl 777620b800 polishing 2021-07-16 22:41:38 +02:00
Martin Diehl 594ad2c310 semi-separate handling of damage 2021-07-16 22:22:41 +02:00
Martin Diehl 2b24224c7e more meaningful name 2021-07-16 20:52:41 +02:00