OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
smallb3.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine smallb3 (offg, off, nel, ismstr)

Function/Subroutine Documentation

◆ smallb3()

subroutine smallb3 ( offg,
off,
integer, intent(in) nel,
integer, intent(in) ismstr )

Definition at line 43 of file smallb3.F.

45C-----------------------------------------------
46C I m p l i c i t T y p e s
47C-----------------------------------------------
48#include "implicit_f.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER, INTENT(IN) :: NEL
56 INTEGER, INTENT(IN) :: ISMSTR
57 my_real offg(*),off(*)
58C-----------------------------------------------
59C L o c a l V a r i a b l e s
60C-----------------------------------------------
61 INTEGER I
62C-----------------------------------------------
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
68C
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
80C
81 RETURN
#define my_real
Definition cppsort.cpp:32