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

Go to the source code of this file.

Functions/Subroutines

subroutine fvdim (monvol)
subroutine fv_switch_crit (monvol, check_npolh)

Function/Subroutine Documentation

◆ fv_switch_crit()

subroutine fv_switch_crit ( integer, dimension(*) monvol,
logical check_npolh )

Definition at line 73 of file fvdim.F.

74C checks if at least one FVMBAGS is using NPOLH to switch to UP
75C In that case, additional communication is needed
76C
77C-----------------------------------------------
78C M o d u l e s
79C-----------------------------------------------
80 USE fvbag_mod
81C-----------------------------------------------
82C I m p l i c i t T y p e s
83C-----------------------------------------------
84#include "implicit_f.inc"
85C-----------------------------------------------
86C C o m m o n B l o c k s
87C-----------------------------------------------
88#include "com04_c.inc"
89#include "param_c.inc"
90C-----------------------------------------------
91C D u m m y A r g u m e n t s
92C-----------------------------------------------
93 INTEGER MONVOL(*)
94 LOGICAL CHECK_NPOLH
95C-----------------------------------------------
96C L o c a l V a r i a b l e s
97C-----------------------------------------------
98 INTEGER K1, N, ITYP
99C
100
101 check_npolh = .false.
102 k1=1
103 DO n=1,nvolu
104 ityp=monvol(k1-1+2)
105 IF (ityp==8) THEN
106 IF(monvol(k1-1+37) > 0) check_npolh = .true.
107 ENDIF
108 k1=k1+nimv
109 ENDDO
110C
111 RETURN

◆ fvdim()

subroutine fvdim ( integer, dimension(*) monvol)

Definition at line 30 of file fvdim.F.

31C-----------------------------------------------
32C M o d u l e s
33C-----------------------------------------------
34 USE fvbag_mod
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C C o m m o n B l o c k s
41C-----------------------------------------------
42#include "com04_c.inc"
43#include "param_c.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER MONVOL(*)
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER K1, N, ITYP
52C
53 k1=1
54 nfvbag=0
55 DO n=1,nvolu
56 ityp=monvol(k1-1+2)
57 IF (ityp==6.OR.ityp==8) THEN
58 monvol(k1-1+57)=0
59 nfvbag = monvol(k1-1+29)
60 ENDIF
61 k1=k1+nimv
62 ENDDO
63C
64 RETURN
integer nfvbag
Definition fvbag_mod.F:127