OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
stat_quad_spmd.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "param_c.inc"
#include "scr17_c.inc"
#include "spmd_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine stat_quad_spmd (itab, ipart, igeo, ixq, ipartq, ipart_state, nodtag, stat_indxq, iparg, lengq, elbuf_tab)

Function/Subroutine Documentation

◆ stat_quad_spmd()

subroutine stat_quad_spmd ( integer, dimension(*) itab,
integer, dimension(lipart1,*) ipart,
integer, dimension(npropgi,*) igeo,
integer, dimension(nixq,*) ixq,
integer, dimension(*) ipartq,
integer, dimension(*) ipart_state,
integer, dimension(*) nodtag,
integer, dimension(*) stat_indxq,
integer, dimension(nparg,*) iparg,
integer lengq,
type (elbuf_struct_), dimension(ngroup), target elbuf_tab )

Definition at line 32 of file stat_quad_spmd.F.

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"
51#include "spmd_c.inc"
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER ITAB(*), IPART(LIPART1,*),
56 . IGEO(NPROPGI,*), IXQ(NIXQ,*),
57 . IPARTQ(*), IPART_STATE(*),
58 . NODTAG(*), STAT_INDXQ(*),
59 . IPARG(NPARG,*),LENGQ,IDEL
60 TYPE (ELBUF_STRUCT_), DIMENSION(NGROUP), TARGET :: ELBUF_TAB
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER I, N, JJ, IPRT, BUF, IPRT0, K, STAT_NUMELQ_1
65 INTEGER NG, NEL, NFT, LFT, LLT, ITY, ISOLNOD, IOFF
66 INTEGER WORK(70000)
67 INTEGER,DIMENSION(:),ALLOCATABLE::IADD
68 INTEGER,DIMENSION(:,:),ALLOCATABLE::IADG
69 INTEGER,DIMENSION(:),ALLOCATABLE::NP
70 INTEGER,DIMENSION(:),ALLOCATABLE::NPGLOB
71 INTEGER,DIMENSION(:,:),ALLOCATABLE:: CLEF
72 TYPE(G_BUFEL_) ,POINTER :: GBUF
73C-----------------------------------------------
74C 8 NODES BRICK
75C-----------------------------------------------
76 CALL my_alloc(iadg,nspmd,npart)
77 CALL my_alloc(iadd,npart+1)
78 CALL my_alloc(np,24*numelqg)
79 CALL my_alloc(npglob,24*numelqg)
80 CALL my_alloc(clef,2,numelqg)
81C-----------------------------------------------
82 jj = 0
83 DO ng=1,ngroup
84 ity =iparg(5,ng)
85 isolnod = iparg(28,ng)
86 nel =iparg(2,ng)
87 nft =iparg(3,ng)
88 gbuf => elbuf_tab(ng)%GBUF
89 lft=1
90 llt=nel
91 IF(ity == 2) THEN
92 DO i=lft,llt
93 n = i + nft
94
95 iprt=ipartq(n)
96 IF(ipart_state(iprt)==0)cycle
97
98
99 nodtag(ixq(2,n))=1
100 nodtag(ixq(3,n))=1
101 nodtag(ixq(4,n))=1
102 nodtag(ixq(5,n))=1
103
104
105 END DO
106 END IF
107 END DO
108
109C-----------------------------------------------
110 DEALLOCATE(iadg)
111 DEALLOCATE(iadd)
112 DEALLOCATE(np)
113 DEALLOCATE(npglob)
114 DEALLOCATE(clef)
115C-----------------------------------------------
116 RETURN