Commit Graph

15155 Commits

Author SHA1 Message Date
Martin Diehl b796ccb04a DAMASK requires gfortran >= 9 2022-04-18 13:18:14 +02:00
Martin Diehl 808ef139ae avoid code duplication by using assumed rank "(..)"
- lack of modern Fortran interface for HDF5 still requires branching to
  call the same code
- not sure how to handle the read function (assumed rank and intent(out)
  ) does not work together
2022-04-18 13:16:45 +02:00
Test User 5d99b152ee [skip ci] updated version information after successful test of v3.0.0-alpha6-206-g51582b80f 2022-04-15 21:23:03 +02:00
Martin Diehl 51582b80f8 don't fail
windows is unreliable
2022-04-15 15:48:21 +02:00
Martin Diehl 5f49f38a01 nicely formatted readmes 2022-04-15 15:40:24 +02:00
Martin Diehl f11b6f54e5 markdown - as for PRIVATE 2022-04-15 15:35:36 +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
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
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
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
Martin Diehl 135f2e7add allow to use '~' in filenames
no idea how to test, but seems to work
2022-03-19 11:10:22 +01:00
Martin Diehl 52d595ff62 numpy-compatible shape definition
can be scalar or sequence.
Try to avoid to use the term 'rotation' in the documentation and also
don't specify the return type because it will be used by
'damask.Orientation'.
2022-03-19 10:55:03 +01:00
Test User b5d6f2dc83 [skip ci] updated version information after successful test of v3.0.0-alpha6-157-gecb33641d 2022-03-18 16:09:43 +01:00
Franz Roters ecb33641da Merge branch 'table-save-ang' into 'development'
Table.save(with_labels=False)

See merge request damask/DAMASK!547
2022-03-18 12:55:04 +00:00
Martin Diehl 4972c43b17 return scalar for None, not one-point array 2022-03-18 09:06:48 +01:00