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

Go to the source code of this file.

Functions/Subroutines

subroutine iqela3 (v, w, irect, crst, nsv, irtl, msr, nsn)

Function/Subroutine Documentation

◆ iqela3()

subroutine iqela3 ( dimension(3,numnod), intent(in) v,
dimension(3,numnod), intent(inout) w,
integer, dimension(4,*), intent(in) irect,
dimension(2,*), intent(in) crst,
integer, dimension(*), intent(in) nsv,
integer, dimension(*), intent(in) irtl,
integer, dimension(*), intent(in) msr,
integer, intent(in) nsn )

Definition at line 31 of file iqela3.F.

36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "com01_c.inc"
44#include "com04_c.inc"
45#include "scr08_a_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER,INTENT(IN) :: IRECT(4,*), NSV(*), IRTL(*), MSR(*)
50 my_real,INTENT(IN) :: v(3,numnod), crst(2,*)
51 INTEGER, INTENT(IN) :: NSN
52 my_real,INTENT(INOUT) :: w(3,numnod)
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER :: NIR, II, N, L, JJ, NN
57 my_real :: h(4), ss, tt, vmx, vmy, vmz
58C-----------------------------------------------
59C S o u r c e L i n e s
60C-----------------------------------------------
61 nir=2
62 IF(n2d == 0)nir=4
63 DO ii=1,nsn
64 n = nsv(ii)
65 l = irtl(ii)
66 DO jj=1,nir
67 nn = irect(jj,l)
68 ix(jj) = msr(nn)
69 ENDDO
70 ss = crst(1,ii)
71 tt = crst(2,ii)
72 CALL shapeh(h,ss,tt)
73 vmx = zero
74 vmy = zero
75 vmz = zero
76 DO jj=1,nir
77 vmx = vmx+v(1,ix(jj))*h(jj)
78 vmy = vmy+v(2,ix(jj))*h(jj)
79 vmz = vmz+v(3,ix(jj))*h(jj)
80 ENDDO
81 !GRID VELOCITY
82 w(1,n) = vmx
83 w(2,n) = vmy
84 w(3,n) = vmz
85 ENDDO ! NEXT II
86C-----------------------------------------------
87 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine shapeh(h, s, t)
Definition shapeh.F:34