OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
aninflow.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!|| aninflow ../engine/source/output/anim/generate/aninflow.F
25!||--- called by ------------------------------------------------------
26!|| nodalp ../engine/source/output/anim/generate/nodalp.F
27!||====================================================================
28 SUBROUTINE aninflow(IFUNC, WA4, IFLOW, RFLOW)
29C-----------------------------------------------
30C I m p l i c i t T y p e s
31C-----------------------------------------------
32#include "implicit_f.inc"
33C-----------------------------------------------
34C C o m m o n B l o c k s
35C-----------------------------------------------
36#include "com01_c.inc"
37#include "flowcom.inc"
38* debug SPMD
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER IFUNC, IFLOW(*)
44 . rflow(*)
45 REAL WA4(*)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER IADI, IADR, I, ITYP, NINOUT, NNO, NEL, II1, II2,
50 . IR1, IR2, J, JJ, NNO_L, NNI_L, II3, II4, JJJ, NNI
51
52 iadi=0
53 iadr=0
54 DO i=1,nflow
55 ityp=iflow(iadi+2)
56 IF (ityp==1) THEN
57 ninout=iflow(iadi+4)
58 nno=iflow(iadi+5)
59 nel=iflow(iadi+6)
60 nni=iflow(iadi+7)
61 nno_l=iflow(iadi+16)
62 nni_l=iflow(iadi+22)
63 ii1=iadi+niflow
64 ii2=ii1+nno+3*nel+ninout*niioflow
65 IF(nspmd == 1) THEN
66 ii3=ii2+nni+nel
67 ii4=ii3+nno
68 ELSE
69 ii3=ii2+nni+nel+2*nno
70 ii4=ii3+2*nno
71 ENDIF
72 ir1=iadr+nrflow
73 ir2=ir1+nno+nni
74 IF (ifunc==3) THEN
75 DO j=1,nno_l
76 jj=iflow(ii3+j)
77 jjj=iflow(ii1+jj)
78 wa4(jjj)=rflow(ir2+jj)
79 ENDDO
80 DO j=1,nni_l
81 jj=iflow(ii4+j)
82 jjj=iflow(ii2+jj)
83 wa4(jjj)=rflow(ir2+nno+jj)
84 ENDDO
85 ELSEIF (ifunc==13) THEN
86 DO j=1,nno_l
87 jj=iflow(ii3+j)
88 jjj=iflow(ii1+jj)
89 wa4(jjj)=rflow(ir1+jj)
90 ENDDO
91 DO j=1,nni_l
92 jj=iflow(ii4+j)
93 jjj=iflow(ii2+jj)
94 wa4(jjj)=rflow(ir1+nno+jj)
95 ENDDO
96 ENDIF
97 ENDIF
98 iadr=iadr+iflow(iadi+15)
99 iadi=iadi+iflow(iadi+14)
100 ENDDO
101
102 RETURN
103 END
subroutine aninflow(ifunc, wa4, iflow, rflow)
Definition aninflow.F:29
#define my_real
Definition cppsort.cpp:32