OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s8rota3.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine s8rota3 (sig, wxx, wyy, wzz, nel, jcvt)

Function/Subroutine Documentation

◆ s8rota3()

subroutine s8rota3 ( sig,
wxx,
wyy,
wzz,
integer nel,
integer, intent(in) jcvt )

Definition at line 28 of file s8rota3.F.

31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C G l o b a l P a r a m e t e r s
37C-----------------------------------------------
38#include "mvsiz_p.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER, INTENT(IN) :: JCVT
43 INTEGER NEL
44C REAL
46 . sig(nel,6), wxx(mvsiz), wyy(mvsiz), wzz(mvsiz)
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53 INTEGER I
54C REAL
56 . s1, s2, s3, s4, s5, s6,
57 . q1, q2, q3
58C-----------------------------------------------
59 IF (jcvt == 0) THEN
60 DO i=1,nel
61 s1=sig(i,1)
62 s2=sig(i,2)
63 s3=sig(i,3)
64 s4=sig(i,4)
65 s5=sig(i,5)
66 s6=sig(i,6)
67C
68 q1=two*s4*wzz(i)
69 q2=two*s6*wyy(i)
70 q3=two*s5*wxx(i)
71C
72
73 sig(i,1)=s1-q1+q2
74 sig(i,2)=s2+q1-q3
75 sig(i,3)=s3-q2+q3
76 sig(i,4)=s4+wzz(i)*(s1-s2)+wyy(i)*s5-wxx(i)*s6
77 sig(i,5)=s5+wxx(i)*(s2-s3)+wzz(i)*s6-wyy(i)*s4
78 sig(i,6)=s6+wyy(i)*(s3-s1)+wxx(i)*s4-wzz(i)*s5
79 ENDDO
80 ENDIF
81C
82 RETURN
#define my_real
Definition cppsort.cpp:32