OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
stat_node.F File Reference
#include "implicit_f.inc"
#include "units_c.inc"
#include "task_c.inc"
#include "spmd_c.inc"
#include "com01_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine stat_node (x, numnod, itab, itabg, leng, nodglob, weight, nodtag)

Function/Subroutine Documentation

◆ stat_node()

subroutine stat_node ( x,
integer numnod,
integer, dimension(*) itab,
integer, dimension(*) itabg,
integer leng,
integer, dimension(*) nodglob,
integer, dimension(*) weight,
integer, dimension(*) nodtag )

Definition at line 32 of file stat_node.F.

34C-----------------------------------------------
35C M o d u l e s
36C-----------------------------------------------
37 USE my_alloc_mod
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "units_c.inc"
46#include "task_c.inc"
47#include "spmd_c.inc"
48#include "com01_c.inc"
49C-----------------------------------------------
50C D u m m y A r g u m e n t s
51C-----------------------------------------------
52 INTEGER ITAB(*), NUMNOD,WEIGHT(*),ITABG(*),LENG,
53 . NODGLOB(*),NODTAG(*)
55 . x(3,*)
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER I
60 INTEGER,DIMENSION(:),ALLOCATABLE :: NODTAGLOB
61 my_real,DIMENSION(:,:),ALLOCATABLE :: vglob
62C-----------------------------------------------
63 CALL my_alloc(nodtaglob,leng)
64 CALL my_alloc(vglob,3,leng)
65C-----------------------------------------------
66
67 IF (nspmd > 1) THEN
68 CALL spmd_dstat_vgath(x,nodglob,weight,vglob,nodtag,
69 . nodtaglob)
70 IF (ispmd/=0) RETURN
71 ENDIF
72
73 WRITE(iugeo,'(A)')'/NODE'
74 WRITE(iugeo,'(2A)')'# NODID XCOOR',
75 . ' YCOOR ZCOOR'
76
77 IF (nspmd == 1) THEN
78 DO i=1,numnod
79 IF(nodtag(i) /= 0) THEN
80 WRITE(iugeo,'(I10,1P3E20.13)')
81 . itab(i),x(1,i),x(2,i),x(3,i)
82 END IF
83 END DO
84 ELSE
85 DO i=1,numnodg
86 IF(nodtaglob(i) /= 0)
87 . WRITE(iugeo,'(I10,1P3E20.13)')
88 . itabg(i),vglob(1,i),vglob(2,i),vglob(3,i)
89 END DO
90 ENDIF
91C-----------------------------------------------
92 DEALLOCATE(nodtaglob)
93 DEALLOCATE(vglob)
94C-----------------------------------------------
95 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine spmd_dstat_vgath(v, nodglob, weight, vgath, nodtag, nodtaglob)
Definition spmd_stat.F:212