OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
drbycnt.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
!|| drbycnt ../engine/source/output/anim/generate/drbycnt.F
25
!||--- called by ------------------------------------------------------
26
!|| genani ../engine/source/output/anim/generate/genani.F
27
!|| genh3d ../engine/source/output/h3d/h3d_results/genh3d.F
28
!||--- calls -----------------------------------------------------
29
!|| spmd_glob_isum9 ../engine/source/mpi/interfaces/spmd_th.F
30
!|| spmd_ibcast ../engine/source/mpi/generic/spmd_ibcast.F
31
!||====================================================================
32
SUBROUTINE
drbycnt
(NERBY,NPBY,FR_RBY2)
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
C-----------------------------------------------
38
C C o m m o n B l o c k s
39
C-----------------------------------------------
40
#include "task_c.inc"
41
#include "com01_c.inc"
42
#include "com04_c.inc"
43
#include "param_c.inc"
44
C-----------------------------------------------
45
C D u m m y A r g u m e n t s
46
C-----------------------------------------------
47
INTEGER
NERBY,NERWL,NPBY(NNPBY,*),FR_RBY2(3,*)
48
C-----------------------------------------------
49
C L o c a l V a r i a b l e s
50
C-----------------------------------------------
51
INTEGER
I,LOC_PROC
52
C-----------------------------------------------
53
loc_proc = ispmd+1
54
IF
(nspmd == 1)
THEN
55
DO
i=1,nrbody
56
nerby = nerby + npby(2,i)
57
ENDDO
58
ELSE
59
DO
i=1,nrbody
60
IF
(abs(fr_rby2(3,i))==loc_proc)
61
. nerby = nerby + fr_rby2(2,i)
62
ENDDO
63
CALL
spmd_glob_isum9
(nerby,1)
64
CALL
spmd_ibcast
(nerby,nerby,1,1,0,2)
65
ENDIF
66
67
RETURN
68
END
drbycnt
subroutine drbycnt(nerby, npby, fr_rby2)
Definition
drbycnt.F:33
spmd_ibcast
subroutine spmd_ibcast(tabi, tabr, n1, n2, from, add)
Definition
spmd_ibcast.F:57
spmd_glob_isum9
subroutine spmd_glob_isum9(v, len)
Definition
spmd_th.F:523
engine
source
output
anim
generate
drbycnt.F
Generated by
1.15.0