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

Go to the source code of this file.

Functions/Subroutines

subroutine addmast10 (icnds10, ms)

Function/Subroutine Documentation

◆ addmast10()

subroutine addmast10 ( integer, dimension(3,ns10e), intent(in) icnds10,
intent(inout) ms )

Definition at line 28 of file addmast10.F.

29C=======================================================================
30C-----------------------------------------------
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C C o m m o n B l o c k s
36C-----------------------------------------------
37#include "com04_c.inc"
38C-----------------------------------------------
39C D u m m y A r g u m e n t s
40C-----------------------------------------------
41 INTEGER, DIMENSION(3,NS10E) ,INTENT(IN):: ICNDS10
42 my_real, DIMENSION(NUMNOD) ,INTENT(INOUT):: ms
43C REAL
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER I,J,ND,N1,N2
48C REAL
50 . facirot,masd
51C-----------------------------------------------
52 facirot = nine + third
53 DO i=1,ns10e
54 nd = icnds10(1,i)
55 n1 = icnds10(2,i)
56 n2 = icnds10(3,i)
57 masd = half*ms(nd)
58 ms(n1) = ms(n1) + masd
59 ms(n2) = ms(n2) + masd
60 ms(nd) = ms(nd) *facirot
61 END DO
62C=======================================================================
63 RETURN
#define my_real
Definition cppsort.cpp:32