OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
prodmat.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23C This subroutines computes C(NEL,3,3) which is the product [C] = [A][B]
24!||====================================================================
25!|| prodmat ../engine/source/materials/tools/prodmat.F
26!||--- called by ------------------------------------------------------
27!|| calcmatb ../engine/source/materials/mat/mat100/calcmatb.F
28!|| polystress2 ../engine/source/materials/mat/mat100/sigpoly.F
29!|| polystrest2 ../engine/source/materials/mat/mat100/sigpoly.F
30!|| sigeps100 ../engine/source/materials/mat/mat100/sigeps100.F90
31!|| sigeps42 ../engine/source/materials/mat/mat042/sigeps42.F
32!|| sigeps95 ../engine/source/materials/mat/mat095/sigeps95.F
33!||====================================================================
34 SUBROUTINE prodmat(A, B, C, NEL)
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
60 END
#define my_real
Definition cppsort.cpp:32
subroutine prodmat(a, b, c, nel)
Definition prodmat.F:35