Commit Graph

231 Commits

Author SHA1 Message Date
Martin Diehl 640bc7b190 [skip ci] polishing 2020-06-29 15:09:13 +02:00
Sharan Roongta 14a4dc5184 Merge branch 'YAML-compatible-numerics' into YAML-compatible-debug 2020-06-27 21:48:59 +02:00
Sharan Roongta 77e7e3d3c4 polishing 2020-06-26 20:12:05 +02:00
Sharan Roongta 6f9f494654 minor polishing 2020-06-26 12:22:33 +02:00
Sharan Roongta 0cf06a77d4 bugfix 2020-06-18 18:14:53 +02:00
Sharan Roongta c987f55f69 DAMASK structure updated; define debug parameters when used by a module 2020-06-18 16:40:39 +02:00
Sharan Roongta 19c44d5e97 Read numerics.yaml once 2020-06-16 18:47:19 +02:00
Martin Diehl e952ab7127 bugfix
do not access unitinialized memory
2020-06-15 23:12:49 +02:00
Martin Diehl a4c52ec1fa extra variable not needed 2020-04-15 21:56:20 +02:00
Martin Diehl 6e48585de1 prefix for local variables not needed 2020-04-15 13:09:05 +02:00
Martin Diehl ae95a96c88 better readable 2020-04-15 08:53:25 +02:00
Martin Diehl c7e6277758 not needed
https://stackoverflow.com/questions/19687233
2020-04-14 15:34:38 +02:00
Martin Diehl bf970bb146 2 space indentation 2020-04-14 09:49:03 +02:00
Martin Diehl 9d831cf268 not needed as module variable 2020-04-14 09:43:43 +02:00
Martin Diehl 912c064b57 indicate read-only public variables 2020-04-14 09:38:48 +02:00
Martin Diehl 0de4520580 directly calculate subF 2020-04-14 08:24:28 +02:00
Martin Diehl 0894886744 can be calculated when needed 2020-04-14 07:57:25 +02:00
Martin Diehl d616c1dda8 better use explicit arguments 2020-04-14 07:45:39 +02:00
Martin Diehl 95e41e0b3f not needed (just linear interpolation) 2020-04-14 07:22:30 +02:00
Martin Diehl 11e58bcc2f not needed
why debugging allocate?
2020-03-29 22:37:48 +02:00
Martin Diehl 2a37acfe5e store data where it is needed 2020-03-29 20:04:51 +02:00
Martin Diehl 71d4de269a better store data locally 2020-03-17 00:39:32 +01:00
Martin Diehl 62898a70a0 use automated LHS allocation 2020-02-21 23:40:29 +01:00
Martin Diehl f72b856a18 no reason for critical
will always (and only) set to .true.
2020-02-21 23:37:35 +01:00
Franz Roters 47109b903b Merge branch 'plasticity-submodule' into 'development'
Plasticity submodule

See merge request damask/DAMASK!120
2020-02-06 10:13:48 +01:00
Martin Diehl e532641015 dependency on element not needed for homogeneous meshes 2020-01-25 09:24:42 +01:00
Martin Diehl bd67d2bb6a new mappings have clear name, not (1,2) 2020-01-23 13:16:45 +01:00
Martin Diehl cad6fc7843 Merge branch 'development' into plasticity-submodule 2020-01-13 20:57:12 +01:00
Martin Diehl f0d3b29b82 Merge branch 'development' into MiscImprovements 2019-12-21 06:53:56 +01:00
Martin Diehl befd4e2adf avoid imports 2019-12-19 07:49:53 +01:00
Martin Diehl f0ad075802 fixed indentation 2019-12-19 00:01:44 +01:00
Martin Diehl 4b6388fbb2 always use HDF5 output 2019-12-18 20:05:51 +01:00
Martin Diehl 9b67ead62f removed postResults completely 2019-12-11 00:10:02 +01:00
Martin Diehl 8fb8e9be6e write temperature to DADF5 2019-12-10 20:25:19 +01:00
Martin Diehl db91803b80 cleaning 2019-12-10 17:52:37 +01:00
Martin Diehl 5681e661e2 DADF5-results replaces postResults 2019-12-10 07:31:09 +01:00
Martin Diehl 1c18086402 not needed anymore 2019-12-09 05:58:27 +01:00
Martin Diehl 07ebd8d1b3 only damage/thermal 'homogenization' postResults is currently needed 2019-12-09 05:48:37 +01:00
Martin Diehl c36a5bdfbb bugfix: calculation of size of postResults was wrong 2019-12-02 23:06:28 +01:00
Martin Diehl 9882c3532a avoid use of low-level HDF5 routines 2019-12-02 22:26:08 +01:00
Martin Diehl f85ee7d7fb plasticity is postResults-free 2019-12-02 12:39:44 +01:00
Martin Diehl 67c8d3899d crystallite output fully removed 2019-11-25 08:44:44 +01:00
Martin Diehl e20477099e no crystallite output 2019-11-24 09:46:46 +01:00
Martin Diehl 032b65fe65 not needed 2019-09-27 14:33:56 -07:00
Martin Diehl 372536d57e unit test for rotation class 2019-09-22 06:53:03 -07:00
Martin Diehl 7ccc097406 for testing output of materialpoint results 2019-07-15 17:08:18 -07:00
Martin Diehl f54a6cdc3b white space adjustments 2019-06-15 16:42:16 +02:00
Martin Diehl 57a0d33293 consistent names 2019-06-15 14:33:20 +02:00
Martin Diehl 937a84231f material_phase is deprecated 2019-06-15 13:57:24 +02:00
Martin Diehl 9c4f92a01c substitute phasememberAt with material_phaseMemberAt
need to be clear where a global variable is defined
2019-06-14 09:09:16 +02:00
Martin Diehl 7a878cab3a phaseAt(c,i,e) substituted by material_phaseAt(c,e) 2019-06-14 09:02:28 +02:00
Martin Diehl b2409d6998 cleaning 2019-06-11 13:34:55 +02:00
Martin Diehl cfc1dcf04b mesh_elem and theMesh are deprecated 2019-06-06 22:49:17 +02:00
Martin Diehl 0720da29fb mesh_element is deprecated 2019-06-06 21:14:37 +02:00
Martin Diehl a5c6e4b17c do not clutter the code with use statements 2019-05-28 12:06:21 +02:00
Martin Diehl 60c2a5fc06 loop (forall) over integration points wrong
this was done for each integration point, but this was not detected for
the forall loop
2019-05-18 22:03:59 +02:00
Martin Diehl 34bcd38240 cleanup 2019-05-18 07:43:41 +02:00
Martin Diehl 2258bfb221 RGC as submodule
submodules inherit use-associated entities and implicit none/private
statements
2019-05-18 07:23:46 +02:00
Martin Diehl ed8af98d69 don't clutter with use statements 2019-05-18 06:54:45 +02:00
Martin Diehl dce4775c17 removal of RGC out led to undefined variable 2019-05-17 06:36:30 +02:00
Martin Diehl 6df563624d type needed for postResults 2019-05-16 21:57:20 +02:00
Martin Diehl 39a75c2015 phasing out postResults
starting with RGC because it is rarely used and removing it here allows
to go ahead with the submodule structure for homogenization
2019-05-16 10:23:23 +02:00
Martin Diehl 789420c9d6 Merge branch 'no-pInt-implicitNone' into 'development'
No pInt and implicit none

See merge request damask/DAMASK!81
2019-05-15 21:40:13 +02:00
Franz Roters d29967d8b2 Merge remote-tracking branch 'remotes/origin/improve-Lp-guessing' into development 2019-05-15 08:10:46 +02:00
Martin Diehl 346c7c4a7f one implicit none is enough 2019-05-14 23:12:32 +02:00
Philip Eisenlohr 9249b7f4af improved column alignment of indices such as (g,i,e) 2019-05-14 19:52:48 +02:00
Philip Eisenlohr f3d8b960fd included Li in list of protected quantities for fake cutback 2019-05-14 19:46:25 +02:00
Martin Diehl 2f27c64c39 homogenization output active 2019-04-30 23:05:21 +02:00
Martin Diehl badfba8c6f simplify includes
following python suggestions to include only once at the top of a module
2019-04-30 22:53:32 +02:00
Martin Diehl 8a9baf6d78 preparing output of mech_homog to HDF5 2019-04-30 18:45:38 +02:00
Kieran David Nehil-Puleo d8b310e78b Changed Guessing Scheme 2019-04-18 11:13:51 -04:00
Martin Diehl 72b30729bb submodule for homogenization
first draft, RGC not included because of name clash with isostrain
2019-04-05 21:46:00 +02:00
Martin Diehl 4aa52fa83f no pInt 2019-04-05 20:45:56 +02:00
Martin Diehl 340617ab65 unifying notation 2019-03-10 12:05:52 +01:00
Martin Diehl 550b6510a5 better name 2019-03-10 12:05:52 +01:00
Martin Diehl 2394880741 Tstar renamed to S (following the DAMASK paper) 2019-03-09 11:11:40 +01:00
Martin Diehl af707c671c improved IO functionality
- naming for file opening follows python
- damage modules do not read from file any more
2019-03-08 23:16:56 +01:00
Martin Diehl aa2bd4fc4c Merge branch 'development' into New-Thermal 2019-02-22 10:17:34 +01:00
Martin Diehl be7f740e65 Merge branch 'development' into New-Thermal 2019-02-12 22:52:21 +01:00
Martin Diehl 3a5a50cb03 use variables from theMesh 2019-02-02 10:53:55 +01:00
Martin Diehl f0b5b9fd59 unused variable 2019-02-02 10:34:38 +01:00
Martin Diehl bcd9908a88 all variables/functions were not used 2019-01-31 12:23:23 +01:00
Martin Diehl 7484849b22 Merge remote-tracking branch 'origin/development' into 42-new-coding-style-for-homogenization-NEW 2019-01-27 08:44:46 +01:00
Martin Diehl 221c587362 using separate functions for stress and tangent
extensively tested in 46-simplification-of-crystallite-f90-NEW3 already
2019-01-18 15:30:50 +01:00
Martin Diehl 6049e292c1 no need to store converged tangent 2019-01-15 08:04:50 +01:00
Martin Diehl 49ef8e70d6 no need to prefix private functions 2019-01-13 09:48:47 +01:00
Martin Diehl 57c6271894 using less global variables 2019-01-13 09:33:47 +01:00
Martin Diehl 11bb6f1f47 limit size to actual Ngrains, not potential maximum 2019-01-13 09:14:23 +01:00
Martin Diehl 837699e6c1 polishing 2019-01-12 23:07:35 +01:00
Martin Diehl 3d95d05e19 Merge remote-tracking branch 'origin' into 42-new-coding-style-for-homogenization-NEW 2019-01-12 20:52:48 +01:00
Martin Diehl 9d2c60e943 don't read material.config during init 2018-12-30 22:30:21 +01:00
Martin Diehl ced7da4d62 avoid mappings in bottom end functions 2018-12-30 21:54:50 +01:00
Martin Diehl 13f321d992 cleaning almost done 2018-12-22 09:05:46 +01:00
Martin Diehl 708fc9f6b3 not compatible with generalized solution handling 2018-12-22 08:32:47 +01:00
Martin Diehl 3c11905f63 cleaning 2018-11-03 23:43:25 +01:00
Martin Diehl c16fdec749 misplaced debug statement
debugging the individual constituents should be done by the constitutive
laws
2018-11-03 21:00:54 +01:00
Martin Diehl fdbc20b739 cleaned and unified 2018-11-03 19:29:00 +01:00
Martin Diehl 08c692bfc1 passing in instance simplifies things a lot 2018-11-03 16:40:17 +01:00
Martin Diehl a0c3a65b39 Noutput not needed anymore 2018-11-03 15:41:54 +01:00
Martin Diehl 17c21dfc92 mesh_element should not be used anymore 2018-10-13 18:21:13 +02:00
Martin Diehl 06d71d9d2c Merge remote-tracking branch 'origin/development' into 42-new-coding-style-for-homogenization 2018-10-13 17:27:25 +02:00
Martin Diehl 3e7b80a3ef debug only available if compiled in debug mode 2018-09-20 07:27:12 +02:00
Martin Diehl 1623a33b48 cleaning (mainly OMP FLUSh) 2018-09-19 21:46:26 +02:00
Martin Diehl 4112da183e Merge branch 'development' into 42-new-coding-style-for-homogenization 2018-08-28 06:28:13 +02:00
Franz Roters 38fd517c44 Merge remote-tracking branch 'remotes/origin/36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading' into development 2018-08-27 15:13:16 +02:00
Martin Diehl e6408e0ce3 corrected careless changes
using unallocated pointer and asigning wrong label
2018-08-26 21:05:59 +02:00
Martin Diehl 49ae38d0f9 using parameters from linked list and removed output
homogenization models should only provide model specific output in
accordance with http://dx.doi.org/10.1007/s40192-017-0084-5
2018-08-25 11:03:43 +02:00
Martin Diehl ab45818d51 seems to work now
anyway, nicer code
2018-08-22 14:30:51 +02:00
Martin Diehl 52088691d1 improved linked list and fixed solution for strange bug
Bug: Using automated LHS re-allocation for a string array that with global scope seems to cause trouble
     Hence, "parse_file" works with a local string and assings only once to it

Linked_List: Now storing data in the list head also and last element is always empty.
             Finalize allows simple handling of deallocation
2018-08-22 11:51:23 +02:00
Martin Diehl d4bcfae82b WIP: adopting to PETSc 3.9.x and modifications in development branch 2018-08-17 12:00:44 +02:00
Martin Diehl a908e66306 WIP: reading in new style 2018-07-30 11:58:59 +02:00
Test User efee9d98e7 elseif contained only debug statements, not needed 2018-07-03 21:58:28 +02:00
Martin Diehl a308b2130a Merge branch 'development' into 21_removeperformanceprofiling 2018-06-28 13:09:11 +02:00
Martin Diehl fc83a76318 consistent naming 2018-06-26 20:54:54 +02:00
Martin Diehl ea80e04ea8 deallocating config, simplifying 2018-06-26 20:50:06 +02:00
Martin Diehl 9c12ce5539 more general name (should include parsing of debug and numerics) 2018-06-14 06:39:49 +02:00
Martin Diehl 91d9c11612 material.config is read in centrally
moving data from material to config_material. use statements need to
change. All aspects of reading from file will be removed from the
individual modules
2018-06-10 18:01:52 +02:00
Martin Diehl 142ce51c9c homogenization and crystallite use new structure
math_transpose33 has no advantage over transpose intrinsic
2018-06-02 19:28:08 +02:00
Arka Lahiri c45d9f9ee9 Deleted performance profiling code 2018-05-17 16:33:35 +02:00
Arka Lahiri 90e9b98584 performance profiling should not be part of the source code 2018-05-09 16:35:09 +02:00
Philip Eisenlohr 0a763ff116 included changes to correct cutback issue of spectral solver 2018-02-16 09:36:18 -05:00
Martin Diehl d80e15bd76 compiler_options and compiler_version supported by new Intel compiler 2018-02-02 12:36:09 +01:00
Philip Eisenlohr 426b2d0537 Merge branch 'development' into 6-debug-replaces-openmp-preprocessor-switch 2017-11-06 11:39:58 -05:00
Martin Diehl e9440ccd6f suppress warning when compiling with gfortran 2017-10-05 16:35:34 +02:00
Philip Eisenlohr 483ed745e0 replaced #ifndef _OPENMP with #ifdef DEBUG to trigger inclusion of parallelized debug statements; fixed minor bugs in debug output 2017-10-03 09:20:53 -04:00
Philip Eisenlohr 330906d08f removed unneccesary detail from general error message, now caller gives specifics 2017-09-19 08:11:57 -04:00
Martin Diehl 12f66fd806 bug introduced during merge 2017-05-18 11:42:41 +02:00
Martin Diehl 9be3cac947 unused variable 2017-05-18 11:32:49 +02:00
zhangc43 3a561c9a8d remove obsolete j2 module 2016-04-26 14:24:43 -04:00
Chen Zhang 672c8d0606 Merge remote branch 'origin/development' into cmake 2016-04-18 09:11:29 -04:00
Chen Zhang e33594cb44 change code folder to src 2016-03-04 14:43:29 -05:00