OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
lecfxinp.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
!|| lecfxinp ../engine/source/input/lecfxinp.F
25
!||--- called by ------------------------------------------------------
26
!|| lectur ../engine/source/input/lectur.F
27
!||--- calls -----------------------------------------------------
28
!|| arret ../engine/source/system/arret.F
29
!||--- uses -----------------------------------------------------
30
!|| eig_mod ../engine/share/modules/eig_mod.F
31
!||====================================================================
32
SUBROUTINE
lecfxinp
(NFXINP)
33
C-----------------------------------------------
34
C M o d u l e s
35
C-----------------------------------------------
36
USE
eig_mod
37
C-----------------------------------------------
38
C I m p l i c i t T y p e s
39
C-----------------------------------------------
40
#include
"implicit_f.inc"
41
C-----------------------------------------------
42
C C o m m o n B l o c k s
43
C-----------------------------------------------
44
#include "com04_c.inc"
45
#include "units_c.inc"
46
#include "task_c.inc"
47
C-----------------------------------------------
48
C D u m m y A r g u m e n t s
49
C-----------------------------------------------
50
INTEGER
NFXINP
51
C-----------------------------------------------
52
C L o c a l V a r i a b l e s
53
C-----------------------------------------------
54
INTEGER
I, J, II, ID,
IDD
, CIEIG(NEIG), ITYP
55
my_real
56
. ksi, cfeig(neig)
57
C
58
DO
i=1,neig
59
cieig(i)=0
60
cfeig(i)=zero
61
ENDDO
62
C
63
ksi=zero
64
DO
i=1,nfxinp
65
READ
(iin,
'(I10,F20.0,I10)'
) id, ksi, ityp
66
j=0
67
ii=0
68
DO
WHILE
(j<=neig.AND.ii==0)
69
j=j+1
70
idd=
eigipm
(1,j)
71
IF
(idd==id)
THEN
72
ii=j
73
eigipm
(1,j)=-idd
74
eigrpm(2,j)=ksi
75
eigipm
(16,j)=ityp
76
ENDIF
77
ENDDO
78
IF
(ii==0)
THEN
79
WRITE
(istdo,*)
' ** ERROR: INPUT ERROR IN OPTION FXINPUT'
80
WRITE
(iout,* )
' ** ERROR: INPUT ERROR IN OPTION FXINPUT'
81
WRITE
(iout,*)
' UNKNOWN EIGENPROBLEM ID'
82
CALL
arret
(2)
83
ELSE
84
cieig(ii)=id
85
cfeig(ii)=ksi
86
ENDIF
87
ENDDO
88
C
89
IF
(ispmd==0)
THEN
90
WRITE
(iout,
'(A)'
)
' INPUT FILES FOR FLEXIBLE BODIES'
91
DO
i=1,neig
92
IF
(cieig(i)>0)
93
.
WRITE
(iout,
'(A14,I10,A17,1PG20.13)'
)
94
.
' EIGENPROBLEM '
,cieig(i),
' CRITICAL DAMPING '
,cfeig(i)
95
ENDDO
96
WRITE
(iout,*)
97
ENDIF
98
C
99
RETURN
100
END
my_real
#define my_real
Definition
cppsort.cpp:32
lecfxinp
subroutine lecfxinp(nfxinp)
Definition
lecfxinp.F:33
eig_mod
Definition
eig_mod.F:32
eig_mod::eigipm
integer, dimension(:,:), allocatable eigipm
Definition
eig_mod.F:39
arret
subroutine arret(nn)
Definition
arret.F:87
engine
source
input
lecfxinp.F
Generated by
1.15.0