OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
spmd_fxb_for_pon.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "fxbcom.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine spmd_fxb_for_pon (fxbipm, mfextp, fskyfxb, dsky, iadn)

Function/Subroutine Documentation

◆ spmd_fxb_for_pon()

subroutine spmd_fxb_for_pon ( integer, dimension(nbipm,*) fxbipm,
mfextp,
fskyfxb,
integer dsky,
integer, dimension(*) iadn )

Definition at line 167 of file spmd_fxb_for_pon.F.

168C-----------------------------------------------
169C I m p l i c i t T y p e s
170C-----------------------------------------------
171 USE spmd_comm_world_mod, ONLY : spmd_comm_world
172#include "implicit_f.inc"
173C-----------------------------------------------
174C C o m m o n B l o c k s
175C-----------------------------------------------
176#include "com04_c.inc"
177#include "fxbcom.inc"
178C-----------------------------------------------
179C D u m m y A r g u m e n t s
180C-----------------------------------------------
181 INTEGER FXBIPM(NBIPM,*), DSKY, IADN(*)
182 my_real
183 . mfextp(*), fskyfxb(dsky,*)
184C-----------------------------------------------
185C L o c a l V a r i a b l e s
186C-----------------------------------------------
187 INTEGER NFX, NMOD, NME, NSN, NVAR, IAD, I, J, JJ,
188 . ITAG, AVAR
189 my_real
190 . , DIMENSION(:,:), ALLOCATABLE :: fskyl
191C
192 DO nfx=1,nfxbody
193 nmod=fxbipm(4,nfx)
194 nme=fxbipm(17,nfx)
195 nsn=fxbipm(18,nfx)
196 avar=fxbipm(13,nfx)
197 iad=iadn(nfx)
198 ALLOCATE(fskyl(nsn,nme+nmod))
199 DO i=1,nme+nmod
200 DO j=1,nsn
201 jj=nint(fskyfxb(iad+j,1))
202 fskyl(jj,i)=fskyfxb(iad+j,1+i)
203 ENDDO
204 ENDDO
205C
206 DO i=1,nme+nmod
207 mfextp(avar+i-1)=zero
208 DO j=1,nsn
209 mfextp(avar+i-1)=mfextp(avar+i-1)+fskyl(j,i)
210 ENDDO
211 ENDDO
212 DEALLOCATE(fskyl)
213 ENDDO
214 RETURN
#define my_real
Definition cppsort.cpp:32