output differs when using dEq0 instead of dEq(x,0.0)

revert this change for the moment, even though dEq0 seems to be more safe
This commit is contained in:
Martin Diehl 2016-11-01 09:34:46 +01:00
parent 9e76b51014
commit d2b89a16e9
1 changed files with 2 additions and 2 deletions

View File

@ -1174,7 +1174,7 @@ end subroutine plastic_disloUCLA_dotState
function plastic_disloUCLA_postResults(Tstar_v,Temperature,ipc,ip,el)
use prec, only: &
tol_math_check, &
dEq0
dEq
use math, only: &
pi
use material, only: &
@ -1402,7 +1402,7 @@ function plastic_disloUCLA_postResults(Tstar_v,Temperature,ipc,ip,el)
c = c + ns
elseif(plastic_disloUCLA_outputID(o,instance) == stress_exponent_ID) then
do j = 1_pInt, ns
if (dEq0(gdot_slip_pos(j)+gdot_slip_neg(j))) then
if (dEq(gdot_slip_pos(j)+gdot_slip_neg(j),0.0_pReal)) then
plastic_disloUCLA_postResults(c+j) = 0.0_pReal
else
plastic_disloUCLA_postResults(c+j) = (tau_slip_pos(j)+tau_slip_neg(j))/&