OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
a4mass3.F File Reference
#include "implicit_f.inc"
#include "comlock.inc"
#include "mvsiz_p.inc"
#include "lockon.inc"
#include "lockoff.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine a4mass3 (ms, rho, volu, nc1, nc2, nc3, nc4, msnf, off, nel)

Function/Subroutine Documentation

◆ a4mass3()

subroutine a4mass3 ( ms,
rho,
volu,
integer, dimension(*) nc1,
integer, dimension(*) nc2,
integer, dimension(*) nc3,
integer, dimension(*) nc4,
msnf,
off,
integer, intent(in) nel )

Definition at line 29 of file a4mass3.F.

33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36#include "comlock.inc"
37C-----------------------------------------------
38C G l o b a l P a r a m e t e r s
39C-----------------------------------------------
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER, INTENT(IN) :: NEL
45C REAL
47 . ms(*), rho(*),volu(*),msnf(*),off(*)
48 INTEGER NC1(*),NC2(*),NC3(*),NC4(*)
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 INTEGER I
56C REAL
58 . dmass(mvsiz)
59C-----------------------------------------------
60 DO i=1,nel
61 dmass(i)=fourth*rho(i)*volu(i)*off(i)
62 ENDDO
63C
64#include "lockon.inc"
65 DO i=1,nel
66 ms(nc1(i))=ms(nc1(i)) + dmass(i)
67 msnf(nc1(i))=msnf(nc1(i)) + dmass(i)
68 ENDDO
69#include "lockoff.inc"
70C
71#include "lockon.inc"
72 DO i=1,nel
73 msnf(nc2(i))=msnf(nc2(i)) + dmass(i)
74 ms(nc2(i))=ms(nc2(i)) + dmass(i)
75 ENDDO
76#include "lockoff.inc"
77C
78#include "lockon.inc"
79 DO i=1,nel
80 ms(nc3(i))=ms(nc3(i)) + dmass(i)
81 msnf(nc3(i))=msnf(nc3(i)) + dmass(i)
82 ENDDO
83#include "lockoff.inc"
84C
85#include "lockon.inc"
86 DO i=1,nel
87 ms(nc4(i))=ms(nc4(i)) + dmass(i)
88 msnf(nc4(i))=msnf(nc4(i)) + dmass(i)
89 ENDDO
90#include "lockoff.inc"
91C
92C
93 RETURN
#define my_real
Definition cppsort.cpp:32