OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dxwalp.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
C SPMD_AGETMSR /spe/mach_spmd.F
24
!||====================================================================
25
!|| dxwalp ../engine/source/output/anim/generate/dxwalp.F
26
!||--- called by ------------------------------------------------------
27
!|| dxyzsect ../engine/source/output/anim/generate/dxyzsect.F
28
!||--- calls -----------------------------------------------------
29
!|| spmd_agetmsr ../engine/source/mpi/anim/spmd_agetmsr.F
30
!|| write_r_c ../common_source/tools/input_output/write_routtines.c
31
!||====================================================================
32
SUBROUTINE
dxwalp
(X ,RWL ,MSR ,FR_WALL)
33
C-----------------------------------------------
34
C I m p l i c i t T y p e s
35
C-----------------------------------------------
36
#include "implicit_f.inc"
37
#include "task_c.inc"
38
#include "com01_c.inc"
39
C-----------------------------------------------
40
C D u m m y A r g u m e n t s
41
C-----------------------------------------------
42
INTEGER
MSR,FR_WALL(NSPMD+2)
43
C REAL
44
my_real
45
. x(3,*), rwl(*)
46
C-----------------------------------------------
47
C L o c a l V a r i a b l e s
48
C-----------------------------------------------
49
my_real
50
. xwl, ywl, zwl,xn,yn,zn,d,dx,dy,dz,xl1,yl1,zl1,xl2,yl2,zl2
51
REAL
R4
52
C-----------------------------------------------
53
C
54
xn =rwl(1)
55
yn =rwl(2)
56
zn =rwl(3)
57
IF
(nspmd == 1)
THEN
58
IF
(msr==0)
THEN
59
xwl=rwl(4)
60
ywl=rwl(5)
61
zwl=rwl(6)
62
ELSE
63
xwl=x(1,msr)
64
ywl=x(2,msr)
65
zwl=x(3,msr)
66
ENDIF
67
ELSE
68
CALL
spmd_agetmsr
(fr_wall,x,msr,xwl,ywl,zwl,rwl)
69
END IF
70
IF
(ispmd==0)
THEN
71
C
72
xl1=rwl(7)
73
yl1=rwl(8)
74
zl1=rwl(9)
75
xl2=rwl(10)
76
yl2=rwl(11)
77
zl2=rwl(12)
78
C
79
r4 = xwl
80
CALL
write_r_c
(r4,1)
81
r4 = ywl
82
CALL
write_r_c
(r4,1)
83
r4 = zwl
84
CALL
write_r_c
(r4,1)
85
r4 = xwl + xl1
86
CALL
write_r_c
(r4,1)
87
r4 = ywl + yl1
88
CALL
write_r_c
(r4,1)
89
r4 = zwl + zl1
90
CALL
write_r_c
(r4,1)
91
r4 = xwl + xl1 + xl2
92
CALL
write_r_c
(r4,1)
93
r4 = ywl + yl1 + yl2
94
CALL
write_r_c
(r4,1)
95
r4 = zwl + zl1 + zl2
96
CALL
write_r_c
(r4,1)
97
r4 = xwl + xl2
98
CALL
write_r_c
(r4,1)
99
r4 = ywl + yl2
100
CALL
write_r_c
(r4,1)
101
r4 = zwl + zl2
102
CALL
write_r_c
(r4,1)
103
ENDIF
104
C
105
RETURN
106
END
my_real
#define my_real
Definition
cppsort.cpp:32
dxwalp
subroutine dxwalp(x, rwl, msr, fr_wall)
Definition
dxwalp.F:33
spmd_agetmsr
subroutine spmd_agetmsr(fr_wall, x, msr, xwl, ywl, zwl, rwl)
Definition
spmd_agetmsr.F:36
write_r_c
void write_r_c(float *w, int *len)
Definition
write_routtines.c:519
engine
source
output
anim
generate
dxwalp.F
Generated by
1.15.0