get debug info for spectral solver as well
This commit is contained in:
parent
a3b37356be
commit
79592d2f0f
|
@ -69,7 +69,9 @@ program DAMASK_spectral
|
||||||
debug_levelBasic, &
|
debug_levelBasic, &
|
||||||
debug_spectralDivergence, &
|
debug_spectralDivergence, &
|
||||||
debug_spectralRestart, &
|
debug_spectralRestart, &
|
||||||
debug_spectralFFTW
|
debug_spectralFFTW, &
|
||||||
|
debug_reset, &
|
||||||
|
debug_info
|
||||||
|
|
||||||
use math
|
use math
|
||||||
|
|
||||||
|
@ -812,6 +814,7 @@ C_ref = C * wgt
|
||||||
P_real = 0.0_pReal ! needed because of the padding for FFTW
|
P_real = 0.0_pReal ! needed because of the padding for FFTW
|
||||||
C = 0.0_pReal
|
C = 0.0_pReal
|
||||||
ielem = 0_pInt
|
ielem = 0_pInt
|
||||||
|
call debug_reset()
|
||||||
do k = 1_pInt, res(3); do j = 1_pInt, res(2); do i = 1_pInt, res(1)
|
do k = 1_pInt, res(3); do j = 1_pInt, res(2); do i = 1_pInt, res(1)
|
||||||
ielem = ielem + 1_pInt
|
ielem = ielem + 1_pInt
|
||||||
call CPFEM_general(CPFEM_mode,& ! first element in first iteration retains CPFEM_mode 1,
|
call CPFEM_general(CPFEM_mode,& ! first element in first iteration retains CPFEM_mode 1,
|
||||||
|
@ -821,6 +824,7 @@ C_ref = C * wgt
|
||||||
CPFEM_mode = 2_pInt
|
CPFEM_mode = 2_pInt
|
||||||
C = C + dPdF
|
C = C + dPdF
|
||||||
enddo; enddo; enddo
|
enddo; enddo; enddo
|
||||||
|
call debug_info()
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
! copy one component of the stress field to to a single FT and check for mismatch
|
! copy one component of the stress field to to a single FT and check for mismatch
|
||||||
|
|
Loading…
Reference in New Issue