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

Go to the source code of this file.

Functions/Subroutines

subroutine prodmat (a, b, c, nel)

Function/Subroutine Documentation

◆ prodmat()

subroutine prodmat ( a,
b,
c,
integer nel )

Definition at line 34 of file prodmat.F.

35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
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)
41C
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
58C
59 RETURN
#define my_real
Definition cppsort.cpp:32