OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
set_dd_mat_weight.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> 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)
29
C-----------------------------------------------
30
USE
ddweights_mod
31
C-----------------------------------------------
32
#include "implicit_f.inc"
33
C-----------------------------------------------
34
C A n a l y s e M o d u l e
35
C-----------------------------------------------
36
#include "userlib.inc"
37
C-----------------------------------------------
38
C D u m m y A r g u m e n t s
39
C-----------------------------------------------
40
my_real
mat_weight1pt,mat_weight5pt
41
INTEGER
ELEM_TYPE
42
C-----------------------------------------------
43
C L o c a l V a r i a b l e s
44
C-----------------------------------------------
45
C
46
C print*,'MAT_NUMBER', MAT_NUMBER ,'WEIGHT:',MAT_WEIGHT1PT,MAT_WEIGHT5PT
47
C
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)
65
C-----------------------------------------------
66
USE
ddweights_mod
67
C-----------------------------------------------
68
#include "implicit_f.inc"
69
C-----------------------------------------------
70
C D u m m y A r g u m e n t s
71
C-----------------------------------------------
72
INTEGER
NUMMAT
73
C-----------------------------------------------
74
C L o c a l V a r i a b l e s
75
C-----------------------------------------------
76
ALLOCATE
(ddweights(1:2,1:2,1:nummat+1))
77
ddweights(1:2,1:2,1:nummat+1)=zero
78
END
my_real
#define my_real
Definition
cppsort.cpp:32
ddweights_mod
Definition
ddweights_mod.F:40
set_dd_mat_weight
subroutine set_dd_mat_weight(mat_weight1pt, mat_weight5pt, elem_type)
Definition
set_dd_mat_weight.F:29
init_mat_weight
subroutine init_mat_weight(nummat)
Definition
set_dd_mat_weight.F:65
starter
program starter
Definition
starter.F:39
starter
source
user_interface
set_dd_mat_weight.F
Generated by
1.15.0