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

Go to the source code of this file.

Functions/Subroutines

subroutine contrbe3 (icr, lsubmodel)

Function/Subroutine Documentation

◆ contrbe3()

subroutine contrbe3 ( integer, intent(out) icr,
type(submodel_data), dimension(*), intent(in) lsubmodel )

Definition at line 35 of file contrbe3.F.

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
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_start(entity_type)
integer, parameter nchartitle
integer, parameter ncharkey