OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ibcoff.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!|| ibcoff ../engine/source/interfaces/interf/ibcoff.F
25!||--- called by ------------------------------------------------------
26!|| i20for3 ../engine/source/interfaces/int20/i20for3.F
27!|| i21for3 ../engine/source/interfaces/int21/i21for3.F
28!|| i23for3 ../engine/source/interfaces/int23/i23for3.F
29!|| i24for3 ../engine/source/interfaces/int24/i24for3.F
30!|| i25for3 ../engine/source/interfaces/int25/i25for3.F
31!|| i3for2 ../engine/source/interfaces/inter2d/i3for2.F
32!|| i3for3 ../engine/source/interfaces/inter3d/i3for3.F
33!|| i5for3 ../engine/source/interfaces/inter3d/i5for3.F
34!|| i7for3 ../engine/source/interfaces/int07/i7for3.F
35!|| i8for3 ../engine/source/interfaces/inter3d/i8for3.F
36!|| spmd_fiadd20_poff ../engine/source/mpi/interfaces/spmd_i7tool.F
37!|| spmd_fiadd20f_pon ../engine/source/mpi/interfaces/spmd_i7tool.F
38!|| spmd_fiadd25e_poff ../engine/source/mpi/interfaces/spmd_fiadd25e_poff.F
39!|| spmd_fiadd25e_pon ../engine/source/mpi/interfaces/spmd_fiadd25e_pon.F
40!|| spmd_fiadd_poff ../engine/source/mpi/interfaces/spmd_i7tool.F
41!|| spmd_fiadd_pon ../engine/source/mpi/interfaces/spmd_i7tool.F
42!||====================================================================
43 SUBROUTINE ibcoff(IBC,ICODT)
44C-----------------------------------------------
45C I m p l i c i t T y p e s
46C-----------------------------------------------
47#include "implicit_f.inc"
48#include "comlock.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52#include "task_c.inc"
53C-----------------------------------------------
54C D u m m y A r g u m e n t s
55C-----------------------------------------------
56 INTEGER IBC, ICODT
57C-----------------------------------------------
58C L o c a l V a r i a b l e s
59C-----------------------------------------------
60 INTEGER J1, L, J2, J3, K1, K2, K3, ICODTN
61C-----------------------------------------------
62C
63 j1=icodt/4
64 l=icodt-4*j1
65 j2=l/2
66 j3=l-2*j2
67 k1=ibc/4
68 l=ibc-4*k1
69 k2=l/2
70 k3=l-2*k2
71C CALL MY_LOCK
72C ICODT=4*MAX0(0,J1-K1)+2*MAX0(0,J2-K2)+MAX0(0,J3-K3)
73C CALL MY_FREE
74 icodtn = 4*max0(0,j1-k1)+2*max0(0,j2-k2)+max0(0,j3-k3)
75 IF (icodtn/=icodt) THEN
76#include "lockon.inc"
77 icodt = icodtn
78#include "lockoff.inc"
79C var pour le SPMD
80 iexicodt = 1
81 ENDIF
82 RETURN
83 END
subroutine ibcoff(ibc, icodt)
Definition ibcoff.F:44