Commit Graph

4923 Commits

Author SHA1 Message Date
Martin Diehl f697182971
only mobile dislocations (t=1,2,3,4) are used 2023-12-29 22:30:04 +01:00
Martin Diehl 3b57143662
nonlocal works only with single constituents 2023-12-29 22:10:47 +01:00
Martin Diehl 1f1baa8b48
more systematic naming 2023-12-29 22:05:11 +01:00
Martin Diehl c5d71168be
separate mechanics and thermal 2023-12-29 18:29:56 +01:00
Sharan Roongta 977cb83ef6 better name 2023-12-29 17:52:58 +01:00
Sharan Roongta 2368200138 not used 2023-12-29 17:38:41 +01:00
Sharan Roongta 2179530d5f Merge remote-tracking branch 'origin/development' into mesh-clean 2023-12-29 17:36:31 +01:00
Martin Diehl 376d3f6986
Merge remote-tracking branch 'origin/development' into solver-cleanup 2023-12-29 08:13:21 +01:00
Martin Diehl b2b3a3f3f0
loop over cells, not (element, IP) 2023-12-28 21:28:57 +01:00
Philip Eisenlohr a80fce4108 Merge branch 'modernize-nonlocal' into 'development'
Modernize nonlocal

See merge request damask/DAMASK!883
2023-12-28 18:57:49 +00:00
Martin Diehl 04fdac6556
standard access pattern 2023-12-28 19:51:22 +01:00
Martin Diehl aae99156b4
not needed 2023-12-28 19:18:25 +01:00
Martin Diehl 77e1c5a8a7
standard indexing: ce(ll) instead of element and integration point 2023-12-28 19:15:26 +01:00
Martin Diehl 0d747ae5e4
(incomplete) split: spectral/FFT vs mech functionality 2023-12-24 13:26:32 +01:00
Martin Diehl 395b6b5438
don't rely on data stored in homogenization 2023-12-24 13:26:29 +01:00
Martin Diehl 169bc977d7
was a 'write-only' variable 2023-12-23 22:39:23 +01:00
Franz Roters aed2643af7 Merge branch 'F2023-tokenize' into 'development'
F2023 tokenize

See merge request damask/DAMASK!879
2023-12-23 18:14:49 +00:00
Martin Diehl e7543fd715
can be stored as dependent state 2023-12-22 23:45:34 +01:00
Martin Diehl a603e153db
simplified 2023-12-22 23:29:46 +01:00
Martin Diehl 696cccaa66
rho_forest is a dependent state 2023-12-22 22:54:20 +01:00
Martin Diehl af5bbed003 Merge branch 'mesh-load-YAML' into 'development'
Mesh load yaml

See merge request damask/DAMASK!876
2023-12-21 18:38:36 +00:00
Martin Diehl 8458ea5ecf
simplified string conversion and related error handling
checking for valid characters is not sufficient because signs and
exponents are allowed to appear only at specific locations. Since
Fortrans internal file read will anyways complain about invalid
characters, the check doesn't even have a value.

reduced number of error codes by grouping all conversion related errors
2023-12-20 18:44:21 +01:00
Martin Diehl c0b9280218
variables in stop code not supported by older compilers 2023-12-20 18:41:16 +01:00
Martin Diehl ace7d8f003
use tokenize (F2023) 2023-12-19 21:19:57 +01:00
Martin Diehl c4d061ba0a
F2023 tokenize (second form) 2023-12-19 21:19:22 +01:00
Sharan Roongta 0798548f0f this structure seems cleaner, i.e., BC per face 2023-12-17 00:04:55 +01:00
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