OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
thbcs_imp.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!|| thbcs_imp ../engine/source/output/th/thbcs_imp.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- calls -----------------------------------------------------
28!|| bcs1th_imp ../engine/source/output/th/bcs1th_imp.F
29!||====================================================================
30 SUBROUTINE thbcs_imp(NODFT,NODLAST,A,AR,
31 1 FTHREAC ,NODREAC ,
32 2 CPTREAC ,FTHDTM,DT3)
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
45 my_real
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
88 END
subroutine bcs1th_imp(nindx, indx, a, fthreac, nodreac, n, fthdtm, dt3)
Definition bcs1th_imp.F:30
#define min(a, b)
Definition macros.h:20
subroutine thbcs_imp(nodft, nodlast, a, ar, fthreac, nodreac, cptreac, fthdtm, dt3)
Definition thbcs_imp.F:33