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

Go to the source code of this file.

Functions/Subroutines

subroutine fvelarea (ibuf, elem, x, nel, elarea)

Function/Subroutine Documentation

◆ fvelarea()

subroutine fvelarea ( integer, dimension(*) ibuf,
integer, dimension(3,*) elem,
x,
integer nel,
elarea )

Definition at line 30 of file fvelarea.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C C o m m o n B l o c k s
38C-----------------------------------------------
39#include "com04_c.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER IBUF(*), ELEM(3,*)
44 INTEGER NEL
46 . x(3,numnod), elarea(*)
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER IEL, N1, N2, N3, NN1, NN2, NN3
52 . nrx, nry, nrz, area2
53
54C--------------------------------------------------
55 DO iel=1,nel
56 n1=elem(1,iel)
57 n2=elem(2,iel)
58 n3=elem(3,iel)
59 nn1=ibuf(n1)
60 nn2=ibuf(n2)
61 nn3=ibuf(n3)
62 CALL fvnormal(x,nn1,nn2,nn3,0,nrx,nry,nrz)
63 area2=sqrt(nrx**2+nry**2+nrz**2)
64 elarea(iel)=half*area2
65 ENDDO
66C
67 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine fvnormal(x, n1, n2, n3, n4, nx, ny, nz)
Definition fvmbag1.F:576