OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
set_dd_mat_weight.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/.
23!||====================================================================
24!|| set_dd_mat_weight ../starter/source/user_interface/set_dd_mat_weight.f
25!||--- uses -----------------------------------------------------
26!|| ddweights_mod ../starter/share/modules1/ddweights_mod.F
27!||====================================================================
28 SUBROUTINE set_dd_mat_weight(MAT_WEIGHT1PT,MAT_WEIGHT5PT,ELEM_TYPE)
29C-----------------------------------------------
31C-----------------------------------------------
32#include "implicit_f.inc"
33C-----------------------------------------------
34C A n a l y s e M o d u l e
35C-----------------------------------------------
36#include "userlib.inc"
37C-----------------------------------------------
38C D u m m y A r g u m e n t s
39C-----------------------------------------------
40 my_real mat_weight1pt,mat_weight5pt
41 INTEGER ELEM_TYPE
42C-----------------------------------------------
43C L o c a l V a r i a b l e s
44C-----------------------------------------------
45C
46C print*,'MAT_NUMBER', MAT_NUMBER ,'WEIGHT:',MAT_WEIGHT1PT,MAT_WEIGHT5PT
47C
48
49 ddweights(1,elem_type,mat_number)=mat_weight1pt
50 ddweights(2,elem_type,mat_number)=mat_weight5pt
51
52! DDWEIGHTS(1,2,MAT_NUMBER)=0.9
53! DDWEIGHTS(2,2,MAT_NUMBER)=3.7
54 END
55
56!||====================================================================
57!|| init_mat_weight ../starter/source/user_interface/set_dd_mat_weight.F
58!||--- called by ------------------------------------------------------
59!|| lectur ../starter/source/starter/lectur.F
60!|| r2r_void ../starter/source/coupling/rad2rad/r2r_void.F
61!||--- uses -----------------------------------------------------
62!|| ddweights_mod ../starter/share/modules1/ddweights_mod.F
63!||====================================================================
64 SUBROUTINE init_mat_weight(NUMMAT)
65C-----------------------------------------------
67C-----------------------------------------------
68#include "implicit_f.inc"
69C-----------------------------------------------
70C D u m m y A r g u m e n t s
71C-----------------------------------------------
72 INTEGER NUMMAT
73C-----------------------------------------------
74C L o c a l V a r i a b l e s
75C-----------------------------------------------
76 ALLOCATE (ddweights(1:2,1:2,1:nummat+1))
77 ddweights(1:2,1:2,1:nummat+1)=zero
78 END
#define my_real
Definition cppsort.cpp:32
subroutine set_dd_mat_weight(mat_weight1pt, mat_weight5pt, elem_type)
subroutine init_mat_weight(nummat)
program starter
Definition starter.F:39