Commit Graph

170 Commits

Author SHA1 Message Date
Martin Diehl 08d2cdcb25 forall is deprecated in Fortran 2018 2019-09-19 14:24:13 -07:00
Martin Diehl 7fa979f800 removed unused function
were based on/used for deprecated orientation handling
2019-09-19 13:51:37 -07:00
Martin Diehl be0d961954 cleaning 2019-09-19 13:40:03 -07:00
Martin Diehl 2fc66cff5b better readable 2019-09-04 14:30:26 -07:00
Martin Diehl 951134d13f not needed 2019-06-04 12:06:16 +02:00
Martin Diehl 01e3b646c2 don't clutter the code with useless stuff
we only need to be more strict about prefixing
functions/subroutines/variables to see in which module they reside
2019-05-16 22:56:48 +02:00
Martin Diehl 1036c76ae0 to transpose already when constructing the interaction matrix 2019-04-13 00:46:27 +02:00
Martin Diehl c3925b3497 small polishing 2019-04-07 14:47:21 +02:00
Martin Diehl 453eb538f7 preparing for PGI compiler 2019-04-03 16:24:15 +00:00
Martin Diehl 4604e65a42 use matmul instead of hand-written functions
- performance is the same
- leaner code
- matmul works (was buggy a few years ago)
2019-04-03 08:22:04 +02:00
Martin Diehl 1869f2cdcd string length handling in-line with other functions 2019-03-26 06:27:13 +01:00
Martin Diehl 1ece0a1dfd better readable 2019-03-12 09:36:54 +01:00
Martin Diehl 1df8b22e23 clearer names 2019-03-12 09:28:06 +01:00
Martin Diehl 18fe8c34ee fortran fast storage of interaction matrices 2019-03-11 22:41:59 +01:00
Martin Diehl 0cdcc4de11 no pInt any more 2019-03-11 17:35:08 +01:00
Martin Diehl 7643d66654 bugfix, avoid error 2019-03-09 16:22:57 +00:00
Martin Diehl 55d55a156b following numpy syntax 2019-03-09 16:19:56 +00:00
Martin Diehl 22a3596561 simplified, trying to get rid of all public variables 2019-03-09 15:12:59 +01:00
Martin Diehl c74f453486 public variables not needed anymore 2019-03-09 15:12:59 +01:00
Martin Diehl f0d03a41ba fracture modes are calculated differently 2019-03-09 15:12:59 +01:00
Martin Diehl 3fa699ad22 indices were mixed up 2019-02-20 20:17:55 +01:00
Martin Diehl 2d51c0595b don't parse material.config any more 2019-02-20 19:03:20 +01:00
Martin Diehl d29b37f517 provide slip system components as functions 2019-02-20 07:53:34 +01:00
Martin Diehl 649750a1c9 let lattice to the work 2019-02-19 23:55:59 +01:00
Martin Diehl ae9d8e4e8d cleaning 2019-02-18 10:28:08 +01:00
Martin Diehl 8a30441a52 Merge branch 'development' into 32_NewStyleNonlocal-3 2019-02-18 07:14:11 +01:00
Martin Diehl 690fef6f06 avoid publicly avaialbe data, rather provide setters and getters 2019-02-17 20:38:57 +01:00
Martin Diehl c4b3ac3afb slip system definition for bcc still needed 2019-02-17 17:04:26 +01:00
Martin Diehl d3e6430b94 only used internally 2019-02-17 14:30:58 +01:00
Martin Diehl 7ad866b90f not needed any more 2019-02-17 12:16:12 +01:00
Martin Diehl 55cef533f1 conversion 3x3-matrix <-> 6-vector not helpful 2019-02-13 00:00:07 +01:00
Martin Diehl 99ef353446 more sanity checks
structure string can be now of arbitrary length (technically)
only fcc,hex,bcc,bct,ort are accepted labels
2019-01-25 13:42:38 +01:00
Martin Diehl cc858d3139 Merge branch 'development' into 44-column-major-access-to-interaction-matrices 2019-01-06 08:17:23 +01:00
Martin Diehl e083520c73 trans systems now handled centrally
remove inactive (= untested) definitions.
2018-12-22 07:49:52 +01:00
Martin Diehl e6d5992bb4 poviding stiffness for transformation as function 2018-12-22 00:19:51 +01:00
Martin Diehl f4cf38fa22 implementing C66 rotation for transformation 2018-12-21 23:53:21 +01:00
Martin Diehl 25bd6faf7c left over "if" caused wrong coordinate systems for hex 2018-12-14 06:39:49 +01:00
Martin Diehl 4edaab6da6 definition of cleavage systems did not work
bct definition was overly complicated
2018-12-13 11:11:45 +01:00
Martin Diehl 1446e9f4ab polished
sanity checks + documentation
2018-12-12 00:30:20 +01:00
Martin Diehl bf2b074787 make parameters obvious 2018-12-11 23:11:59 +01:00
Martin Diehl c29240c1c8 forestprojection can be calculated centrally 2018-12-11 23:00:56 +01:00
Martin Diehl ef23095332 using function for cleavage system definition
only internally since damage related constitutive laws will be
re-written anyway
2018-12-11 08:03:40 +01:00
Martin Diehl 1bcf41100d [skip ci] WIP: cleaning
contains a few bugs
2018-12-11 07:05:37 +01:00
Martin Diehl ee60ce0d98 further simplifications 2018-12-11 01:35:36 +01:00
Martin Diehl 2fac481a26 polishing/sorting 2018-12-11 00:39:50 +01:00
Martin Diehl 51d8011afe cleaned
- only define variables that are needed
- define variables where they are needed
2018-12-10 08:33:20 +01:00
Martin Diehl efbd50c931 parameters in bold allow easy distinction 2018-12-10 05:52:36 +01:00
Martin Diehl 0f106e77d9 cleaning 2018-12-09 22:20:18 +01:00
Martin Diehl 95826d094c not needed anymore 2018-12-09 22:00:04 +01:00
Martin Diehl 1b571d33a7 using trans-trans interactions from lattice 2018-12-09 21:10:14 +01:00
Martin Diehl 8424ba76ac never used 2018-12-09 20:54:49 +01:00
Martin Diehl 132f417dee Merge remote-tracking branch 'origin/development' into 44-column-major-access-to-interaction-matrices 2018-12-09 20:33:28 +01:00
Yi-Chin Yang efe90f86e2 missing comma 2018-11-23 19:00:37 +01:00
Yi-Chin Yang f0359d36b6 adding FCC {110}<110> family 2018-11-23 18:53:50 +01:00
Martin Diehl f88b78195a not need to repeat shape definition 2018-10-26 10:20:45 +02:00
Martin Diehl 2ca7807438 cleavage systems avaialable as function 2018-10-15 22:29:23 +02:00
Martin Diehl ef1899cfd0 improved error reporting
- tell user specifically whether number of systems is too high or too
low
- c/a sanity check can be done centrally
2018-10-10 07:42:07 +02:00
Martin Diehl 4da3923440 more straight-forward definition of array shape 2018-10-08 23:54:45 +02:00
Martin Diehl 78b5fa466d fixed hick-up in lattice definitions 2018-10-08 19:32:18 +02:00
Martin Diehl 71d80cc203 sanity check too strong
still makes sense to have, but some tests need to be updated before
setting it active again
2018-10-08 13:27:15 +02:00
Martin Diehl 2a79f7ea61 taking care of c/a for hex and bct 2018-10-08 13:25:40 +02:00
Martin Diehl 5efcad952a avoid type conversion
more systematic checking of correct input parameters
2018-10-08 08:28:56 +02:00
Martin Diehl 302cf9b6c2 bugfix, now inline with code from initializeStructure 2018-10-07 22:16:18 +02:00
Martin Diehl facb1c2407 unified error checking 2018-10-07 20:03:45 +02:00
Martin Diehl 0e17b17b90 using full precision 2018-10-07 18:40:02 +02:00
Martin Diehl 34e0aca564 using full precision 2018-10-07 18:18:24 +02:00
Martin Diehl a53488d666 calculation of slip/twin/trans/damage-coordinate system was wrong 2018-10-07 15:44:13 +02:00
Martin Diehl 032c35a499 WIP: Calculation of elasticity matrices for twin and trans 2018-10-06 10:42:25 +02:00
Martin Diehl 81a77b508a check for array size was off by 1 2018-10-05 22:46:53 +02:00
Martin Diehl 40cf7f134d Merge branch '44-column-major-access-to-interaction-matrices' of magit1.mpie.de:damask/DAMASK into 44-column-major-access-to-interaction-matrices 2018-10-05 11:08:29 +02:00
Martin Diehl aa34b83978 avoid array out of bounds
allows to handle un- or partly defined non schmid coefficients
2018-10-05 10:36:44 +02:00
Martin Diehl 6ccbc5e4e6 characteristing shear is defined per system 2018-10-05 07:20:51 +02:00
Martin Diehl 3a00fcde16 WIP: characteristic shear calculated in lattice 2018-10-05 05:09:31 +02:00
Martin Diehl fda2676365 calculate only if required 2018-10-05 04:54:47 +02:00
Martin Diehl 79b0efc678 also using nonSchmid matrix from lattice 2018-10-04 21:20:42 +02:00
Martin Diehl ec77d4450b checking for required things 2018-10-03 09:17:06 +02:00
Martin Diehl db645efda7 function to calculate nonSchmid matrix 2018-10-03 08:49:23 +02:00
Martin Diehl 103b46ecbb don't repeate code over different plastic_xxx modules 2018-10-03 07:58:02 +02:00
Martin Diehl 89e03be699 also building interactions for slip-twin and twin-slip 2018-10-03 07:51:11 +02:00
Martin Diehl 67c55965e9 segmentation fault, tried LHS with scalar
Nxx per system is stored in LATTICE_yyy_NxxxSYSTEM
Using CAPITALS for parameters improves readbility
2018-10-03 06:45:42 +02:00
Martin Diehl 384a785805 more sevice functions use
still trying
2018-10-01 23:02:31 +02:00
Martin Diehl ff2614b757 using 'service functions' from lattice
get rid of many global array on the long run
2018-10-01 22:48:14 +02:00
Martin Diehl 55511782e8 incomplete transition/renaming
caused segmentation fault
2018-09-14 08:19:39 +02:00
Martin Diehl cc20b044a6 forgot to allocate array now used internally only 2018-09-13 09:27:54 +02:00
Martin Diehl 4e68d049a8 WIP: calculating rotated stiffness matrices for transformation 2018-09-12 20:37:55 +02:00
Martin Diehl b95174a8b7 reducing global variables 2018-09-12 16:16:31 +02:00
Martin Diehl 192bb6453d cleaning 2018-09-12 15:57:54 +02:00
Martin Diehl 0a621ece8b WIP: polishing and implementing remaining functions 2018-09-12 14:29:22 +02:00
Martin Diehl f1f8922ab8 more meaningful error messages 2018-09-12 14:03:45 +02:00
Martin Diehl 3d49c70dbc commenting 2018-09-08 20:15:17 +02:00
Martin Diehl b96e01c128 Merge branch 'development' into lattice-builds-interaction 2018-08-30 05:41:40 +02:00
Martin Diehl 42f8b0a063 labels of slip and twin systems for more self-explanatory output 2018-08-28 12:27:56 +02:00
Martin Diehl 5b3bed3e48 functionality to calculate SchmidMatrices 2018-08-25 18:32:55 +02:00
Martin Diehl d3db0d816c ordered by dimension and set private where possible 2018-08-25 17:29:20 +02:00
Martin Diehl 1c76e156d9 new symmetry handling will be handled in a different branch 2018-08-25 17:19:48 +02:00
Martin Diehl 22a232ad08 bug: memory access out of bounds
introduced when moderninzing reading in of parameters
2018-08-25 15:50:43 +02:00
Martin Diehl 025cbddd00 generic function and interfaces for slipSlip, twinTwin, transTrans 2018-08-25 13:08:32 +02:00
Philip Eisenlohr c03ea8f5c7 added forgotten C66(2,2) read-in from parameter database 2018-08-17 15:43:09 -04:00
Martin Diehl 661636d83e default values needed to suppress error in case of missing key 2018-08-04 22:53:56 +02:00
Martin Diehl c2f9709567 leaner, most of it also supported by older gcc 2018-08-03 08:42:26 +02:00