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