35 integer imat,ntmat_,id,nshcon(*),four,i
37 real*8 t1l,shcon(0:3,ntmat_,*),cp,physcon(*)
43 call ident2(shcon(0,1,imat),t1l,nshcon(imat),four,id)
44 if(nshcon(imat).eq.0)
then 46 elseif(nshcon(imat).eq.1)
then 50 elseif(id.eq.nshcon(imat))
then 51 cp=(shcon(0,1,imat)-physcon(1))*shcon(1,1,imat)
53 cp=cp+(shcon(0,i,imat)-shcon(0,i-1,imat))*
54 & (shcon(1,i,imat)+shcon(1,i-1,imat))/2.d0
56 cp=cp+(t1l-shcon(0,nshcon(imat),imat))*
57 & (shcon(1,nshcon(imat),imat))
58 cp=cp/(t1l-physcon(1))
61 & (shcon(1,id+1,imat)-shcon(1,id,imat))*
62 & (t1l-shcon(0,id,imat))/
63 & (shcon(0,id+1,imat)-shcon(0,id,imat))
64 cp=(t1l-shcon(0,id,imat))*(cp+shcon(1,id,imat))/2.d0
66 cp=cp+(shcon(0,i,imat)-shcon(0,i-1,imat))*
67 & (shcon(1,i,imat)+shcon(1,i-1,imat))/2.d0
69 cp=cp+(shcon(0,1,imat)-physcon(1))*shcon(1,1,imat)
70 cp=cp/(t1l-physcon(1))
subroutine ident2(x, px, n, ninc, id)
Definition: ident2.f:27