#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | smallb3 (offg, off, nel, ismstr) |
◆ smallb3()
| subroutine smallb3 |
( |
| offg, |
|
|
| off, |
|
|
integer, intent(in) | nel, |
|
|
integer, intent(in) | ismstr ) |
Definition at line 43 of file smallb3.F.
45
46
47
48#include "implicit_f.inc"
49
50
51
52
53
54
55 INTEGER, INTENT(IN) :: NEL
56 INTEGER, INTENT(IN) :: ISMSTR
58
59
60
61 INTEGER I
62
63 IF(ismstr==1.OR.ismstr==3)THEN
64 DO i=1,nel
65 IF(offg(i)>zero)offg(i)=two
66 ENDDO
67 ENDIF
68
69 DO i=1,nel
70 IF(off(i)<one)THEN
71 IF(off(i)==zero)THEN
72 offg(i)=zero
73 ELSEIF(offg(i)>one)THEN
74 offg(i) = one+off(i)
75 ELSE
76 offg(i) = off(i)
77 END IF
78 END IF
79 ENDDO
80
81 RETURN