OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
nolib_usermat99.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
!|| nolib_usermat99 ../engine/source/user_interface/nolib_usermat99.F
25
!||--- called by ------------------------------------------------------
26
!|| usermat_shell ../engine/source/materials/mat_share/usermat_shell.F
27
!|| usermat_solid ../engine/source/materials/mat_share/usermat_solid.F
28
!||--- uses -----------------------------------------------------
29
!|| law_usersh ../engine/source/user_interface/law_usersh.F
30
!|| names_and_titles_mod ../common_source/modules/names_and_titles_mod.F
31
!||====================================================================
32
SUBROUTINE
nolib_usermat99
(ILAW_USER, IUSER_KEY)
33
C-----------------------------------------------
34
C D e s c r i p t i o n
35
C-----------------------------------------------
36
C This subroutine returns IUSER_KEY='USER**' where ** is ILAW_USER
37
C
38
! example : ILAW_USER==3 --> IUSER_KEY='USER03'
39
! example : ILAW_USER==31 --> IUSER_KEY='USER31'
40
!
41
! valid range for ILAW_USER (precondition) :
42
! ILAW_USER \in [1,99]
43
! (if ILAW_USER is out of range then IUSER_KEY is unchanged)
44
!
45
C-----------------------------------------------
46
C M o d u l e s
47
C-----------------------------------------------
48
USE
law_usersh
49
USE
names_and_titles_mod
,
ONLY
:
ncharline100
50
C-----------------------------------------------
51
C C o m m o n B l o c k s
52
C-----------------------------------------------
53
#include "implicit_f.inc"
54
C-----------------------------------------------
55
C D u m m y A r g u m e n t s
56
C-----------------------------------------------
57
CHARACTER(LEN=NCHARLINE100)
,
INTENT(INOUT)
:: IUSER_KEY
58
INTEGER
,
INTENT(IN)
:: ILAW_USER
59
C-----------------------------------------------
60
C S o u r c e L i n e s
61
C-----------------------------------------------
62
IF
(ilaw_user >= 1 .AND. ilaw_user <= 9)
THEN
63
iuser_key =
'USER00'
64
WRITE
(iuser_key(6:6),fmt=
'(I1)'
)ilaw_user
65
ELSEIF
(ilaw_user >= 10 .AND. ilaw_user <= 99)
THEN
66
iuser_key =
'USER00'
67
WRITE
(iuser_key(5:6),fmt=
'(I2)'
)ilaw_user
68
ENDIF
69
C-----------------------------------------------
70
RETURN
71
END
law_usersh
Definition
law_usersh.F:29
names_and_titles_mod
Definition
names_and_titles_mod.F:997
names_and_titles_mod::ncharline100
integer, parameter ncharline100
Definition
names_and_titles_mod.F:1002
nolib_usermat99
subroutine nolib_usermat99(ilaw_user, iuser_key)
Definition
nolib_usermat99.F:33
engine
source
user_interface
nolib_usermat99.F
Generated by
1.15.0