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

Go to the source code of this file.

Functions/Subroutines

subroutine c33stif2el (nel, qc, qcg, qgc, qg, c33, cc, g33, cg)

Function/Subroutine Documentation

◆ c33stif2el()

subroutine c33stif2el ( integer nel,
qc,
qcg,
qgc,
qg,
c33,
cc,
g33,
cg )

Definition at line 30 of file c33stif2el.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C G l o b a l P a r a m e t e r s
38C-----------------------------------------------
39#include "mvsiz_p.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER NEL
44C REAL
46 . qc(mvsiz,3,3),qcg(mvsiz,3,3),qgc(mvsiz,3,3),qg(mvsiz,3,3),
47 . g3(mvsiz,3),c33(mvsiz,3),cc(mvsiz,3,3),cg(mvsiz,3,3),g33(mvsiz,3,3)
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER I,J,K,ISYM
52C REAL
54 . b(mvsiz,3,3)
55C-----------------------------------------------
56 isym = 0
57C
58 DO i=1,nel
59 b(i,1:3,1:3)=zero
60 ENDDO
61 DO j= 1,3
62 DO i=1,nel
63 b(i,j,j)=c33(i,j)
64 ENDDO
65 ENDDO
66 CALL cbatran3v(1,nel ,qc ,b ,qcg,isym)
67C
68 DO j= 1,3
69 DO k= 1,3
70 DO i=1,nel
71 cg(i,j,k)=half*b(i,j,k)
72 ENDDO
73 ENDDO
74 ENDDO
75C---------------[G']->[G33]----
76 isym = 1
77 DO i=1,nel
78 b(i,1:3,1:3)=zero
79 ENDDO
80 DO j= 1,3
81 DO i=1,nel
82 b(i,j,j)=c33(i,j)
83 ENDDO
84 ENDDO
85 CALL cbatran3v(1,nel ,qcg ,b ,qcg,isym)
86C
87 DO j= 1,3
88 DO k= j,3
89 DO i=1,nel
90 g33(i,j,k)=fourth*b(i,j,k)
91 ENDDO
92 ENDDO
93 ENDDO
94C---------------[C']->[CC]----
95 DO i=1,nel
96 b(i,1:3,1:3)=zero
97 ENDDO
98 DO j= 1,3
99 DO i=1,nel
100 b(i,j,j)=c33(i,j)
101 ENDDO
102 ENDDO
103 CALL cbatran3v(1,nel ,qc ,b ,qc,isym)
104C
105 DO j= 1,3
106 DO k= j,3
107 DO i=1,nel
108 cc(i,j,k)=b(i,j,k)
109 ENDDO
110 ENDDO
111 ENDDO
112C
113 DO j= 1,3
114 DO k= j+1,3
115 DO i=1,nel
116 cc(i,k,j)=cc(i,j,k)
117 g33(i,k,j)=g33(i,j,k)
118 ENDDO
119 ENDDO
120 ENDDO
121C
122 RETURN
subroutine cbatran3v(jft, jlt, vqi, kk, vqj, isym)
Definition cbatran3v.F:31
subroutine cg(dim, mat, rhs, sol, max_iter, tol)
#define my_real
Definition cppsort.cpp:32