Commit Graph

15260 Commits

Author SHA1 Message Date
Martin Diehl b56176d670 all YAML related initialization is constant (linear in number of points) 2022-04-14 16:17:17 +02:00
Martin Diehl 3309360e4b avoit out of bounds access 2022-04-14 07:20:16 +02:00
Martin Diehl 563d566a3f made two loops faster
the most annoying one is still slow.
2022-04-14 06:39:19 +02:00
Martin Diehl ca0df3389a avoid long pointer transversal 2022-04-14 00:06:54 +02:00
Martin Diehl 00671f943b easier to understand 2022-04-13 23:45:14 +02:00
Test User 03b9a7679f [skip ci] updated version information after successful test of v3.0.0-alpha6-202-g87b5097ff 2022-04-13 18:17:32 +02:00
Sharan 87b5097ffe Merge remote-tracking branch 'origin/libfyaml' into development 2022-04-13 15:56:30 +02:00
Martin Diehl c806885cb5 include libfyaml headers from non-standard locations
the CMake manual promises more than it holds.
Also adding some diagnostics+fixes for zlib, we still assume that it
exists (true on most systems, HDF5 also requires it normally)
see also https://stackoverflow.com/questions/21593
2022-04-13 07:58:31 +02:00
Martin Diehl 723252ef15 libfyaml backend
currently it simply converts the whole file content to flow mode.
The nice thing is: It can convert EVERYTHING to flow mode. libfyaml is
the only library that passes the whole YAML test suite
2022-04-12 23:24:07 +02:00
Test User 4622380134 [skip ci] updated version information after successful test of v3.0.0-alpha6-197-g39d79c23b 2022-04-12 23:19:28 +02:00
Martin Diehl affa7baa22 search for libfyaml
no consequences so far
2022-04-12 21:02:09 +02:00
Martin Diehl 39d79c23b2 Merge branch 'missing-add_strain' into 'development'
missing-add_strain

See merge request damask/DAMASK!559
2022-04-12 18:56:42 +00:00
Nikhil Prabhu 58b67007a9 fixed missing add_strain 2022-04-12 12:02:00 +02:00
Test User 8ebd234aaf [skip ci] updated version information after successful test of v3.0.0-alpha6-194-ga4c396949 2022-04-10 15:18:41 +02:00
Martin Diehl a4c396949b Merge branch 'detect-FFTW-HDF5' into 'development'
detecting HDF5 and FFTW

See merge request damask/DAMASK!558
2022-04-10 10:53:10 +00:00
Martin Diehl 16f5a27e08 detecting HDF5 and FFTW
some PETSc installations are not aware of them, so it might make sense
to become independent of PETSc. But PETSc-defined variables should take
precedence
2022-04-09 21:10:15 +02:00
Test User 700f256b7c [skip ci] updated version information after successful test of v3.0.0-alpha6-191-gf8d4e3cf5 2022-04-04 13:04:27 +02:00
Martin Diehl f8d4e3cf50 Merge branch 'PETSc-3.17-fix' into 'development'
Pet sc 3.17 fix

See merge request damask/DAMASK!557
2022-04-04 08:42:05 +00:00
Martin Diehl 0376de4a11 not needed 2022-04-04 08:17:06 +02:00
Martin Diehl 34cc66f1bf use old interface for previous PETSc versions 2022-04-04 08:14:48 +02:00
Test User 3bf52d832f [skip ci] updated version information after successful test of v3.0.0-alpha6-187-gbf7da2c71 2022-04-03 23:33:19 +02:00
Martin Diehl bf7da2c717 Merge branch 'PETSc-3.17' into 'development'
support for PETSc 3.17.0

See merge request damask/DAMASK!556
2022-04-03 19:10:38 +00:00
Martin Diehl 8d44c55141 support for PETSc 3.17.0
DCHKERRQ has been replaced by PetscCall
2022-04-03 17:56:17 +02:00
Philip Eisenlohr 84ac426606 additional property shows integer list 2022-04-01 18:04:50 -04:00
Test User 4f646f03ee [skip ci] updated version information after successful test of v3.0.0-alpha6-184-g1f98b04d4 2022-03-27 21:30:58 +02:00
Philip Eisenlohr 1f98b04d44 Merge branch 'util_open' into 'development'
centralize opening of text files

See merge request damask/DAMASK!555
2022-03-27 17:10:31 +00:00
Test User 7135b58b99 [skip ci] updated version information after successful test of v3.0.0-alpha6-180-g2dfde6997 2022-03-27 14:00:35 +02:00
Martin Diehl 0916922423 read Windows/Unix, write Unix line endings 2022-03-27 10:03:47 +02:00
Martin Diehl f3cf67d3fa avoid code duplication and inconsistencies 2022-03-27 09:55:20 +02:00
Martin Diehl 2dfde6997b Merge branch 'GitHub-Actions-Windows' into 'development'
test python library on Windows

See merge request damask/DAMASK!554
2022-03-27 06:20:10 +00:00
Martin Diehl 4423fad91c Merge branch 'clean-Marc' into 'development'
not needed anymore

See merge request damask/DAMASK!553
2022-03-27 06:11:04 +00:00
Martin Diehl 0d57a13c9b run tests on Windows
XDMF does not work (not sure why, works locally)
2022-03-26 22:16:32 +01:00
Martin Diehl bd56a3f2a5 tests might fail on windows 2022-03-26 22:13:54 +01:00
Martin Diehl ff3d3afe9e '/' is separator in h5py even on windows.
os.path assumes OS-dependent path separators
2022-03-26 22:09:45 +01:00
Martin Diehl c11d38b2ec avoid blocking pop-up 2022-03-26 22:08:09 +01:00
Martin Diehl 7f09bbeb08 int is 32 bit on Windows (cause trouble for hybrid_IA) 2022-03-26 22:06:03 +01:00
Martin Diehl e9906864cf ensure Unix line endings 2022-03-26 22:00:08 +01:00
Philip Eisenlohr 3cceffccb5 use updated .ic->.initial_conditions tests 2022-03-25 09:42:44 -04:00
Philip Eisenlohr 7f23f7b5b6 added IC setter/getter; explicit init of returned Grids 2022-03-24 17:23:37 -04:00
Sharan 46259d983d Merge remote-tracking branch 'origin/development' into missing-docstring 2022-03-24 16:19:59 +01:00
Test User ac49365e34 [skip ci] updated version information after successful test of v3.0.0-alpha6-170-gfab34d5c3 2022-03-24 14:46:59 +01:00
Daniel Otto de Mentock fab34d5c3a Merge branch 'expanduser' into 'development'
allow to use '~' in filenames

See merge request damask/DAMASK!552
2022-03-24 11:28:08 +00:00
Martin Diehl fe62c0eaed not needed anymore 2022-03-23 22:33:04 +01:00
Test User 4b5cc2a7bc [skip ci] updated version information after successful test of v3.0.0-alpha6-167-gae32d7398 2022-03-23 15:25:23 +01:00
Sharan Roongta ae32d7398d Merge branch 'avoid-NULL-pointer' into 'development'
avoid segmentation fault (null is returned if not scalar)

See merge request damask/DAMASK!551
2022-03-23 12:01:49 +00:00
Sharan 9087d4305a Merge remote-tracking branch 'origin/development' into missing-docstring 2022-03-20 14:50:43 +01:00
Sharan 87608b6ed0 missing docstring 2022-03-20 11:55:15 +01:00
Martin Diehl 2330b8ce15 using current development 2022-03-20 11:22:43 +01:00
Philip Eisenlohr 5b87fafcae Merge branch 'consistent-orientation-from' into 'development'
consistent "shape" keyword in from_X

Closes #165

See merge request damask/DAMASK!546
2022-03-20 00:00:25 +00:00
Martin Diehl 945b10e3e6 avoid segmentation fault (null is returned if not scalar) 2022-03-20 00:00:52 +01:00