#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.
|
| subroutine | ibcoff (ibc, icodt) |
◆ ibcoff()
| subroutine ibcoff |
( |
integer | ibc, |
|
|
integer | icodt ) |
Definition at line 43 of file ibcoff.F.
44
45
46
47#include "implicit_f.inc"
48#include "comlock.inc"
49
50
51
52#include "task_c.inc"
53
54
55
56 INTEGER IBC, ICODT
57
58
59
60 INTEGER J1, L, J2, J3, K1, K2, K3, ICODTN
61
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
71
72
73
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
80 iexicodt = 1
81 ENDIF
82 RETURN