Commit Graph

14756 Commits

Author SHA1 Message Date
Martin Diehl 6657e5c4eb testing a few corner cases
behavior for __eq__ is now following python standard, comparing to wrong
class gives False
2022-01-15 13:22:15 +01:00
Martin Diehl a37178ddee handle case of -0.0
-0.0 < 0.0 ! false
so need sign to change direction for also for the corner case of -0.0
2022-01-15 12:28:39 +01:00
Martin Diehl d1cd125a5b direct array reversal, don't duplicate FFTW manual 2022-01-15 12:27:07 +01:00
Martin Diehl 8a17cef28c using AGPL instead of GPL
ensures back-contributions for cloud-based services
2022-01-15 00:20:29 +01:00
Martin Diehl b796bc0697 simplified 2022-01-14 20:44:34 +01:00
Daniel Otto de Mentock 01cc6ffd2c added minor grid adjustments after initial merge of typehints_grid branch 2022-01-14 17:56:58 +01:00
Martin Diehl 6324ffcb9e more robust update of VERSION file
update version only if no push to development has occured in the
meantime.

Less error prone.  Very small change for race condition remains
2022-01-14 16:00:29 +01:00
Daniel Otto de Mentock dd82c3c8f0 rewrote table module adjustments to not make use of _io module 2022-01-14 15:08:40 +01:00
Test User 6da3f0fa51 [skip ci] updated version information after successful test of v3.0.0-alpha5-389-ga000e477c 2022-01-14 07:24:12 +01:00
Philip Eisenlohr 2c054f2b38 use same hex-hex interaction documentation as webpage 2022-01-13 11:23:09 -05:00
Daniel Otto de Mentock a000e477cf Merge branch 'typehints_grid' into 'development'
added fist typehints for _grid module

See merge request damask/DAMASK!474
2022-01-13 16:21:19 +00:00
Daniel Otto de Mentock db21e82fe3 adjusted data.column retrieval in save method 2022-01-13 17:15:54 +01:00
Philip Eisenlohr 45e33782e4 documentating more hex interactions 2022-01-13 10:42:05 -05:00
Martin Diehl 82dabe29c1 mesh: separate kind for DAMASK and PETSc integers 2022-01-13 16:30:42 +01:00
Philip Eisenlohr 4562f4262c add documentation to source code 2022-01-13 10:14:36 -05:00
Martin Diehl 29530da579 use correct kind of constants for calls to MPI/PETSc 2022-01-13 13:50:30 +01:00
Daniel Otto de Mentock b4088b666e adjusted filehandle conditional type 2022-01-13 13:27:50 +01:00
Martin Diehl 91a3ea96ec final MPI-DAMASK integer kind decoupling
bugfix: set error for openMP-calucations
2022-01-13 13:21:44 +01:00
Martin Diehl d7dbb6ffc2 needs to be public for Marc 2022-01-13 12:03:22 +01:00
Martin Diehl a7417a7ad7 default integer, PETSc integer, and MPI integer might be different 2022-01-13 12:02:33 +01:00
Martin Diehl 64395d4b2b not needed anymore
setting precision is done via compiler flag. Theoretically, it would
work to simply use pI64 for the interface (hypela2 and uedinc) but
stupid common blocks would need to be adjusted as well
2022-01-13 10:26:08 +01:00
Martin Diehl a3a3388855 decouple DAMASK default integer from MPI default integer 2022-01-13 10:25:45 +01:00
Martin Diehl 1c46e7ea1a not needed 2022-01-13 08:30:46 +01:00
Martin Diehl 8223dc7fa7 polishing
MPI, HDF5, PETSc, and DAMASK might have different integer kinds ..
2022-01-13 08:17:31 +01:00
Martin Diehl 3fb5bd459c pInt leftovers 2022-01-13 07:44:15 +01:00
Martin Diehl 4727652856 default integer is set via a compiler flag 2022-01-13 07:37:38 +01:00
Martin Diehl 3acabcdc7f docstring adjustments 2022-01-12 23:57:21 +01:00
Test User 7410463067 [skip ci] updated version information after successful test of v3.0.0-alpha5-379-g731222d09 2022-01-12 23:41:05 +01:00
Martin Diehl 2c1231a806 using best practices from grid_filters 2022-01-12 23:06:48 +01:00
Martin Diehl 9a8e7c8445 Merge branch 'development' into typehints_grid 2022-01-12 19:53:35 +01:00
Martin Diehl fd3c18ea4d calculate global entry in 64 bit 2022-01-12 17:58:44 +01:00
Martin Diehl ae0eead748 write out mapping as 64 bit integer 2022-01-12 17:44:07 +01:00
Martin Diehl 18913bb94e autodetect datatype 2022-01-12 17:33:14 +01:00
Daniel Otto de Mentock ffa80f6bef added typehints for table module 2022-01-12 17:10:13 +01:00
Martin Diehl a87db2ba0b test for long long integer 2022-01-12 16:56:24 +01:00
Martin Diehl 4bfc814a53 Merge remote-tracking branch 'origin/development' into petsc-64bit-integer 2022-01-12 16:37:22 +01:00
Daniel Otto de Mentock 731222d099 Merge branch 'grid_filter-flexible-typehints' into 'development'
allow flexible arguments for 1D arguments

See merge request damask/DAMASK!494
2022-01-12 13:18:40 +00:00
Martin Diehl 410a515afc allow flexible arguments for 1D arguments 2022-01-12 13:18:38 +00:00
Martin Diehl 771e8acdb9 revert change
need to find PETSc 'twice' to ensure version range ...
2022-01-12 07:46:25 +01:00
Test User f27efb6074 [skip ci] updated version information after successful test of v3.0.0-alpha5-375-g76fe2d2b3 2022-01-11 23:56:22 +01:00
Franz Roters 76fe2d2b36 Merge branch 'misc-improvements' into 'development'
polishing

See merge request damask/DAMASK!497
2022-01-11 15:45:09 +00:00
Martin Diehl 19f4f2eaec nice example
too simple for full-flegded ipython notebook
2022-01-11 00:36:49 +01:00
Martin Diehl 16fbd1757c integer exponents are potentially faster 2022-01-10 20:50:46 +01:00
Martin Diehl fc03ebc332 using PETSc with Fortran support for HDF5 2022-01-10 19:58:19 +01:00
Martin Diehl eea8aa94af not used 2022-01-10 18:50:28 +01:00
Martin Diehl 3ae0452440 more robust build
${PETSC_DIR} and ${PETSC_ARCH} are not always substituted in
${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables
Therefore, get location from pkgconfig (<XXX>_LIBRARY_DIRS) and use
PETSC_EXTERNAL_LIB_BASIC instead of PETSC_WITH_EXTERNAL_LIB to get the
linker commands for the external libraries.

Also simplified regex/cleaning
2022-01-10 12:01:48 +01:00
Martin Diehl 8de4829d0f testing non-trivial situation 2022-01-10 08:03:37 +01:00
Martin Diehl 076de59375 modern CMake shortcut 2022-01-09 20:48:58 +01:00
Martin Diehl 0f0108f603 polishing 2022-01-09 08:14:31 +01:00
Martin Diehl 1026d56842 credit where credit is due
referencing DOI gives faster access to actual data
2022-01-09 08:05:42 +01:00