OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
w_elig3d.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/.
23C
24!||====================================================================
25!|| w_elig3d ../starter/source/restart/ddsplit/w_elig3d.F
26!||--- called by ------------------------------------------------------
27!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
28!||--- calls -----------------------------------------------------
29!||====================================================================
30 SUBROUTINE w_elig3d(KXIG3D,NUMELIG3D_L,ISUMNIG3D_L,IXIG3D,
31 + PROC,NODLOCAL,LEN_IA)
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C C o m m o n B l o c k s
38C-----------------------------------------------
39#include "com04_c.inc"
40#include "param_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER NUMELIG3D_L, PROC, ISUMNIG3D_L,LEN_IA,
45 . kxig3d(nixig3d,*), nodlocal(*), ixig3d(*)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER I, NN, IAD, IAD_L, J, NB_L, NNOD, IE_L,
50 . kxig3d_l(nixig3d,numelig3d_l), ixig3d_l(isumnig3d_l)
51C
52 ie_l = 0
53 nb_l = 0
54C
55 DO i = 1, numelig3d
56 nnod = kxig3d(3,i)
57 iad = kxig3d(4,i)
58C
59 ie_l = ie_l + 1
60 DO j = 1, nixig3d
61 kxig3d_l(j,ie_l) = kxig3d(j,i)
62 ENDDO
63 iad_l = nb_l+1
64 kxig3d_l(4,ie_l) = iad_l
65 nb_l = nb_l + nnod
66 DO j = 1, nnod
67 ixig3d_l(iad_l+j-1) = nodlocal(ixig3d(iad+j-1))
68 ENDDO
69 ENDDO
70C
71 CALL write_i_c(kxig3d_l,numelig3d_l*nixig3d)
72 CALL write_i_c(ixig3d_l,isumnig3d_l)
73 len_ia = len_ia + numelig3d_l*nixig3d + isumnig3d_l
74C
75 RETURN
76 END
subroutine w_elig3d(kxig3d, numelig3d_l, isumnig3d_l, ixig3d, proc, nodlocal, len_ia)
Definition w_elig3d.F:32
void write_i_c(int *w, int *len)