OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ibcoff.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> 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)
44
C-----------------------------------------------
45
C I m p l i c i t T y p e s
46
C-----------------------------------------------
47
#include
"implicit_f.inc"
48
#include "comlock.inc"
49
C-----------------------------------------------
50
C C o m m o n B l o c k s
51
C-----------------------------------------------
52
#include "task_c.inc"
53
C-----------------------------------------------
54
C D u m m y A r g u m e n t s
55
C-----------------------------------------------
56
INTEGER
IBC, ICODT
57
C-----------------------------------------------
58
C L o c a l V a r i a b l e s
59
C-----------------------------------------------
60
INTEGER
J1, L, J2, J3, K1, K2, K3, ICODTN
61
C-----------------------------------------------
62
C
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
71
C CALL MY_LOCK
72
C ICODT=4*MAX0(0,J1-K1)+2*MAX0(0,J2-K2)+MAX0(0,J3-K3)
73
C 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"
79
C var pour le SPMD
80
iexicodt = 1
81
ENDIF
82
RETURN
83
END
ibcoff
subroutine ibcoff(ibc, icodt)
Definition
ibcoff.F:44
engine
source
interfaces
interf
ibcoff.F
Generated by
1.15.0