OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
bhol2.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!|| bhol2 ../engine/source/ale/ale2d/bhol2.F
25!||--- called by ------------------------------------------------------
26!|| alethe ../engine/source/ale/alethe.F
27!||====================================================================
28 SUBROUTINE bhol2(ITASK ,IPARG ,PM ,BHOLE ,IXQ )
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
89 END
subroutine bhol2(itask, iparg, pm, bhole, ixq)
Definition bhol2.F:29
#define my_real
Definition cppsort.cpp:32