Commit Graph

500 Commits

Author SHA1 Message Date
Martin Diehl 555ca8e5f1 debug statements not needed anymore 2018-08-30 17:21:22 +02:00
Martin Diehl 62413e8187 now compiles again 2018-08-30 17:18:56 +02:00
Martin Diehl 5f97ae9080 not used at the moment 2018-08-30 16:39:18 +02:00
Martin Diehl cbecb71000 [skip sc] using explicit interface helps to get correct type
still some issues with different ranks and datatypes
2018-08-30 13:10:18 +02:00
Martin Diehl b930c68887 PETSc 3.9 style (no SIGSEGVs anymore) 2018-08-30 12:38:44 +02:00
Martin Diehl 8b6bef159e a little bit more verbose 2018-08-30 12:38:29 +02:00
Martin Diehl 3254ae79a5 collecting questions to Pratheek 2018-08-30 12:37:47 +02:00
Martin Diehl d180af494e adopted to new PETSc fortran interface 2018-08-30 11:55:13 +02:00
Martin Diehl 06e7156351 did not work for values <0 2018-08-28 12:41:21 +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 94695f773e more verbose and works for arbitrary precision 2018-08-28 07:47:05 +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 b11666effa Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-08-26 13:59:50 +02:00
Martin Diehl a5f139b786 unused variables 2018-08-26 11:53:18 +02:00
Martin Diehl 241b2ade8b more portable way to define PI
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/490432
and compiler will not complain about truncation
2018-08-26 11:40:38 +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 7ecb7689f1 Intel compiler failed with SIGSEV
derived types, pointers, finalize .... altogether seems to bring both Compilers to their limits.
I cannot see what was wrong before, but now it works and might be a little faster
2018-08-23 00:13:57 +02:00
Martin Diehl 271b9ba76b intersting note ... 2018-08-22 23:28:47 +02:00
Martin Diehl 8c5f3d4e07 only needed once 2018-08-22 22:52:12 +02:00
Martin Diehl dc596e6789 zero termination does not work 2018-08-22 18:09:17 +02:00
Martin Diehl 1a943df97e small flaws 2018-08-22 17:52:00 +02:00
Martin Diehl ab45818d51 seems to work now
anyway, nicer code
2018-08-22 14:30:51 +02:00
Martin Diehl 1b5623ad6c avoid out of bound access, removed unneeded stuff 2018-08-22 14:22:37 +02:00
Martin Diehl 037ab3d081 getTag works now for tags with the same start and close tag
needed for '/echo/'. Still suggest to rather use /echo\
2018-08-22 13:10:59 +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 52002f654e to converge at one point to one (or two) string lenth values 2018-08-22 09:14:16 +02:00
Martin Diehl 0068dba40f Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-22 09:11:33 +02:00
Martin Diehl 4d432e5462 Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-08-21 23:03:56 +02:00
Martin Diehl 8de321382f using final seems to be the better approach
http://www.training.prace-ri.eu/uploads/tx_pracetmo/AdvFTN_handout.pdf
still needs in-depth analysis, even though I cannot reproduce 'terminally ill'
2018-08-21 08:14:59 +02:00
Martin Diehl d146417abe hot fix for terminally ill with gfortran 7.3
might be a bug in the compiler or in the linked list.
waste some memory at the moment...
check linked list carefully before enabling again and blaming gfortran
2018-08-21 07:41:10 +02:00
Martin Diehl 465d950ab1 gfortran 7.3 and optimized code still gives 'terminally ill' 2018-08-21 07:09:50 +02:00
Martin Diehl 60f56255e4 [skip sc] [skip ci] simplified interfacing 2018-08-20 23:14:49 +02:00
Martin Diehl 69ad600916 more explicit file opening
still having trouble with Gfortran 7.3 and no numerics.config
2018-08-20 22:36:55 +02:00
Philip Eisenlohr 87a8a9536b absTol for divergence was way too tight 2018-08-20 16:34:43 -04:00
Martin Diehl c78396dd78 randomized FILEUNIT
matrix inversion error when numerics.config is not there or not present
very strange
2018-08-20 22:11:53 +02:00
Martin Diehl e47677738a more verbose error 2018-08-20 17:57:15 +02:00
Martin Diehl dbed7056e5 [skip sc] cleaning 2018-08-20 17:08:33 +02:00
Martin Diehl 93562d5142 mapping of elements etc not needed for PETSc-based FEM and spectral
solvers
2018-08-20 16:42:47 +02:00
Martin Diehl e3e905938e all elements are CP elements 2018-08-20 16:23:05 +02:00
Martin Diehl 3e4c878304 using shared interface for spectral and FEM solver
group_scalar seems inappropriate as integers are also scalars. renamed
to group_float (is actually usually of double precision).

think about better name, types should have a t prefix. tgroupFloat?
2018-08-20 16:09:40 +02:00
Martin Diehl b8d56ae320 unfified interface for spectral and FEM solver
Note: extension to load case and geometry is not added automatically
anymore!
2018-08-20 15:59:13 +02:00
Martin Diehl f29a5b3df3 not used at all 2018-08-20 13:15:44 +02:00
Martin Diehl 543c49426f Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-08-20 09:09:15 +02:00
Martin Diehl 3a097d1099 Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading 2018-08-20 09:04:28 +02:00
Martin Diehl 8fb780ab42 now compiles with gfortran 2018-08-20 09:01:13 +02:00
Martin Diehl d6c69e3a18 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-18 23:17:07 +02:00
Martin Diehl f7c20d74af compiles now, but most likely does not work 2018-08-18 15:58:42 +02:00
Martin Diehl 0d8f17cbe6 adjusting to PETSc 3.9.x 2018-08-18 14:05:57 +02:00
Philip Eisenlohr c03ea8f5c7 added forgotten C66(2,2) read-in from parameter database 2018-08-17 15:43:09 -04:00
Philip Eisenlohr 62d2806fe1 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-08-17 14:59:00 -04:00