OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
bcs1th_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!|| bcs1th_imp ../engine/source/output/th/bcs1th_imp.f
25!||--- called by ------------------------------------------------------
26!|| thbcs_imp ../engine/source/output/th/thbcs_imp.F
27!||====================================================================
28 SUBROUTINE bcs1th_imp(NINDX,INDX,A,FTHREAC,NODREAC,N,
29 & FTHDTM,DT3)
30C-----------------------------------------------
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C D u m m y A r g u m e n t s
36C-----------------------------------------------
37 INTEGER NINDX, N, INDX(*),NODREAC(*)
38 my_real a(3,*),fthreac(6,*),dt3,fthdtm(6,*)
39C-----------------------------------------------
40C L o c a l V a r i a b l e s
41C-----------------------------------------------
42 INTEGER K, L
43C-----------------------------------------------
44C
45#include "vectorize.inc"
46 DO k = 1, nindx
47 l = indx(k)
48 fthreac(n+1,nodreac(l)) = fthreac(n+1,nodreac(l))
49 & - a(1,l)*dt3/two
50 & - fthdtm(n+1,nodreac(l))*dt3/two
51 fthreac(n+2,nodreac(l)) = fthreac(n+2,nodreac(l))
52 & - a(2,l)*dt3/two
53 & - fthdtm(n+2,nodreac(l))*dt3/two
54 fthreac(n+3,nodreac(l)) = fthreac(n+3,nodreac(l))
55 & - a(3,l)*dt3/two
56 & - fthdtm(n+3,nodreac(l))*dt3/two
57 fthdtm(n+1,nodreac(l)) = a(1,l)
58 fthdtm(n+2,nodreac(l)) = a(2,l)
59 fthdtm(n+3,nodreac(l)) = a(3,l)
60 ENDDO
61C
62 RETURN
63 END
64
65!||====================================================================
66!|| bcs1an_imp ../engine/source/output/th/bcs1th_imp.f
67!||====================================================================
68 SUBROUTINE bcs1an_imp(NINDX,INDX,A,FANREAC,N)
69C-----------------------------------------------
70C I m p l i c i t T y p e s
71C-----------------------------------------------
72#include "implicit_f.inc"
73C-----------------------------------------------
74C D u m m y A r g u m e n t s
75C-----------------------------------------------
76 INTEGER NINDX, N, INDX(*)
78 . a(3,*),fanreac(6,*)
79C-----------------------------------------------
80 INTEGER K, L
81C-----------------------------------------------
82C
83#include "vectorize.inc"
84 DO k = 1, nindx
85 l = indx(k)
86 fanreac(n+1,l) = - a(1,l)
87 fanreac(n+2,l) = - a(2,l)
88 fanreac(n+3,l) = - a(3,l)
89 ENDDO
90C
91 RETURN
92 END
93
subroutine bcs1an_imp(nindx, indx, a, fanreac, n)
Definition bcs1th_imp.F:69
subroutine bcs1th_imp(nindx, indx, a, fthreac, nodreac, n, fthdtm, dt3)
Definition bcs1th_imp.F:30
#define my_real
Definition cppsort.cpp:32