Commit Graph

14951 Commits

Author SHA1 Message Date
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
Sharan Roongta 236f0297ac test added 2022-01-12 20:42:37 +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 29cbf1304b grain growth not maintained and has issues
the grain growth model is based on the Voronoi Implicit Interface Method
(https://doi.org/10.1016/j.jcp.2012.04.004). The last step in this
algorithm is the assignment of the new phase/material ID to the voxels
in the 'thick boundary' which is done with distance_transform_edt from
ndimage. This problem can have multiple solution and can lead to the
translation of grains.

In the original publication, the position of the boundary is calculated
with subvoxel resolution by solving the eikonal equation. The following
python packages might help:
https://pypi.org/project/eikonalfm
https://pypi.org/project/scikit-fmm
https://github.com/malcolmw/pykonal
2022-01-12 07:48:09 +01: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
Sharan Roongta e80d91e30a thermal restart (WIP) 2022-01-11 16:11:18 +01: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
Martin Diehl a884b99aa9 Merge remote-tracking branch 'origin/development' into physics-based-hex-interactions 2022-01-08 20:45:46 +01:00
Test User c065e2b2f1 [skip ci] updated version information after successful test of v3.0.0-alpha5-360-gdd6e9a016 2022-01-08 18:03:24 +01:00
Martin Diehl dd6e9a016e just off by 46 orders of magnitude ;) 2022-01-08 12:07:29 +00:00
Test User e3a233a681 [skip ci] updated version information after successful test of v3.0.0-alpha5-358-g81a7c32a5 2022-01-07 21:38:12 +01:00
Daniel Otto de Mentock f404fea105 Merge branch 'development' into 'typehints_grid'
# Conflicts:
#   python/damask/_grid.py
2022-01-07 15:04:41 +00:00
Martin Diehl 81a7c32a53 Merge branch 'kinehardening-reference' into 'development'
reference for kinehardening constitutive law

See merge request damask/DAMASK!493
2022-01-07 12:59:29 +00:00
Test User a2f6475baa [skip ci] updated version information after successful test of v3.0.0-alpha5-355-gc29428a60 2022-01-07 07:23:43 +01:00
Sharan Roongta c29428a609 Merge branch 'more-material-parameters' into 'development'
new material parameters

See merge request damask/DAMASK!490
2022-01-06 16:28:40 +00:00
Philip Eisenlohr b12a180974 added literature reference for constitutive law 2022-01-06 09:54:33 -05:00
Daniel Otto de Mentock 0a31ff0980 added type:ignore statement to broken line 2022-01-06 14:33:41 +01:00