OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
stat_quad_mp.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!|| stat_quad_mp ../engine/source/output/sta/stat_quad_mp.F
25!||--- called by ------------------------------------------------------
26!|| genstat ../engine/source/output/sta/genstat.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
30!|| my_alloc_mod ../common_source/tools/memory/my_alloc.F90
31!||====================================================================
32 SUBROUTINE stat_quad_mp(ITAB,IPART,IGEO,IXQ,IPARTQ,
33 . IPART_STATE,NODTAG,STAT_INDXQ,
34 . IPARG ,ELBUF_TAB)
35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
38 USE elbufdef_mod
39 USE my_alloc_mod
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C C o m m o n B l o c k s
46C-----------------------------------------------
47#include "com01_c.inc"
48#include "com04_c.inc"
49#include "param_c.inc"
50#include "scr17_c.inc"
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER ITAB(*), IPART(LIPART1,*),IPARTQ(*),
55 . IGEO(NPROPGI,*), IXQ(NIXQ,*), IPART_STATE(*),
56 . nodtag(*), stat_indxq(*),
57 . iparg(nparg,*)
58 TYPE (ELBUF_STRUCT_), DIMENSION(NGROUP), TARGET :: ELBUF_TAB
59C-----------------------------------------------
60C L o c a l V a r i a b l e s
61C-----------------------------------------------
62 INTEGER I, N, JJ, IPRT0, IPRT, K, STAT_NUMELQ_1,N10,N20,N16
63 INTEGER NG, NEL, NFT, LFT, LLT, ITY, ISOLNOD, IOFF
64 INTEGER,DIMENSION(:),ALLOCATABLE::NP
65 INTEGER,DIMENSION(:,:),ALLOCATABLE:: CLEF
66 INTEGER WORK(70000)
67 TYPE(g_bufel_) ,POINTER :: GBUF
68C-----------------------------------------------
69C QUAD
70C-----------------------------------------------
71 CALL my_alloc(np,4*numelq)
72 CALL my_alloc(clef,2,numelq)
73C-----------------------------------------------
74 jj = 0
75 IF(numelq/=0)THEN
76
77 DO ng=1,ngroup
78 ity =iparg(5,ng)
79 nel =iparg(2,ng)
80 nft =iparg(3,ng)
81 gbuf => elbuf_tab(ng)%GBUF
82 lft=1
83 llt=nel
84 IF(ity == 2) THEN
85 DO i=lft,llt
86 n = i + nft
87 iprt=ipartq(n)
88 IF(ipart_state(iprt)==0)cycle
89
90 nodtag(ixq(2,n))=1
91 nodtag(ixq(3,n))=1
92 nodtag(ixq(4,n))=1
93 nodtag(ixq(5,n))=1
94
95
96 END DO
97 END IF
98 END DO
99
100 ENDIF
101C-----------------------------------------------
102 DEALLOCATE(np)
103 DEALLOCATE(clef)
104C-----------------------------------------------
105 RETURN
106 END
subroutine stat_quad_mp(itab, ipart, igeo, ixq, ipartq, ipart_state, nodtag, stat_indxq, iparg, elbuf_tab)