OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
lecfxinp.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!|| 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)
33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
36 USE eig_mod
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "com04_c.inc"
45#include "units_c.inc"
46#include "task_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER NFXINP
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER I, J, II, ID, IDD, CIEIG(NEIG), ITYP
56 . ksi, cfeig(neig)
57C
58 DO i=1,neig
59 cieig(i)=0
60 cfeig(i)=zero
61 ENDDO
62C
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
88C
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
98C
99 RETURN
100 END
#define my_real
Definition cppsort.cpp:32
subroutine lecfxinp(nfxinp)
Definition lecfxinp.F:33
integer, dimension(:,:), allocatable eigipm
Definition eig_mod.F:39
subroutine arret(nn)
Definition arret.F:87