OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
xyznod.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
!||====================================================================
24
!|| xyznod ../engine/source/output/anim/generate/xyznod.F
25
!||--- called by ------------------------------------------------------
26
!|| genani ../engine/source/output/anim/generate/genani.F
27
!||--- calls -----------------------------------------------------
28
!|| spmd_wrt_xyznod ../engine/source/mpi/anim/spmd_wrt_xyznod.F
29
!|| write_r_c ../common_source/tools/input_output/write_routtines.c
30
!||====================================================================
31
SUBROUTINE
xyznod
(X,X_TEMP,NODGLOB,WEIGHT)
32
C-----------------------------------------------
33
C I m p l i c i t T y p e s
34
C-----------------------------------------------
35
#include "implicit_f.inc"
36
C-----------------------------------------------
37
C C o m m o n B l o c k s
38
C-----------------------------------------------
39
#include "com01_c.inc"
40
#include "com04_c.inc"
41
#include "task_c.inc"
42
#include "spmd_c.inc"
43
C-----------------------------------------------
44
C D u m m y A r g u m e n t s
45
C-----------------------------------------------
46
INTEGER
NODGLOB(*), WEIGHT(NUMNOD)
47
my_real
48
. x(3,*)
49
my_real
50
. x_temp(3,*)
51
REAL
R4
52
C-----------------------------------------------
53
C L O C A L V A R I A B L E S
54
C-----------------------------------------------
55
INTEGER
I
56
57
IF
(nspmd == 1)
THEN
58
DO
i=1,numnod
59
r4 = x(1,i)
60
CALL
write_r_c
(r4,1)
61
r4 = x(2,i)
62
CALL
write_r_c
(r4,1)
63
r4 = x(3,i)
64
CALL
write_r_c
(r4,1)
65
END DO
66
ELSE
67
C le proc 0 a besoin d un tableau de taille numnodg pour reconstruire
68
C le tableau global des X. LEs autres non. Cela evite une allocation dynamique
69
70
IF
(ispmd==0)
THEN
71
CALL
spmd_wrt_xyznod
(x,weight,nodglob,numnodg)
72
ELSE
73
CALL
spmd_wrt_xyznod
(x,weight,nodglob,1)
74
ENDIF
75
ENDIF
76
IF
(nspmd == 1 .AND. numelig3d /= 0)
THEN
77
DO
i=1,64*numelig3d
78
r4 = x_temp(1,i)
79
CALL
write_r_c
(r4,1)
80
r4 = x_temp(2,i)
81
CALL
write_r_c
(r4,1)
82
r4 = x_temp(3,i)
83
CALL
write_r_c
(r4,1)
84
END DO
85
ENDIF
86
87
C-----------------------------------------------
88
RETURN
89
END
my_real
#define my_real
Definition
cppsort.cpp:32
xyznod
subroutine xyznod(x, x_temp, nodglob, weight)
Definition
xyznod.F:32
spmd_wrt_xyznod
subroutine spmd_wrt_xyznod(x, weight, nodglob, num)
Definition
spmd_wrt_xyznod.F:34
write_r_c
void write_r_c(float *w, int *len)
Definition
write_routtines.c:519
engine
source
output
anim
generate
xyznod.F
Generated by
1.15.0