OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s10upd11t12.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!|| s10upd11t12 ../engine/source/elements/solid/solide10/s10upd11t12.F
25!||--- called by ------------------------------------------------------
26!|| s10forc3 ../engine/source/elements/solid/solide10/s10forc3.F
27!||--- calls -----------------------------------------------------
28!|| s10pij12 ../engine/source/elements/solid/solide10/s10pij12.F
29!|| s10pijsav12 ../engine/source/elements/solid/solide10/s10pijsav12.F
30!||--- uses -----------------------------------------------------
31!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
32!||====================================================================
33 SUBROUTINE s10upd11t12(
34 1 ELBUF_TAB,OFFG, OFFG0, NC,
35 2 XX, YY, ZZ, NEL,
36 3 NPT)
37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE elbufdef_mod
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C G l o b a l P a r a m e t e r s
47C-----------------------------------------------
48#include "mvsiz_p.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER, INTENT(IN) :: NPT
56 INTEGER NC(MVSIZ,10),NEL
57 DOUBLE PRECISION
58 . xx(mvsiz,10), yy(mvsiz,10), zz(mvsiz,10)
59
60C REAL
62 . offg(*),offg0(*)
63 TYPE(elbuf_struct_), TARGET :: ELBUF_TAB
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER I ,NCH,INDEX(MVSIZ),J ,N ,IP
68C REAL
69 my_real
70 . px(mvsiz,10,5),py(mvsiz,10,5),pz(mvsiz,10,5)
71 TYPE(l_bufel_) ,POINTER :: LBUF
72 double precision
73 . xxd(mvsiz,10), yyd(mvsiz,10), zzd(mvsiz,10)
74C-----------------------------------------------
75 nch=0
76 DO i=1,nel
77 IF(offg(i)/=offg0(i).AND.abs(offg(i)) > one ) THEN
78 nch = nch +1
79 index(nch) = i
80 END IF
81 END DO
82 IF (nch==0) RETURN
83 DO j=1,nch
84 i= index(j)
85 xxd(j,1:10)=xx(i,1:10)
86 yyd(j,1:10)=yy(i,1:10)
87 zzd(j,1:10)=zz(i,1:10)
88 END DO
89 CALL s10pij12(npt,xxd, yyd, zzd, px,py,pz ,nch)
90C----
91 DO ip=1,npt
92 lbuf => elbuf_tab%BUFLY(1)%LBUF(ip,1,1)
93 CALL s10pijsav12(px(1,1,ip),py(1,1,ip),pz(1,1,ip),
94 . lbuf%PIJ,lbuf%SIG,lbuf%SIGL,index,nch,nel)
95 ENDDO
96C-----------
97 RETURN
98 END
#define my_real
Definition cppsort.cpp:32
subroutine s10pij12(npt, xx, yy, zz, px, py, pz, nel)
Definition s10pij12.F:31
subroutine s10pijsav12(px, py, pz, pij, sig, sigl, index, nb, nel)
Definition s10pijsav12.F:29
subroutine s10upd11t12(elbuf_tab, offg, offg0, nc, xx, yy, zz, nel, npt)
Definition s10upd11t12.F:37