Martin Diehl
7bfd7a42ea
empty file needs special case for Ifort
2019-03-09 13:43:56 +01:00
Martin Diehl
02c7b1056a
use central functionality
...
IO function reads numerics.config and debug.config
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
363a95d5b7
not needed
2019-03-08 19:07:19 +01:00
Martin Diehl
0f6bf38299
unused functionality
2019-03-08 19:07:19 +01:00
Martin Diehl
b03208bc69
unused function
2019-03-07 22:19:08 +01:00
Martin Diehl
63e2ea7d8f
was not use (anymore)
2019-02-16 12:49:28 +01:00
Martin Diehl
efe9823e62
clearer logic for preprocessor statements
2019-02-16 10:43:02 +01:00
Martin Diehl
9a3921ea84
ifdef statements grouped together
...
unless they belong to a group of functions, like opening files or
interpreting lines
2019-02-16 10:20:53 +01:00
Martin Diehl
f45ba0ff5b
functions specific for MSC.Marc and/or Abaqus
...
these functions are very specific for the input files and might be
better located in the respective mesh module
2019-02-03 08:27:20 +01:00
Martin Diehl
2c7553653b
only used by MSC.Marc
2019-02-03 08:11:19 +01:00
Martin Diehl
40ad1aef2f
was not used
2019-02-03 08:07:58 +01:00
Martin Diehl
a92937a7e3
grid does reading in of geometry independently
2019-02-03 08:06:53 +01:00
Martin Diehl
3edbfc1cb5
bugfix:
...
infinite loop for geom file without new line at end
also, a lot of cleaning
2019-02-02 15:10:35 +01:00
Martin Diehl
fbd8912237
Merge branch 'development' into 53-separate-mesh-for-different-solvers-3
2019-01-31 11:41:45 +01:00
Martin Diehl
615b166992
removed unused stuff
2019-01-31 11:39:28 +01:00
Martin Diehl
beb0ca01eb
define functions where needed
...
only use solver specific element names
2019-01-31 11:29:56 +01:00
Philip Eisenlohr
27b034eb76
fixed bug in recursiveRead that failed to properly {include} in the last line of a file
2019-01-29 12:32:11 -05:00
Martin Diehl
cc858d3139
Merge branch 'development' into 44-column-major-access-to-interaction-matrices
2019-01-06 08:17:23 +01:00
Martin Diehl
8832c04dd0
more sanity checks
...
number of arguments for values per system needs to match the number of
systems that are defined
2018-12-21 11:52:23 +01:00
Martin Diehl
1446e9f4ab
polished
...
sanity checks + documentation
2018-12-12 00:30:20 +01:00
Martin Diehl
5768356642
PGI compatible
2018-12-06 01:12:15 +01:00
Martin Diehl
72304638f9
PGI fails if optional argument is not present
2018-12-06 00:43:32 +01:00
Martin Diehl
4ac12d1dc5
removed hybridIA
2018-10-14 10:11:26 +02:00
Franz Roters
d1561e867a
Merge branch '44-column-major-access-to-interaction-matrices' into 'development'
...
Resolve "column-major access to interaction matrices"
Closes #44
See merge request damask/DAMASK!43
2018-10-12 13:03:22 +02:00
Martin Diehl
7217cdac1b
Merge branch '29-rename-mesh_element-array' into development
2018-10-10 15:55:23 +02:00
Martin Diehl
ef1899cfd0
improved error reporting
...
- tell user specifically whether number of systems is too high or too
low
- c/a sanity check can be done centrally
2018-10-10 07:42:07 +02:00
Franz Roters
1d0584dcdf
typo in message
2018-10-09 16:44:47 +02:00
Martin Diehl
05aae4f7eb
removed forgotten debug statement
2018-10-08 23:34:05 +02:00
Martin Diehl
b51c3b5a07
handling files without LF at last line correctly
2018-10-08 23:27:06 +02:00
Martin Diehl
db45b7615a
drop support for heterogeneous meshes
...
heterogeneous meshes are neither advisable nor typically used
2018-09-23 15:24:14 +02:00
Martin Diehl
ae8efe2755
Merge branch 'development' into 44-column-major-access-to-interaction-matrices
2018-09-13 05:55:59 +02:00
Martin Diehl
f1f8922ab8
more meaningful error messages
2018-09-12 14:03:45 +02:00
Martin Diehl
29e55d20fb
message better to understand and giving error instead of SIGSEGV
2018-08-30 09:42:45 +02:00
Martin Diehl
06e7156351
did not work for values <0
2018-08-28 12:41:21 +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
69ad600916
more explicit file opening
...
still having trouble with Gfortran 7.3 and no numerics.config
2018-08-20 22:36:55 +02:00
Martin Diehl
20d1264d07
small improvements
...
default case of error handling, checking for recursion limit, some
comments to also understand it later
2018-08-04 13:58:01 +02:00
Martin Diehl
8c07825d7e
Merge branch 'development' into 36-faster-file-handling-for-material-config-use-stream-access-instead-of-line-wise-reading
2018-08-03 22:21:37 +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
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
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
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
66a254f8fb
polishing
2018-06-26 19:09:46 +02:00
Martin Diehl
e0a6b79b14
trying to have descriptive names
2018-06-10 23:38:16 +02:00
Martin Diehl
08a4da01e0
IO_stringPos failed when parsing trimmed string
2018-06-10 11:03:34 +02:00
Martin Diehl
bf43156112
search for global tags can stop once first section is found
2018-06-02 06:32:16 +02:00
Yi-Chin Yang
35a4fdc358
"et al." instead of "et. al" abbreviates "et alii", meaning "and others"
2018-04-22 10:07:49 +02:00
Sharan Roongta
488ff6bb2d
Rectifying a typo
2018-04-18 15:30:54 +02:00
Sharan Roongta
90a1af5096
Cited HybridIA algorithm
2018-04-18 14:18:48 +02:00
Philip Eisenlohr
0a763ff116
included changes to correct cutback issue of spectral solver
2018-02-16 09:36:18 -05:00
Martin Diehl
ba6fd70654
Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development
2018-02-03 09:02:20 +01:00
Franz Roters
d80a255736
new Marc2017 file format finally working!
2018-02-02 15:06:13 +01:00
Martin Diehl
d80e15bd76
compiler_options and compiler_version supported by new Intel compiler
2018-02-02 12:36:09 +01:00
Franz Roters
7149f9599f
changes towards supporting new Marc2017 input file format
...
still not working
2018-01-10 17:13:25 +01:00
Martin Diehl
e9440ccd6f
suppress warning when compiling with gfortran
2017-10-05 16:35:34 +02:00
Franz Roters
4d4a546e2d
hot fix for so far non-supported input file format of Marc 2017
2017-10-04 17:18:06 +02:00
Philip Eisenlohr
67ac5c7b84
Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development
2017-09-19 08:13:08 -04:00
Philip Eisenlohr
330906d08f
removed unneccesary detail from general error message, now caller gives specifics
2017-09-19 08:11:57 -04:00
Zhuowen Zhao
ae868d3ada
only one error for math_check; new "math_expand('what' by 'how')"
2017-09-14 15:25:22 -04:00
Martin Diehl
1f1a1826a1
string length was wrong, IO_warning now also with new style
2017-05-15 21:53:25 +02:00
Philip Eisenlohr
131e34ae8d
nicer formatting of error reporting
2017-04-30 21:48:06 -04:00
Martin Diehl
a5f8c5ba32
Merge branch 'development' into cmake
2017-04-15 16:17:50 +02:00
Martin Diehl
d86074829c
Merge branch 'development' into cmake
2017-02-03 19:28:23 +01: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