Commit Graph

4897 Commits

Author SHA1 Message Date
Sharan Roongta e4ad5a94a5 better names 2023-12-16 18:28:17 +01:00
Sharan Roongta 9a1cf1a04e first changes for YAML mesh load case, and simplification of code 2023-12-15 16:03:39 +01:00
Martin Diehl 55d08fdd6f Cli improvements 2023-12-14 12:03:11 +00:00
Sharan Roongta 5a994a5223 Merge branch 'flexible-YAML-1Dget' into 'development'
flexible YAML get 1D

See merge request damask/DAMASK!872
2023-12-12 17:36:41 +00:00
Philip Eisenlohr 419e6f8f51 Merge branch '359-io_color' into 'development'
Resolve "IO_color"

Closes #359

See merge request damask/DAMASK!870
2023-12-11 21:17:09 +00:00
Martin Diehl 4320e9847d
more systematic handling of colored output
isatty for Fortran needs to translate the units/file descriptors
2023-12-11 06:58:37 +01:00
Martin Diehl 1b60bc14e8
more flexibility for setting default values 2023-12-10 22:22:19 +01:00
Martin Diehl c6ecd6d977
avoid internal compiler error for ifort/ifx 2023-12-10 12:50:22 +01:00
Martin Diehl d02c74cdd6
get flattened array from scalar or potentially ragged nested list
rather special case, but handy for flexible definition of values per
slip system
2023-12-10 12:14:57 +01:00
Martin Diehl f3e7f51bb4 centralized functionality for handling of colors 2023-12-09 16:56:09 +01:00
Martin Diehl 65c0a2d5ca more logical split 2023-12-09 15:19:27 +01:00
Martin Diehl 456b3fb76d functionality to check whether STDERR/STDOUT are redirected 2023-12-09 15:17:52 +01:00
Martin Diehl 7063c59b6a consistent capitalization 2023-12-09 14:22:14 +01:00
Sharan Roongta 78de3e6bde Merge branch 'no-defaults-phenopowerlaw' into 'development'
No defaults phenopowerlaw

See merge request damask/DAMASK!863
2023-12-07 13:19:00 +00:00
Sharan Roongta b5f71d2328 Merge branch 'early-PetscOptionsClear' into 'development'
Early petsc options clear

See merge request damask/DAMASK!862
2023-12-07 11:13:29 +00:00
Martin Diehl 8ace3411b4 restore correct behavior 2023-12-05 15:58:06 +01:00
Martin Diehl 660b472747 centralized function for ones/zeros 2023-12-04 23:38:58 +01:00
Martin Diehl a5b5972e9a already documented 2023-12-04 16:48:09 +01:00
Martin Diehl 1621473d99 should not have default values 2023-12-04 16:44:57 +01:00
Martin Diehl 731057f7e0 consistent with other plasticity laws 2023-12-04 16:25:31 +01:00
Cathy Bing b0ba1e78b7 two-step math_clip 2023-11-28 01:09:20 -05:00
Cathy Bing 779a6e7a05 edge dipole annihilation via climb is not disabled anymore when stress is zero 2023-11-28 00:15:18 -05:00
Sharan Roongta f02c1dc44a Merge branch 'no-lc-for-parameters' into 'development'
use consistently case-sensitive parameters

See merge request damask/DAMASK!858
2023-11-27 22:09:35 +00:00
Martin Diehl 1fb5e159ad larger tolerance (test failed on Intel) 2023-11-27 06:41:13 +01:00
Martin Diehl a38ec385c7 test simple tensor operations 2023-11-26 19:03:17 +01:00
Martin Diehl 246e708e5b systematic testing of read/write 2023-11-26 13:05:39 +01:00
Martin Diehl 8bc5b30e54 dim 6 and 7 are not used
trivial do add if needed
2023-11-26 12:49:34 +01:00
Martin Diehl 1cf1f9df31 test more dimensions 2023-11-26 12:38:35 +01:00
Martin Diehl 4749b36ae9 simplified 2023-11-26 12:23:37 +01:00
Martin Diehl 3c62af3fe5 test 2D arrays and read-only file opening 2023-11-26 08:16:24 +01:00
Martin Diehl d1432e5bd8 allow MPI parallel execution 2023-11-26 08:15:40 +01:00
Martin Diehl 57ee7e86e4 better name 2023-11-26 07:50:22 +01:00
Martin Diehl 690d63734a avoid message about unused parameters 2023-11-25 20:39:39 +01:00
Martin Diehl 4d525c35bc use consistently case-sensitive parameters 2023-11-25 16:21:00 +01:00
Martin Diehl febbddd36a starting to test system_routines 2023-11-25 16:12:37 +01:00
Martin Diehl 665e2d5b38 test IO_read and IO_readlines 2023-11-25 15:26:41 +01:00
Martin Diehl b9e41732d4 documented 2023-11-23 11:29:18 +01:00
Martin Diehl f9c34e799e indicator not needed 2023-11-22 20:32:28 +01:00
Martin Diehl eaf65e5665 loop not needed 2023-11-22 20:31:35 +01:00
Martin Diehl 34db73b068 more logical order 2023-11-22 20:22:05 +01:00
Sharan Roongta 0a73cd8869 Merge branch 'no-restart-for-mesh' into 'development'
restart (currently) not supported for mesh solver

See merge request damask/DAMASK!850
2023-11-22 15:05:14 +00:00
Martin Diehl b77a4145d0 no need to expand, is a property of the family 2023-11-20 19:31:56 +01:00
Martin Diehl 5db4c3ecf6 document 2023-11-20 16:19:20 +01:00
Martin Diehl fbdab24f4b bugfix: used wrong definition
looks like a copy and paste error
2023-11-20 13:27:34 +01:00
Martin Diehl 57fab5db1c restart (currently) not supported for mesh solver 2023-11-20 09:39:59 +01:00
Martin Diehl bb234938cc whitespace polishing 2023-11-02 15:43:11 +01:00
Martin Diehl 5a5f1cfc5b mesh works again for PETSc >= 3.19
needs also bugfix in PETSc: https://gitlab.com/petsc/petsc/-/merge_requests/6986
2023-11-02 15:41:20 +01:00
Franz Roters 7eb16ddc75 add support for Marc2023.3 2023-10-18 13:54:15 +02:00
Franz Roters e5864efb8a add support for Marc2023.2 2023-10-18 13:53:23 +02:00
Daniel Otto de Mentock 5bb7e54dfc Merge branch '308-fortran-type-for-result-and-hdf5_utilities-not-found-when-using-classic-intel-compiler' into 'development'
fix issues with compilation

Closes #308

See merge request damask/DAMASK!822
2023-10-16 12:59:20 +00:00
Martin Diehl 134e640ffe Merge branch '336-performance-degradation-for-new-non-schmid-formulation' into 'development'
no merge in hot loop

See merge request damask/DAMASK!833
2023-10-16 12:53:40 +00:00
Daniel Otto de Mentock 3517c7dee3 Merge branch 'petsc-3.20' into 'development'
PETSc 3.20

See merge request damask/DAMASK!834
2023-10-13 11:14:57 +00:00
Martin Diehl 57e02bb991 PETSc 3.20 2023-10-09 20:10:05 +02:00
Martin Diehl b26398319b testing YAML_types 2023-10-05 22:58:31 +02:00
Martin Diehl 0e353d9feb no merge in hot loop
results in measureable run time decrease for Intel and GNU compilers
2023-10-05 17:13:46 +02:00
Philip Eisenlohr dab5ba1e60 call polynomials_selfTest in DAMASK_test 2023-09-28 07:07:49 +02:00
Martin Diehl 8489658cb4 avoid use of unitialized variable (x_ref)
further polishing for better readability
2023-09-27 20:56:49 +02:00
Franz Roters a5a4ba0a54 Merge branch 'small-dislotwin-fix' into 'development'
fix erroneous check for N_tr

See merge request damask/DAMASK!826
2023-09-27 12:23:44 +00:00
Philip Eisenlohr f8cead9e0a Merge branch 'no-FMA' into 'development'
let the compiler do the work

See merge request damask/DAMASK!824
2023-09-27 12:06:35 +00:00
Philip Eisenlohr 836ddb4ba5 easier to understand (and maybe failsafe against empty coef) 2023-09-26 22:27:28 +00:00
Philip Eisenlohr 3621f0e8a1 check for N_tr, not twice N_tw 2023-09-26 09:17:25 -04:00
Martin Diehl c619bed975 let the compiler do the work
compilers are aware of the FMA instruction and use it
2023-09-24 06:31:36 +02:00
Martin Diehl ac898be888 fix issues with compilation
preprocessor statement or unsupported private/public statemens for
modules seem to confuse CMake
2023-09-22 20:24:58 +02:00
Martin Diehl 7c2e870d17 polishing 2023-09-22 07:10:08 +02:00
Martin Diehl eeb5de0531 easier to understand 2023-09-21 22:32:38 +02:00
Philip Eisenlohr 16b029cf39 bug fix: used wrong index for slip family-dependent coeffs 2023-09-18 09:44:52 -04:00
Philip Eisenlohr 6a75a1ad23 avoid uninitialized mem access 2023-09-18 14:49:53 +02:00
Philip Eisenlohr 6d2b175018 removed obsolete function 2023-09-15 21:41:37 -04:00
Philip Eisenlohr ee058c53ec extended math_expand docstring 2023-09-15 21:21:50 -04:00
Philip Eisenlohr dd3d5483d6 adapted dislotungsten; does not converge with large(r) coefficients... 2023-09-15 21:20:55 -04:00
Philip Eisenlohr 715bc1bb83 adapted nonlocal 2023-09-15 13:15:55 -04:00
Philip Eisenlohr 7ac552ee49 adapted kinehardening 2023-09-15 11:13:58 -04:00
Philip Eisenlohr 2a88285088 adapted phenopowerlaw 2023-09-15 10:50:41 -04:00
Martin Diehl 4de21b5f86 more systematic name 2023-09-15 00:28:40 +02:00
Philip Eisenlohr a2b571c1fc corrected sign definition of <111>{110} slip systems
Breaking change: Sign of shear differs
2023-09-15 00:21:04 +02:00
Martin Diehl 0396332b7b needed for fixed non-Schmid behavior 2023-09-14 22:46:12 +02:00
Philip Eisenlohr af955df891 added phi_min back to example; more consistency in code syntax 2023-09-06 15:11:48 -04:00
Sharan 925da8aad4 Merge remote-tracking branch 'origin/numerics-comment-format' into restructure-numerics 2023-09-06 20:14:58 +02:00
Sharan 9c4fa16c7d new mech dict 2023-09-06 19:57:40 +02:00
Sharan eacdf38482 Merge remote-tracking branch 'origin/development' into restructure-numerics 2023-09-06 12:17:13 +02:00
Sharan e101b5cca8 correct pointer 2023-09-06 11:17:39 +02:00
Cathy Bing 288aa73047 added sanity check for positive rho,C_p,K in thermal 2023-09-01 17:30:37 -04:00
Franz Roters 8748af5dc5 Merge branch 'reporting-references-before-phases' into 'development'
report references before phase count

See merge request damask/DAMASK!808
2023-08-30 14:58:54 +00:00
Franz Roters a765074a1f Merge branch 'fix-bct-slip-systems' into 'development'
bugfix: wrong definition of bct slip systems

See merge request damask/DAMASK!806
2023-08-30 13:16:09 +00:00
Martin Diehl 3f8a561465 testing tI slip systems 2023-08-29 14:18:16 +02:00
Philip Eisenlohr aa651e04ae reverse order of printing 2023-08-28 21:43:21 -04:00
Philip Eisenlohr b0809a8afe function is obsolete 2023-08-28 17:59:37 -04:00
Martin Diehl 854211a71f bugfix: wrong definition of bct slip systems 2023-08-18 21:46:44 +02:00
Sharan 09f3b2063d Merge remote-tracking branch 'origin/development' into restructure-numerics 2023-08-17 12:09:10 +02:00
Daniel Otto de Mentock aa28fe677e Merge branch 'no-line-length-limit' into 'development'
avoid issues with long lines

See merge request damask/DAMASK!796
2023-08-14 17:08:51 +00:00
Philip Eisenlohr e161ef40b3 per-family parameters for kinehardening 2023-08-11 10:36:03 -04:00
Philip Eisenlohr c93309ed06 Merge branch 'use-IO-in-CLI' into 'development'
Use IO in CLI

See merge request damask/DAMASK!798
2023-08-11 13:30:19 +00:00
Franz Roters e8534d6ff6 Merge branch 'math-improvements' into 'development'
Math improvements

See merge request damask/DAMASK!794
2023-08-11 08:01:55 +00:00
Martin Diehl a1eb7829ee Math improvements 2023-08-11 08:01:55 +00:00
Martin Diehl 7d08286192 clearer error message 2023-08-10 23:49:20 +02:00
Martin Diehl fe2cf94d70 use central functionality 2023-08-10 23:06:31 +02:00
Philip Eisenlohr 82a55ee28d report optional numerics config file 2023-08-10 12:52:27 -04:00
Franz Roters 91bb315d3c Merge branch 'phenopower-parameters-per-family' into 'development'
phenopowerlaw slip family-dependent

See merge request damask/DAMASK!793
2023-08-10 14:16:33 +00:00
Martin Diehl 26ad83a29b unused 2023-08-08 09:22:07 +02:00
Martin Diehl 98fe38a505 avoid issues with long lines
line length <= 132 is already enforced in pre-receive hook
2023-08-08 07:20:45 +02:00