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

Go to the source code of this file.

Functions/Subroutines

subroutine bcs1th_imp (nindx, indx, a, fthreac, nodreac, n, fthdtm, dt3)
subroutine bcs1an_imp (nindx, indx, a, fanreac, n)

Function/Subroutine Documentation

◆ bcs1an_imp()

subroutine bcs1an_imp ( integer nindx,
integer, dimension(*) indx,
a,
fanreac,
integer n )

Definition at line 68 of file bcs1th_imp.F.

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
#define my_real
Definition cppsort.cpp:32

◆ bcs1th_imp()

subroutine bcs1th_imp ( integer nindx,
integer, dimension(*) indx,
a,
fthreac,
integer, dimension(*) nodreac,
integer n,
fthdtm,
dt3 )

Definition at line 28 of file bcs1th_imp.F.

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