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

Go to the source code of this file.

Functions/Subroutines

subroutine thbcs_imp (nodft, nodlast, a, ar, fthreac, nodreac, cptreac, fthdtm, dt3)

Function/Subroutine Documentation

◆ thbcs_imp()

subroutine thbcs_imp ( integer nodft,
integer nodlast,
a,
ar,
fthreac,
integer, dimension(*) nodreac,
integer cptreac,
fthdtm,
dt3 )

Definition at line 30 of file thbcs_imp.F.

33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "com01_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER NODREAC(*),CPTREAC,NODFT,NODLAST
46 . fthreac(6,*),a(3,*),ar(3,*),dt3,fthdtm(6,*)
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I, N, K, NINDX,
51 . INDX(1024),L,J,FLAG_MOM
52C-----------------------------------------------
53C Time History
54C-----------------------------------------------
55 IF (cptreac >= 1) THEN
56 flag_mom = 0
57 indx = 0
58C
59 DO 460 i = nodft,nodlast,1024
60 nindx = 0
61 DO 450 n=i,min(nodlast,i+1023)
62 IF (nodreac(n)>0)THEN
63 nindx = nindx + 1
64 indx(nindx) = n
65 ENDIF
66 450 CONTINUE
67 CALL bcs1th_imp(nindx,indx,a,fthreac,nodreac,flag_mom,
68 & fthdtm,dt3)
69 460 CONTINUE
70C
71 IF(iroddl/=0) THEN
72 flag_mom = 3
73 DO 480 i = nodft,nodlast,1024
74 nindx = 0
75 DO 470 n=i,min(nodlast,i+1023)
76 IF (nodreac(n)>0)THEN
77 nindx = nindx + 1
78 indx(nindx) = n
79 ENDIF
80 470 CONTINUE
81 CALL bcs1th_imp(nindx,indx,ar,fthreac,nodreac,flag_mom,
82 & fthdtm,dt3)
83 480 CONTINUE
84 ENDIF
85 ENDIF
86C-----------------------------------------------
87 RETURN
subroutine bcs1th_imp(nindx, indx, a, fthreac, nodreac, n, fthdtm, dt3)
Definition bcs1th_imp.F:30
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20