#include "implicit_f.inc"
Go to the source code of this file.
◆ prodmat()
| subroutine prodmat |
( |
| a, |
|
|
| b, |
|
|
| c, |
|
|
integer | nel ) |
Definition at line 34 of file prodmat.F.
35
36
37
38#include "implicit_f.inc"
39 INTEGER NEL, I, J, K, N
40 my_real a(nel,3, 3), b(nel,3, 3), c(nel,3, 3)
41
42 DO i = 1, 3
43 DO j = 1, 3
44 DO n =1, nel
45 c(n,i,j) = zero
46 ENDDO
47 ENDDO
48 ENDDO
49 DO i = 1, 3
50 DO j = 1, 3
51 DO k = 1, 3
52 DO n =1, nel
53 c(n,i,j) = c(n,i,j) + a(n,i,k) * b(n,k,j)
54 ENDDO
55 ENDDO
56 ENDDO
57 ENDDO
58
59 RETURN