OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dparrby.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!|| dparrby ../engine/source/output/anim/generate/dparrby.F
25!||--- called by ------------------------------------------------------
26!|| genani ../engine/source/output/anim/generate/genani.F
27!||--- calls -----------------------------------------------------
28!|| write_i_c ../common_source/tools/input_output/write_routtines.c
29!||====================================================================
30 SUBROUTINE dparrby(LPBY ,NPBY)
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C C o m m o n B l o c k s
37C-----------------------------------------------
38#include "com04_c.inc"
39#include "param_c.inc"
40#include "task_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER NPBY(NNPBY,*),LPBY(*)
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
48 INTEGER I, K, N,
49 . NSN, II(2)
50C-----------------------------------------------
51C seul le proc 0 effectue le traitement
52 IF (ispmd/=0) GOTO 100
53C
54 k=0
55 DO i=1,nrbykin
56 nsn = npby(2,i)
57 ii(1) = npby(1,i) - 1
58 DO n=1,nsn
59 ii(2) = lpby(n+k)-1
60 CALL write_i_c(ii,2)
61 ENDDO
62 k = k + nsn
63 ENDDO
64 DO i=nrbykin+1,nrbody
65 nsn = npby(2,i)
66 ii(1) = npby(1,i) - 1
67 DO n=1,nsn
68 ii(2) = lpby(n+k)-1
69 CALL write_i_c(ii,2)
70 ENDDO
71 k = k + nsn*3
72 ENDDO
73C
74 100 CONTINUE
75 RETURN
76 END
subroutine dparrby(lpby, npby)
Definition dparrby.F:31
void write_i_c(int *w, int *len)