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

Go to the source code of this file.

Functions/Subroutines

subroutine qcoor2 (x, ncp, y1, y2, y3, y4, z1, z2, z3, z4, nc1, nc2, nc3, nc4, ngl, mat, ngeo, vd2, vis, nel)

Function/Subroutine Documentation

◆ qcoor2()

subroutine qcoor2 ( x,
integer, dimension(7,*) ncp,
y1,
y2,
y3,
y4,
z1,
z2,
z3,
z4,
integer, dimension(*) nc1,
integer, dimension(*) nc2,
integer, dimension(*) nc3,
integer, dimension(*) nc4,
integer, dimension(*) ngl,
integer, dimension(*) mat,
integer, dimension(*) ngeo,
vd2,
vis,
integer, intent(in) nel )

Definition at line 30 of file qcoor2.F.

36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER, INTENT(IN) :: NEL
44 INTEGER NC1(*), NC2(*), NC3(*), NC4(*), MAT(*), NGL(*), NGEO(*),NCP(7,*)
45 my_real x(3,*),y1(*),y2(*),y3(*),y4(*),z1(*),z2(*),z3(*),z4(*),vd2(*),vis(*)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER I
50C-----------------------------------------------
51C S o u r c e L i n e s
52C-----------------------------------------------
53 DO i=1,nel
54 ngeo(i)=ncp(6,i)
55 ngl(i)=ncp(7,i)
56 mat(i)=ncp(1,i)
57 nc1(i)=ncp(2,i)
58 nc2(i)=ncp(3,i)
59 nc3(i)=ncp(4,i)
60 nc4(i)=ncp(5,i)
61 ENDDO
62C----------------------------
63C NODE COORDINATES
64C----------------------------
65 DO i=1,nel
66 y1(i)=x(2,nc1(i))
67 z1(i)=x(3,nc1(i))
68 y2(i)=x(2,nc2(i))
69 z2(i)=x(3,nc2(i))
70 y3(i)=x(2,nc3(i))
71 z3(i)=x(3,nc3(i))
72 y4(i)=x(2,nc4(i))
73 z4(i)=x(3,nc4(i))
74 END DO
75C----------------------------
76 DO i=1,nel
77 vd2(i)=zero
78 vis(i)=zero
79 ENDDO
80C----------------------------
81 RETURN
#define my_real
Definition cppsort.cpp:32