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

Go to the source code of this file.

Functions/Subroutines

subroutine qmass2 (off, rho, ms, area, nc1, nc2, nc3, nc4, nel)

Function/Subroutine Documentation

◆ qmass2()

subroutine qmass2 ( off,
rho,
ms,
area,
integer, dimension(*) nc1,
integer, dimension(*) nc2,
integer, dimension(*) nc3,
integer, dimension(*) nc4,
integer, intent(in) nel )

Definition at line 33 of file qmass2.F.

37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C G l o b a l P a r a m e t e r s
43C-----------------------------------------------
44#include "mvsiz_p.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48C-----------------------------------------------
49C D u m m y A r g u m e n t s
50C-----------------------------------------------
51 INTEGER, INTENT(IN) :: NEL
52C REAL
54 . off(*), rho(*), ms(*),area(*)
55 INTEGER NC1(*), NC2(*), NC3(*), NC4(*)
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59C REAL
61 . mass(mvsiz)
62 INTEGER I
63C-----------------------------------------------
64 DO i=1,nel
65 mass(i)=rho(i)*area(i)*off(i)*fourth
66 ENDDO
67C
68 CALL idp_lock(1)
69 DO i=1,nel
70C
71 ms(nc1(i))=ms(nc1(i)) + mass(i)
72 ms(nc2(i))=ms(nc2(i)) + mass(i)
73 ms(nc3(i))=ms(nc3(i)) + mass(i)
74 ms(nc4(i))=ms(nc4(i)) + mass(i)
75 ENDDO
76 CALL idp_free(1)
77C
78 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine idp_lock(id)
Definition machine.F:269
subroutine idp_free(id)
Definition machine.F:299
subroutine area(d1, x, x2, y, y2, eint, stif0)