OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ibcoff.F File Reference
#include "implicit_f.inc"
#include "comlock.inc"
#include "task_c.inc"
#include "lockon.inc"
#include "lockoff.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine ibcoff (ibc, icodt)

Function/Subroutine Documentation

◆ ibcoff()

subroutine ibcoff ( integer ibc,
integer icodt )

Definition at line 43 of file ibcoff.F.

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