OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
contrbe3.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!|| contrbe3 ../starter/source/constraints/general/rbe3/contrbe3.F
25!||--- called by ------------------------------------------------------
26!|| contrl ../starter/source/starter/contrl.F
27!||--- calls -----------------------------------------------------
28!|| hm_get_intv ../starter/source/devtools/hm_reader/hm_get_intv.F
29!|| hm_option_read_key ../starter/source/devtools/hm_reader/hm_option_read_key.F
30!|| hm_option_start ../starter/source/devtools/hm_reader/hm_option_start.F
31!||--- uses -----------------------------------------------------
32!|| hm_option_read_mod ../starter/share/modules1/hm_option_read_mod.F
33!|| submodel_mod ../starter/share/modules1/submodel_mod.F
34!||====================================================================
35 SUBROUTINE contrbe3(ICR,LSUBMODEL)
36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
40 USE submodel_mod
42C-----------------------------------------------
43C I m p l i c i t T y p e s
44C-----------------------------------------------
45#include "implicit_f.inc"
46C-----------------------------------------------
47C C o m m o n B l o c k s
48C-----------------------------------------------
49#include "com04_c.inc"
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 INTEGER ,INTENT(OUT) :: ICR
54 TYPE(submodel_data),INTENT(IN)::LSUBMODEL(*)
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER I,NUSER,NM,NN,J6(6)
59 CHARACTER(LEN=NCHARTITLE)::TITR
60 LOGICAL IS_AVAILABLE
61C-----------------------------------------------
62C E x t e r n a l F u n c t i o n s
63C-----------------------------------------------
64C
65C=====================================================================|
66 icr =0
67 CALL hm_option_start('/RBE3')
68 DO i=1,nrbe3
69 CALL hm_option_read_key(lsubmodel,option_id = nuser,option_titr = titr)
70 CALL hm_get_intv('dependentnode',nm,is_available,lsubmodel)
71 CALL hm_get_intv('LTX',j6(1),is_available,lsubmodel)
72 CALL hm_get_intv('LTY',j6(2),is_available,lsubmodel)
73 CALL hm_get_intv('LTZ',j6(3),is_available,lsubmodel)
74 CALL hm_get_intv('LRX',j6(4),is_available,lsubmodel)
75 CALL hm_get_intv('LRY',j6(5),is_available,lsubmodel)
76 CALL hm_get_intv('LRZ',j6(6),is_available,lsubmodel)
77 CALL hm_get_intv('nset',nn,is_available,lsubmodel)
78 IF ((nm+nn)==0) cycle
79C
80 IF ((j6(1)+j6(2)+j6(3)+j6(4)+j6(5)+j6(6))==0) THEN
81 j6(4)=1
82 j6(5)=1
83 j6(6)=1
84 ENDIF
85 icr = j6(4) + j6(5) + j6(6)
86 IF (icr >0) RETURN
87 ENDDO
88
89 RETURN
90
91 END SUBROUTINE contrbe3
subroutine contrbe3(icr, lsubmodel)
Definition contrbe3.F:36
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_start(entity_type)
integer, parameter nchartitle
integer, parameter ncharkey