gfortran was complaining abound mismatch

This commit is contained in:
Luv Sharma 2015-10-07 13:07:21 +00:00
parent 3b0dc374bb
commit 9ec7c08bb6
1 changed files with 4 additions and 2 deletions

View File

@ -328,8 +328,10 @@ subroutine spectral_damage_formResidual(in,x_scal,f_scal,dummy,ierr)
call utilities_FFTscalarForward() call utilities_FFTscalarForward()
call utilities_fourierGreenConvolution(D_ref, mobility_ref, params%timeinc) call utilities_fourierGreenConvolution(D_ref, mobility_ref, params%timeinc)
call utilities_FFTscalarBackward() call utilities_FFTscalarBackward()
where(scalarField_real > damage_lastInc) scalarField_real = damage_lastInc where(scalarField_real(1:grid(1),1:grid(2),1:grid3) > damage_lastInc) &
where(scalarField_real < residualStiffness) scalarField_real = residualStiffness scalarField_real(1:grid(1),1:grid(2),1:grid3) = damage_lastInc
where(scalarField_real(1:grid(1),1:grid(2),1:grid3) < residualStiffness) &
scalarField_real(1:grid(1),1:grid(2),1:grid3) = residualStiffness
!-------------------------------------------------------------------------------------------------- !--------------------------------------------------------------------------------------------------
! constructing residual ! constructing residual