OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
bhol2.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "vect01_c.inc"
#include "param_c.inc"
#include "task_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine bhol2 (itask, iparg, pm, bhole, ixq)

Function/Subroutine Documentation

◆ bhol2()

subroutine bhol2 ( integer itask,
integer, dimension(nparg,ngroup) iparg,
pm,
integer, dimension(nmult,*) bhole,
integer, dimension(nixq,numelq) ixq )

Definition at line 28 of file bhol2.F.

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 "com01_c.inc"
37#include "com04_c.inc"
38#include "vect01_c.inc"
39#include "param_c.inc"
40#include "task_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER ITASK,IPARG(NPARG,NGROUP),BHOLE(NMULT,*),IXQ(NIXQ,NUMELQ)
45 my_real pm(npropm,nummat)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER NM, NG, JMUL, I, J, MX
50C-----------------------------------------------
51C S o u r c e L i n e s
52C------------------------------------------------
53 DO nm=1,nmult
54 DO ng=itask+1,ngroup,nthread
55C ALE ON / OFF
56 IF (iparg(76, ng) == 1) cycle ! --> OFF
57 jale=iparg(7,ng)
58 jeul=iparg(11,ng)
59 IF(jale+jeul == 0) cycle
60 IF(iparg(8,ng) == 1) cycle
61 jmul=iparg(20,ng)
62 llt=iparg(2,ng)
63 nft=iparg(3,ng)
64 lft=1
65 IF(jmul == 0)THEN
66 DO i=lft,llt
67 j=i+nft
68 mx=ixq(1,j)
69 bhole(nm,j)=mx
70 ENDDO
71C ELSEIF(JMUL<NM)THEN
72C DO I=LFT,LLT
73C J=I+NFT
74C MX=IXQ(1,J)
75C BHOLE(NM,J)=0
76C ENDDO
77 ELSE
78 DO i=lft,llt
79 j=i+nft
80 mx=ixq(1,j)
81 bhole(nm,j)=nint(pm( 20+nm,mx))
82 IF(nint(pm(185+nm,mx)) /= 0)bhole(nm,j)=-bhole(nm,j)
83 ENDDO
84 ENDIF
85 enddo! next NG
86 ENDDO !next NM=1,NMULT
87C-----------------------------------------------
88 RETURN
#define my_real
Definition cppsort.cpp:32