OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
leceig.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!|| leceig ../engine/source/input/leceig.F
25!||--- called by ------------------------------------------------------
26!|| lectur ../engine/source/input/lectur.F
27!||--- uses -----------------------------------------------------
28!|| eig_mod ../engine/share/modules/eig_mod.F
29!||====================================================================
30 SUBROUTINE leceig(NEIGOFF, NEOFF)
31C-----------------------------------------------
32C M o d u l e s
33C-----------------------------------------------
34 USE eig_mod
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C C o m m o n B l o c k s
41C-----------------------------------------------
42#include "com04_c.inc"
43#include "units_c.inc"
44#include "task_c.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER NEIGOFF, NEOFF, NACTI
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER N, ID(NEIG), I, ITEMP(10), J
53C
54 DO n=1,neig
55 id(n)=abs(eigipm(1,n))
56 ENDDO
57C
58 DO i=1,(neoff+9)/10
59 READ(iin,'(10I10)') (itemp(j),j=1,10)
60 DO 100 j=1,10
61 IF (itemp(j)==0) GOTO 100
62 DO n=1,neig
63 IF (id(n)==itemp(j)) eigipm(1,n)=0
64 ENDDO
65 100 CONTINUE
66 ENDDO
67C
68 nacti=0
69 DO n=1,neig
70 IF (eigipm(1,n)==0) THEN
71 IF (ispmd==0)
72 . WRITE(iout,'(A,I9,A)') ' EIGENPROBLEM:',id(n),' SET OFF'
73 ELSE
74 nacti=nacti+1
75 ENDIF
76 ENDDO
77C
78 IF (nacti==0) THEN
79 WRITE(iout,'(A)') ' ALL EIGENPROBLEMS DEACTIVATED'
80 WRITE(iout,*)
81 neig=0
82 ENDIF
83C
84 RETURN
85 END
86
subroutine leceig(neigoff, neoff)
Definition leceig.F:31
integer, dimension(:,:), allocatable eigipm
Definition eig_mod.F:39