OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fequilibre.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| fequilibre ../engine/source/elements/shell/fequilibre.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||====================================================================
28 SUBROUTINE fequilibre(A,FZERO,IXC,IXTG)
29C------------------------------------------------------
30C I m p l i c i t T y p e s
31C------------------------------------------------------
32#include "implicit_f.inc"
33C------------------------------------------------------
34C C o m m o n B l o c k s
35C------------------------------------------------------
36#include "com04_c.inc"
37C------------------------------------------------------
38C D u m m y A r g u m e n t s
39C------------------------------------------------------
40 INTEGER IXC(NIXC,*),IXTG(NIXTG,*)
41C REAL
43 . a(3,*),fzero(3,4,*)
44C------------------------------------------------------
45C L o c a l V a r i a b l e s
46C------------------------------------------------------
47 INTEGER I,J,K,L, WA(NUMNOD)
48C------------------------------------------------------
49C S o u r c e L i n e s
50C------------------------------------------------------
51 DO i=1,numnod
52 wa(i)=0
53 ENDDO
54C------------------------------------------------------
55C I m p l i c a t i o n d e s n o e u d s
56C------------------------------------------------------
57 DO j=1,4
58 DO i=1,numelc
59 k=ixc(j+1,i)
60 wa(k)=wa(k)+1
61 ENDDO
62 ENDDO
63 DO j=1,3
64 DO i=1,numeltg
65 k=ixtg(j+1,i)
66 wa(k)=wa(k)+1
67 ENDDO
68 ENDDO
69C------------------------------------------------------
70C M i s e a 0 d e F Z E R O
71C------------------------------------------------------
72 DO j=1,4
73 DO l=1,3
74 DO i=1,(numelc+numeltg)
75 fzero(l,j,i) = zero
76 ENDDO
77 ENDDO
78 ENDDO
79C------------------------------------------------------
80C S h e l l 4 N
81C------------------------------------------------------
82 DO j=1,4
83 DO l=1,3
84 DO i=1,numelc
85 k=ixc(j+1,i)
86 fzero(l,j,i)=a(l,k)/wa(k)
87 ENDDO
88 ENDDO
89 ENDDO
90C------------------------------------------------------
91C S h e l l 3 N
92C------------------------------------------------------
93 DO j=1,3
94 DO l=1,3
95 DO i=1,numeltg
96 k=ixtg(j+1,i)
97 fzero(l,j,(i+numelc))=a(l,k)/wa(k)
98 ENDDO
99 ENDDO
100 ENDDO
101C------------------------------------------------------
102C M i s e a 0 d e s a c c e l e r a t i o n s
103C------------------------------------------------------
104 DO j=1,4
105 DO l=1,3
106 DO i=1,numelc
107 k=ixc(j+1,i)
108 a(l,k) = zero
109 ENDDO
110 ENDDO
111 ENDDO
112C
113 DO j=1,3
114 DO l=1,3
115 DO i=1,numeltg
116 k=ixtg(j+1,i)
117 a(l,k) = zero
118 ENDDO
119 ENDDO
120 ENDDO
121C
122 RETURN
123 END
#define my_real
Definition cppsort.cpp:32
subroutine fequilibre(a, fzero, ixc, ixtg)
Definition fequilibre.F:29