#include "implicit_f.inc"
#include "mvsiz_p.inc"
Go to the source code of this file.
|
| subroutine | s8csigp3 (sig, e0, defp, fac, g_pla, nel) |
◆ s8csigp3()
| subroutine s8csigp3 |
( |
intent(in) | sig, |
|
|
intent(in) | e0, |
|
|
intent(in) | defp, |
|
|
intent(out) | fac, |
|
|
integer | g_pla, |
|
|
integer | nel ) |
Definition at line 31 of file s8csigp3.F.
32
33
34
35#include "implicit_f.inc"
36
37
38
39#include "mvsiz_p.inc"
40
41
42
43 INTEGER G_PLA,NEL
44
45 my_real ,
DIMENSION(NEL) ,
INTENT(IN) :: defp
46 my_real ,
DIMENSION(NEL,6) ,
INTENT(IN) :: sig
47 my_real ,
DIMENSION(MVSIZ) ,
INTENT(IN) :: e0
48 my_real ,
DIMENSION(MVSIZ) ,
INTENT(OUT) :: fac
49
50
51
52 INTEGER I
53
55 . s1,s2,s3,sigy,deft
56
57 IF (g_pla == 0) THEN
58 fac(1:nel)=zero
59 ELSE
60 DO i=1,nel
61 IF (defp(i) <= zero) THEN
62 fac(i)=zero
63 ELSE
64 s1 =sig(i,1)-sig(i,2)
65 s2 =sig(i,2)-sig(i,3)
66 s3 =sig(i,1)-sig(i,3)
67 sigy = (s1*s1+s2*s2+s3*s3)*half +three*(sig(i,4)*sig(i,4)
68 . +sig(i,5)*sig(i,5)+sig(i,6)*sig(i,6))
69 deft = sqrt(sigy)/e0(i)+defp(i)
70 fac(i)=sqrt(defp(i)/deft)
71 ENDIF
72 ENDDO
73 ENDIF
74
75 RETURN