29 1 PM, EINT, THETA, AMU,
35#include "implicit_f.inc"
43 INTEGER,
INTENT(IN) :: NEL
47 . pm(npropm,*), eint(*), theta(*),
48 . amu(*), c1(*), c2(*), df(*), psh(*), pc(*)
53 my_real EINT0, SPH, DMU, PLIM, C2MU, C1PSH,
60 plim =pc(i)-c1(i)-psh(i)
61 IF(c2(i)>abs(plim/ep36))
THEN
62 dmu =
min(amu(i)-plim/c2(i),zero)
70 ecold =(c1psh + half*c2mu)*amu(i)
73 ecold =ecold + half*dmu*(c1psh+c2mu-pc(i))
76 theta(i)=theta(i) + (eint(i)*df(i)-ecold)/sph
subroutine mtheta(pm, eint, theta, amu, c1, c2, df, psh, pc, mat, nel)