Commit Graph

7949 Commits

Author SHA1 Message Date
Martin Diehl beb418eb44 python3 compatible way
ugly, but works also for python2.7. Probably there is a better solution
when 2.7 is deprecated
2018-07-19 15:20:34 +02:00
Test User a3682d4876 [skip ci] updated version information after successful test of v2.0.2-232-gef6ffc94 2018-07-19 06:58:39 +02:00
Martin Diehl ef6ffc94e7 simplified system report 2018-07-18 23:40:49 +02:00
Martin Diehl 83657a6597 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-07-18 23:37:28 +02:00
Sharan Roongta 3f285d3a3f polishing: prm replaces param(instance) 2018-07-17 19:29:39 +02:00
Martin Diehl a3037a6064 cmpftwin was not read in 2018-07-17 18:02:55 +02:00
Martin Diehl b3a6aabdc5 cthresholdtwin was not read in!
polished and commented
2018-07-17 12:32:57 +02:00
Martin Diehl edcf97ea59 associate: clearer code and no performance drawbacks 2018-07-16 22:02:31 +02:00
Martin Diehl df42e9ed88 using associate avoids performance issues related to pointers 2018-07-16 21:37:26 +02:00
Martin Diehl e0e03827c5 simplified 2018-07-16 21:14:33 +02:00
Martin Diehl fb1265db3d checking for existing file 2018-07-16 20:08:31 +02:00
Martin Diehl fc0499a9bb bug fixes and polishing
bugs: wrong bracket in calculation of threshold_stress_twin
      3**b_twin instead of 3*b_twin in calculation of threshold_stress_twin
      ph instead of instance in calculation of mfp_twin
2018-07-16 19:53:26 +02:00
Martin Diehl a1ad18c88a 256 characters is enough for material.config
larger values waste memory and decrease readability.
Still need to discuss how geom files are handled, for them longer limits make sense
2018-07-16 12:08:22 +02:00
Martin Diehl 7f05bf9c0a leftover variables not needed anymore 2018-07-16 11:54:46 +02:00
Martin Diehl b26c4a39ef store raw material.config 2018-07-16 11:42:58 +02:00
Martin Diehl 3f7a1d1c07 function to read and store complete text file
reading as stream avoids costly repeated call to 'read'. Requires of course more memory, but that should be fine
also, recursion case ('{}') is internally handled. Old recursive was error prone and buggy when rewining (see 'reset' option)
2018-07-16 11:40:42 +02:00
Martin Diehl bc5fcf2c14 leftover variable from cleaning 2018-07-16 10:51:42 +02:00
Martin Diehl 942883e9dd Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-07-16 09:32:22 +02:00
Test User 6f3de6efe8 [skip ci] updated version information after successful test of v2.0.2-228-ge08b7325 2018-07-13 19:06:38 +02:00
Martin Diehl 84c29bb255 Merge branch 'development' into 19-NewStyleDislotwin 2018-07-13 11:54:42 +02:00
Sharan Roongta 0c7c77987b typo in plastic dislotwin 2018-07-12 23:22:55 +02:00
Sharan Roongta eb7860ba22 Tolerances were different from original 2018-07-12 18:30:30 +02:00
Martin Diehl e08b732592 it's a byte string in python3 2018-07-12 10:33:05 +02:00
Martin Diehl f592881f67 structured 2018-07-12 07:12:10 +02:00
Test User 86e88b3181 [skip ci] updated version information after successful test of v2.0.2-226-g6ed1e316 2018-07-11 12:24:13 +02:00
Martin Diehl 28414490c8 following https://packaging.python.org/tutorials/packaging-projects 2018-07-11 05:12:49 +02:00
Martin Diehl 6ed1e31699 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-07-11 05:02:40 +02:00
Martin Diehl a4e4a9c4ab merge does not work for strings of different length
fixed possible out of bounds access
2018-07-10 21:40:01 +02:00
Martin Diehl a1b1a4c476 include files are not libraries 2018-07-10 18:26:45 +02:00
Martin Diehl f6d3626c26 PETSc 3.9 is already default 2018-07-10 18:21:05 +02:00
Test User 5af612e4e6 [skip ci] updated version information after successful test of v2.0.2-221-g497a18b1 2018-07-10 13:18:52 +02:00
Martin Diehl fccac1546e always create tarball (should result in an Ubuntu Package one day) 2018-07-10 13:04:32 +02:00
Martin Diehl f493a5419b forgot line continuation 2018-07-10 10:39:24 +02:00
Martin Diehl 5fbe43053f more logical names in test 2018-07-10 10:26:07 +02:00
Martin Diehl 1336f8f129 cleanding and simplifying
1) arguments are case sensitive, i.e. -H is NOT -h
2) don't rely on trailing '/' for working dir
3) when adding '/' to working dir, rectify path should take care of '//'
2018-07-10 10:23:21 +02:00
Martin Diehl 70a3db275a verbose error message 2018-07-10 09:53:20 +02:00
Martin Diehl ac7bc4b9ed dont' store the working directory but set it centrally
makes life easier, writing and reading always to CWD unless absolute path is given
Spectral: using --wd argrument and C code
MSC.Marc: using directory of input deck and Intel extension
Abaqus: using function and Intel extension
2018-07-10 08:24:45 +02:00
Martin Diehl db8eadff60 Merge branch 'development' into 31_consistent_wd 2018-07-10 06:23:25 +02:00
Martin Diehl 497a18b149 also updating the generation of the documentation 2018-07-10 05:59:42 +02:00
Martin Diehl aa6c905bb5 Intel Compiler version 16.0 does not match Abaqus 2016.
Running optimized code results in symbol lookup error: /tmp/damask_user_std_26623/libstandardU.so: undefined symbol: _intel_fast_memmove
2018-07-09 20:30:12 +02:00
Martin Diehl cd4dc25513 Merge branch 'development' into 31_consistent_wd 2018-07-08 15:14:19 +02:00
Martin Diehl 07184b3142 still struggling on Abaqus exp 2018-07-08 15:10:46 +02:00
Martin Diehl 53def3edcd still removing Abaqus exp 2018-07-07 19:34:05 +02:00
Martin Diehl 771b8f00ec leftover from performance reporting/debugging 2018-07-07 13:50:39 +02:00
Martin Diehl a78d1d7556 Merge branch 'development' into 20-NewStyleDislotwin 2018-07-07 13:26:45 +02:00
Martin Diehl c2b332616a Merge branch 'development' into 31_consistent_wd 2018-07-07 12:37:51 +02:00
Martin Diehl 5295b49ab3 deallocate statements not needed
not clear why global variables need check (should be allocated only once)
local variables are deallocated when they go out of scope
2018-07-07 12:32:57 +02:00
Martin Diehl 4e3cc75c1a forgot rename 2018-07-07 12:32:47 +02:00
Martin Diehl d6a0f2574d adjusted test to leaner Abaqus wrapper without exp 2018-07-07 11:36:15 +02:00
Test User 3cab420813 [skip ci] Merge branch 'master' into development 2018-07-06 21:19:58 +02:00