#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 42 of file smallb3.F.
44
45
46
47#include "implicit_f.inc"
48
49
50
51
52
53
54 INTEGER, INTENT(IN) :: NEL
55 INTEGER, INTENT(IN) :: ISMSTR
57
58
59
60 INTEGER I
61
62 IF(ismstr==1.OR.ismstr==3)THEN
63 DO i=1,nel
64 IF(offg(i)>zero)offg(i)=two
65 ENDDO
66 ENDIF
67
68 DO i=1,nel
69 IF(off(i)<one)THEN
70 IF(off(i)==zero)THEN
71 offg(i)=zero
72 ELSEIF(offg(i)>one)THEN
73 offg(i) = one+off(i)
74 ELSE
75 offg(i) = off(i)
76 END IF
77 END IF
78 ENDDO
79
80 RETURN