OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
smallb3.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| smallb3 ../engine/source/elements/solid/solide/smallb3.F
25!||--- called by ------------------------------------------------------
26!|| ig3duforc3 ../engine/source/elements/ige3d/ig3duforc3.F
27!|| q4forc2 ../engine/source/elements/solid_2d/quad4/q4forc2.F
28!|| s10forc3 ../engine/source/elements/solid/solide10/s10forc3.F
29!|| s16forc3 ../engine/source/elements/thickshell/solide16/s16forc3.F
30!|| s20forc3 ../engine/source/elements/solid/solide20/s20forc3.F
31!|| s4forc3 ../engine/source/elements/solid/solide4/s4forc3.F
32!|| s6cforc3 ../engine/source/elements/thickshell/solide6c/s6cforc3.F
33!|| s6zforc3 ../engine/source/elements/solid/solide6z/s6zforc3.F90
34!|| s8cforc3 ../engine/source/elements/thickshell/solide8c/s8cforc3.F
35!|| s8eforc3 ../engine/source/elements/solid/solide8e/s8eforc3.F
36!|| s8forc3 ../engine/source/elements/solid/solide8/s8forc3.F
37!|| s8sforc3 ../engine/source/elements/solid/solide8s/s8sforc3.F
38!|| s8zforc3 ../engine/source/elements/solid/solide8z/s8zforc3.F
39!|| scforc3 ../engine/source/elements/thickshell/solidec/scforc3.F
40!|| sforc3 ../engine/source/elements/solid/solide/sforc3.F
41!|| szforc3 ../engine/source/elements/solid/solidez/szforc3.F
42!||====================================================================
43 SUBROUTINE smallb3(
44 1 OFFG, OFF, NEL, ISMSTR)
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
82 END
#define my_real
Definition cppsort.cpp:32
subroutine smallb3(offg, off, nel, ismstr)
Definition smallb3.F:45