#include "implicit_f.inc"
#include "mvsiz_p.inc"
Go to the source code of this file.
|
| subroutine | qmass2 (off, rho, ms, area, nc1, nc2, nc3, nc4, nel) |
◆ 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.
37
38
39
40#include "implicit_f.inc"
41
42
43
44#include "mvsiz_p.inc"
45
46
47
48
49
50
51 INTEGER, INTENT(IN) :: NEL
52
54 . off(*), rho(*), ms(*),
area(*)
55 INTEGER NC1(*), NC2(*), (*), NC4(*)
56
57
58
59
61 . mass(mvsiz)
62 INTEGER I
63
64 DO i=1,nel
65 mass(i)=rho(i)*
area(i)*off(i)*fourth
66 ENDDO
67
69 DO i=1,nel
70
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
77
78 RETURN
subroutine area(d1, x, x2, y, y2, eint, stif0)