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

Go to the source code of this file.

Functions/Subroutines

subroutine cneveci (jft, jlt, area, x1, x2, x3, x4, y1, y2, y3, y4, z1, z2, z3, z4, e1x, e2x, e3x, e1y, e2y, e3y, e1z, e2z, e3z)

Function/Subroutine Documentation

◆ cneveci()

subroutine cneveci ( integer jft,
integer jlt,
intent(out) area,
intent(in) x1,
intent(in) x2,
intent(in) x3,
intent(in) x4,
intent(in) y1,
intent(in) y2,
intent(in) y3,
intent(in) y4,
intent(in) z1,
intent(in) z2,
intent(in) z3,
intent(in) z4,
intent(out) e1x,
intent(out) e2x,
intent(out) e3x,
intent(out) e1y,
intent(out) e2y,
intent(out) e3y,
intent(out) e1z,
intent(out) e2z,
intent(out) e3z )

Definition at line 32 of file cneveci.F.

36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C G l o b a l P a r a m e t e r s
42C-----------------------------------------------
43#include "mvsiz_p.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER JFT,JLT
48 my_real, DIMENSION(MVSIZ), INTENT(IN) ::
49 . x1,x2,x3,x4,y1,y2,y3,y4,z1,z2,z3,z4
50 my_real, DIMENSION(MVSIZ), INTENT(OUT) :: area,
51 . e1x, e2x, e3x, e1y, e2y, e3y ,e1z, e2z, e3z
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 INTEGER I,I1
56 my_real, DIMENSION(MVSIZ) :: x21,y21,z21,x31,y31,z31,x42,y42,z42,
57 . rx, ry, rz, sx, sy, sz,sum
58C=======================================================================
59 DO i=jft,jlt
60 x21(i)=x2(i)-x1(i)
61 y21(i)=y2(i)-y1(i)
62 z21(i)=z2(i)-z1(i)
63 x31(i)=x3(i)-x1(i)
64 y31(i)=y3(i)-y1(i)
65 z31(i)=z3(i)-z1(i)
66 x42(i)=x4(i)-x2(i)
67 y42(i)=y4(i)-y2(i)
68 z42(i)=z4(i)-z2(i)
69 ENDDO
70C
71 DO i=jft,jlt
72 rx(i)=x31(i)-x42(i)
73 ry(i)=y31(i)-y42(i)
74 rz(i)=z31(i)-z42(i)
75 sx(i)=x31(i)+x42(i)
76 sy(i)=y31(i)+y42(i)
77 sz(i)=z31(i)+z42(i)
78 ENDDO
79C----------------------------
80C LOCAL SYSTEM
81C----------------------------
82 i1 = 0
83 CALL clskew3(jft,jlt,i1,
84 . rx, ry, rz,
85 . sx, sy, sz,
86 . e1x,e2x,e3x,e1y,e2y,e3y,e1z,e2z,e3z,sum)
87C
88 DO i=jft,jlt
89 area(i) = fourth*sum(i)
90 ENDDO
91c-----------
92 RETURN
subroutine clskew3(jft, jlt, irep, rx, ry, rz, sx, sy, sz, e1x, e2x, e3x, e1y, e2y, e3y, e1z, e2z, e3z, det)
Definition clskew.F:34
#define my_real
Definition cppsort.cpp:32
subroutine area(d1, x, x2, y, y2, eint, stif0)