Commit Graph

552 Commits

Author SHA1 Message Date
Martin Diehl 15e5bce7e4 indicate read-only access 2023-07-10 20:50:24 +02:00
Martin Diehl cf74a687c5 not needed 2023-07-10 20:40:22 +02:00
Martin Diehl 40b4062b83 reshape to expected shape 2023-07-06 14:39:36 +02:00
Philip Eisenlohr d2c374624e Additional language polish 2023-06-28 10:23:00 +00:00
Philip Eisenlohr da51fa5fdc Reporting language polishing 2023-06-21 09:37:00 +00:00
Martin Diehl 0324e7ece1 parameters should be spelled in capitals 2023-06-04 13:52:31 +02:00
Martin Diehl ca1c22874b consistent and short 2023-06-04 13:51:05 +02:00
Martin Diehl d0b832e6f1 consistent with naming in HDF5_utilities 2023-06-03 17:06:32 +02:00
Martin Diehl 7caf483dd9 standard documentation style (following numpy doc) 2023-04-19 07:51:54 +02:00
Martin Diehl f8875db044 unused leftover 2023-04-19 06:58:33 +02:00
Martin Diehl f4f2176561 Deallocate numerics configuration 2023-02-27 11:34:03 +00:00
Philip Eisenlohr dde60ec53f Consistent use of () in subroutine calling 2023-02-21 15:18:17 +00:00
Franz Roters b4e706f099 Merge branch '260-remove-debug-yaml-assocciated-code-tests' into 'development'
debug.yaml causes more work than it saves

Closes #260

See merge request damask/DAMASK!717
2023-02-14 08:12:59 +00:00
Martin Diehl e5b7ad335f debug.yaml causes more work than it saves 2023-02-13 22:26:58 +01:00
Daniel Otto de Mentock 335f61eec3 minor orthography adjustments 2023-02-11 14:30:12 +00:00
Martin Diehl 8002f982c2 unused variable (leftover from stroring *.C_ref) 2023-02-04 09:58:58 +01:00
Martin Diehl 13081dd655 relaxed tolerances needed on maws05 2023-02-01 19:27:04 +01:00
Daniel Otto de Mentock d11aca5fd4 Merge branch 'polish-grid' into 'development'
Polished grid code

See merge request damask/DAMASK!706
2023-01-23 09:56:52 +00:00
Sharan Roongta 4af29d0393 Merge branch '247-naming-for-classes' into 'development'
Resolve "naming for classes"

Closes #247

See merge request damask/DAMASK!699
2023-01-19 16:37:45 +00:00
Philip Eisenlohr b4a500a194 Resolve "naming for classes" 2023-01-19 16:37:45 +00:00
Martin Diehl e91c52f518 use common notation 2023-01-14 22:55:33 +01:00
Martin Diehl 1643fdf9fa consistent indexing 2023-01-14 22:46:00 +01:00
Martin Diehl 9464279eb5 better to understand 2023-01-14 22:34:05 +01:00
Sharan 7b6abafbb7 store data directly in HDF5 2023-01-10 02:03:32 +01:00
Sharan Roongta 5c221e16e1 solver should not solve for field if homogenization description is absent 2022-12-29 19:08:05 +00:00
Martin Diehl ede04c0264 style polishing 2022-12-11 18:16:13 +01:00
Martin Diehl e6c2e73e03 Merge remote-tracking branch 'origin/development' into 231-no-petscscalar-and-_range 2022-12-10 14:54:02 +01:00
Martin Diehl aaae8a701b Fortran style adjustments 2022-12-07 17:29:03 +00:00
Philip Eisenlohr 65cb9d5997 Merge branch 'development' into 228-unit-tests-for-spectral-functionality 2022-12-05 11:07:43 -05:00
Philip Eisenlohr 71a75f1cc2 more informative error stop messages 2022-12-05 11:01:06 -05:00
Yi Hu b9ee401ff5 add damage restart functionality and associated tests 2022-12-05 10:52:59 +00:00
Daniel Otto de Mentock 7c6c46c2db return value of fftw function is defined as cdouble 2022-12-05 10:39:42 +01:00
Daniel Otto de Mentock c2e78158c8 petsc macros can be omitted with use of preal 2022-12-05 10:38:36 +01:00
Martin Diehl f61273c062 standard style 2022-12-02 20:41:47 +01:00
Martin Diehl 411c86b5ef following style guide 2022-12-01 19:52:53 +01:00
Daniel Otto de Mentock a2f898a94c correcting function return type, indentation 2022-12-01 17:27:30 +01:00
Daniel Otto de Mentock b96576ce93 standardizing double definition across modules 2022-12-01 17:27:30 +01:00
Martin Diehl d364808c82 extending test to MPI parallel runs 2022-11-29 18:12:38 +01:00
Martin Diehl 0508fa9ec2 flatten solver data layout
avoid problem with chunking/compression (only relevant for large
simulations when this feature is used).
In addition, use a unified variable naming: no "_current" for
thermal and damage to follow example of mech.
2022-11-27 17:07:25 +01:00
Martin Diehl 39157b75b7 plane waves have known solutions 2022-11-27 16:53:53 +01:00
Martin Diehl 6be1d43dc6 gradient/curl/div of constant fields are zero 2022-11-26 10:37:54 +01:00
Philip Eisenlohr 8993b5caac Merge branch '232-residualstiffness-residualphi' into 'development'
better naming

Closes #232

See merge request damask/DAMASK!666
2022-11-25 15:12:54 +00:00
Sharan Roongta 99673bb865 Merge branch '162-error-stress-bc-grid' into 'development'
avoid confusion during reporting

Closes #162

See merge request damask/DAMASK!662
2022-11-24 12:50:39 +00:00
Sharan Roongta 9d71ffa3ee better naming 2022-11-24 11:23:10 +01:00
Martin Diehl deb8ebeb5b avoid confusion during reporting
polarization needs to ensure BC for F and P
2022-11-24 09:47:48 +01:00
Martin Diehl cad4cbc5d2 circument bug in gfortran
associate to strided pointer seems to cause trouble
2022-11-20 23:35:54 +01:00
Martin Diehl 2173c9e499 undo weighting needed for restart 2022-11-20 13:36:03 +01:00
Martin Diehl 34fb7e921a use self-documenting code
the comments did not anything that was not clear from the
variable/function names
2022-11-20 12:58:50 +01:00
Martin Diehl 9b80ff623b faster operation
explicit weighting not needed
2022-11-19 13:39:43 +01:00
Martin Diehl eb226d237f better readable 2022-11-19 13:27:32 +01:00
Martin Diehl 6db3b72c89 avoid global variables
extra memory (one vector field) required
2022-11-19 13:05:12 +01:00
Martin Diehl f22ff8fa25 avoid state-changing functions
requires explicit padding, i.e. a little bit of code duplication
2022-11-19 12:36:56 +01:00
Martin Diehl ad3c18b29b avoid use of global variables 2022-11-19 12:24:16 +01:00
Martin Diehl 7de3da50e7 include weighting operation into Gamma operator
avoids point-wise multiplication.
2022-11-19 12:05:31 +01:00
Martin Diehl cb6df618fe avoid global variables 2022-11-19 11:47:44 +01:00
Martin Diehl 18b8923929 centralize FFTs 2022-11-19 09:37:26 +01:00
Martin Diehl cd2a21509a avoid depenencies on global state
requires on extra forward FFT pre iteration for basic scheme
2022-11-19 09:01:57 +01:00
Martin Diehl 20da5663c0 simplified, avoid intermediate writes 2022-11-19 08:14:38 +01:00
Martin Diehl ce98cfdd5e padding is handled centrally in the FFT forward routines 2022-11-19 07:58:45 +01:00
Martin Diehl df5487e1a9 Re-written YAML types
Strict typing for YAML

New access pattern requires to specify the expected type, i.e. 'scalar', 'list', or 'dict'. This ensures that the node offers the expected functionality instead of polluting 'tNode' with dummy functions which throw error messages if not overwritten.

The restructuring of the code allows to hierarchically construct methods without much code duplication.

Some aspects of the error messaging system have been improved.
2022-10-25 16:09:36 +00:00
Martin Diehl d315aac163 use sourced allocation 2022-10-15 21:54:03 +02:00
Daniel Otto de Mentock 592936f21f missing allocation statement was causing gnu and intel debug compiler to fail 2022-10-14 11:44:42 +02:00
Sharan Roongta dd3b385ae5 correct dotT passed 2022-09-29 15:04:57 +02:00
Yi Hu bb65d58214 add read-in init phi, correct write-out damage result 2022-09-21 08:50:00 +02:00
Martin Diehl 043415c4bb unused and untested 2022-08-31 09:06:11 +00:00
Martin Diehl 0b9597e74e better error message/simpler code 2022-08-16 18:26:50 +02:00
Martin Diehl fbc6a1ebbf following naming convention
the variable is NOT related to the base64 module
2022-08-16 17:10:49 +02:00
Martin Diehl 237bda5ccf ensuring matching domain decomposition for all transforms 2022-07-29 07:29:20 +02:00
Martin Diehl aee8ecd43d Merge remote-tracking branch 'origin/development' into prepare-transposed-FFTW 2022-07-29 07:27:12 +02:00
Daniel Otto de Mentock 27a8610d92 loops over tensors in fourier space need to correspond to transposed structure 2022-07-22 14:58:30 +02:00
Daniel Otto de Mentock b1257d6b54 correcting wrong access to scalarfield_fourier 2022-07-19 14:47:05 +02:00
Daniel Otto de Mentock dda157aa5a accesses to fourier space tensors now need to correspond to transposed structure 2022-07-13 14:10:13 +02:00
Sharan Roongta bb63048a0f Merge branch 'implicit-none-external' into 'development'
implicit none cover external

See merge request damask/DAMASK!610
2022-07-08 11:43:19 +00:00
Martin Diehl ec0c486a2c transition to transposed storage 2022-07-06 18:01:39 +02:00
Martin Diehl 771ccb4485 testing average behavior 2022-07-01 14:33:10 +02:00
Martin Diehl fc76f9f60f preparing for use of transposed data in Fourier space 2022-06-30 22:23:27 +02:00
Martin Diehl 44ecedc7b0 unified names 2022-06-30 22:01:35 +02:00
Martin Diehl af2eb3e51d systematic names 2022-06-30 21:59:21 +02:00
Martin Diehl ef8f0becd4 only used within module 2022-06-30 21:45:49 +02:00
Martin Diehl de1633f420 limit access 2022-06-27 21:51:44 +02:00
Martin Diehl 61dc14e0b9 Merge remote-tracking branch 'origin/development' into implicit-none-external 2022-06-27 15:13:20 +02:00
Martin Diehl 3b57934d6e Marc precision handling 2022-06-27 08:37:41 +00:00
Martin Diehl 2f1904efec only MPI_f08 is standard conforming 2022-06-21 23:11:22 +02:00
Martin Diehl b8c3d75700 [skip sc] enforce interfaces (quick fix: declare as external) 2022-06-21 22:59:01 +02:00
Franz Roters 5155a3f958 Merge branch 'MPI-FFTW-fix' into 'development'
bugfix: prevent segmentation fault

Closes #192

See merge request damask/DAMASK!595
2022-06-02 16:13:24 +00:00
Martin Diehl b8530bbcc9 Merge branch 'implicit-none-in-interface' into 'development'
implicit none does not propagate

See merge request damask/DAMASK!596
2022-05-31 12:06:03 +00:00
Martin Diehl d858d753e3 implicit none does not propagate
each subroutine/function is independent and not part of a scope
2022-05-27 22:38:47 +02:00
Philip Eisenlohr f85e8a3ff4 more precise warning for fftw_plan_mode 2022-05-27 12:00:53 -04:00
Philip Eisenlohr 75bd643258 more precise warning for fftw_plan_mode 2022-05-27 11:58:10 -04:00
Martin Diehl dc59beb59c following advince from FFTW3 manual
silences a lot of gfortran warnings about unused variables
2022-05-27 09:54:00 +02:00
Martin Diehl 064b9c5cc4 bugfix: prevent segmentation fault
need to rely on FFTWs calculation for amount of storage needed
2022-05-27 09:53:04 +02:00
Martin Diehl 6c6b3e64b3 more flexible reporting 2022-05-27 09:38:47 +02:00
Martin Diehl f90523eb07 more flexible reporting 2022-05-27 08:33:50 +02:00
Martin Diehl d5db083fec more convenient to see all invalid parameters 2022-05-27 00:25:25 +02:00
Martin Diehl 19b78cb647 easier to read 2022-05-26 23:29:06 +02:00
Martin Diehl 82cad00f81 simplified interface 2022-05-26 19:07:23 +02:00
Martin Diehl a514d30060 standardized names 2022-05-26 19:03:29 +02:00
Martin Diehl 3f85027b9e better use SIGINT for actions triggered by the user
SIGTERM is send by MPI if one process fails, catching it results in
deadlocks
2022-05-13 11:58:03 +02:00
Franz Roters 6236ad52d1 consistent naming 2022-05-03 13:00:28 +02:00
Martin Diehl bb83d20fe9 Merge branch 'development' into structure-improvements 2022-04-27 05:55:19 +02:00