OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
c_eig.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!|| c_eig ../starter/source/restart/ddsplit/c_eig.F
25!||--- called by ------------------------------------------------------
26!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
27!||====================================================================
28 SUBROUTINE c_eig(EIGIPM , EIGIBUF, EIGRPM, NODLOCAL, EIGIPM_L,
29 . EIGIBUF_L, LEIBUF_L)
30C-----------------------------------------------
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C C o m m o n B l o c k s
36C-----------------------------------------------
37#include "com04_c.inc"
38#include "eigcom.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER EIGIPM(NEIPM,*), EIGIBUF(*), NODLOCAL(*),
43 . eigipm_l(neipm,*),eigibuf_l(*), leibuf_l
45 . eigrpm(nerpm,*)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER IADB, IADB_L, IEIG, I, NN1, NN2, NN1_L, NN2_L, II
50C
51 iadb=0
52 iadb_l=0
53 DO ieig=1,neig
54 DO i=1,neipm
55 eigipm_l(i,ieig)=eigipm(i,ieig)
56 ENDDO
57 nn1=eigipm(10,ieig)
58 nn2=eigipm(11,ieig)
59 nn1_l=0
60 nn2_l=0
61 DO i=1,nn1
62 ii=nodlocal(eigibuf(iadb+i))
63 IF (ii/=0) THEN
64 nn1_l=nn1_l+1
65 eigibuf_l(iadb_l+nn1_l)=ii
66 ENDIF
67 ENDDO
68 DO i=1,nn2
69 ii=nodlocal(eigibuf(iadb+nn1+i))
70 IF (ii/=0) THEN
71 nn2_l=nn2_l+1
72 eigibuf_l(iadb_l+nn1_l+nn2_l)=ii
73 ENDIF
74 ENDDO
75 eigipm_l(10,ieig)=nn1_l
76 eigipm_l(11,ieig)=nn2_l
77 iadb=iadb+nn1+nn2
78 iadb_l=iadb_l+nn1_l+nn2_l
79 ENDDO
80 leibuf_l=iadb_l
81C
82 RETURN
83 END
84
subroutine c_eig(eigipm, eigibuf, eigrpm, nodlocal, eigipm_l, eigibuf_l, leibuf_l)
Definition c_eig.F:30
#define my_real
Definition cppsort.cpp:32