OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
parsor0.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!|| parsor0 ../starter/source/output/anim/parsor0.F
25!||--- called by ------------------------------------------------------
26!|| genani1 ../starter/source/output/anim/genani1.F
27!||--- calls -----------------------------------------------------
28!||====================================================================
29 SUBROUTINE parsor0(IADD ,IPARG ,MATER ,EL2FA ,
30 3 KXSP ,IPARTSP )
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 "com01_c.inc"
39#include "com04_c.inc"
40#include "sphcom.inc"
41#include "param_c.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45C REAL
46 INTEGER IADD(*),IPARG(NPARG,*),
47 . mater(*),el2fa(*),
48 . kxsp(nisp,*),ipartsp(*)
49C-----------------------------------------------
50C REAL
51 my_real
52 . off
53 INTEGER II, IE, NG, ITY, LFT, LLT, KPT, N, I,
54 . nel, iad, npar, nft, iprt,
55 . nn1,nn2,nn3,nn4,nn5,nn6,nn7,nn8,nn9,nn10,
56 . jj, inod,
57 . np(numsph),buf,bufp
58C-----------------------------------------------
59C
60 nn1 = 1
61 nn2 = nn1 + numsph+maxpjet
62 ie = 0
63C-----------------------------------------------
64C MID
65C-----------------------------------------------
66 npar = 0
67 jj = 0
68C
69 DO 100 iprt = 1 , npart
70C
71 IF(mater(iprt)/=4) GOTO 100
72 npar = npar + 1
73 DO 90 ng=1,ngroup
74 nel =iparg(2,ng)
75 nft =iparg(3,ng)
76 iad =iparg(4,ng)
77 ity =iparg(5,ng)
78 lft=1
79 llt=nel
80 IF(ity==51)THEN
81C-----------------------------------------------
82C PARTICULES SPH.
83C-----------------------------------------------
84 DO 20 i=lft,llt
85 n = i + nft
86 IF(ipartsp(n)/=iprt) GOTO 20
87 inod=kxsp(3,n)
88 ii = inod-1
89 CALL write_i_c(ii,1)
90 jj = jj+1
91 ie = ie + 1
92 el2fa(nn1+n) = ie
93 20 CONTINUE
94 ELSE
95 ENDIF
96 90 CONTINUE
97C-----------------------------------------------
98C PART ADRESS
99C-----------------------------------------------
100 iadd(npar) = ie
101 100 CONTINUE
102C
103C-----------------------------------------------
104 RETURN
105 END
#define my_real
Definition cppsort.cpp:32
subroutine parsor0(iadd, iparg, mater, el2fa, kxsp, ipartsp)
Definition parsor0.F:31
void write_i_c(int *w, int *len)