OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
wrweight_rm.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine wrweight_rm (front_rm, nr, proc)

Function/Subroutine Documentation

◆ wrweight_rm()

subroutine wrweight_rm ( integer, dimension(nr,*) front_rm,
integer nr,
integer proc )

Definition at line 30 of file wrweight_rm.F.

31C-----------------------------------------------
32C M o d u l e s
33C-----------------------------------------------
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C D u m m y A r g u m e n t s
40C-----------------------------------------------
41 INTEGER NR,FRONT_RM(NR,*),PROC
42C-----------------------------------------------
43C F u n c t i o n
44C-----------------------------------------------
45 INTEGER NLOCAL
46 EXTERNAL nlocal
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER WEIGHT(NR),I,N,P,G
51 DO i = 1, nr
52 weight(i) = 0
53 DO p = 1, proc-1
54 IF(nlocal(i,p)==1)GOTO 10
55 ENDDO
56 weight(i) = 1
57 10 CONTINUE
58 ENDDO
59 CALL write_i_c(weight,nr)
60 RETURN
integer function nlocal(n, p)
Definition ddtools.F:349
void write_i_c(int *w, int *len)