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

Go to the source code of this file.

Functions/Subroutines

subroutine c_multi_vel (cep, numel, numel_l, proc, multi_fvm_vel_l, multi_fvm)

Function/Subroutine Documentation

◆ c_multi_vel()

subroutine c_multi_vel ( integer, dimension(*), intent(in) cep,
integer, intent(in) numel,
integer, intent(in) numel_l,
integer, intent(in) proc,
dimension(3, numel), intent(out) multi_fvm_vel_l,
type(multi_fvm_struct), intent(in) multi_fvm )

Definition at line 30 of file c_multi_vel.F.

32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35 USE multi_fvm_mod
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER, INTENT(IN) :: CEP(*), NUMEL, NUMEL_L, PROC
44 TYPE(MULTI_FVM_STRUCT), INTENT(IN) :: MULTI_FVM
45 my_real, INTENT(OUT) :: multi_fvm_vel_l(3, numel)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER :: I
50 INTEGER :: II, IELEM
51
52 ielem = 0
53 DO i = 1, numel
54 IF (cep(i) == proc) THEN
55 ielem = ielem + 1
56 multi_fvm_vel_l(1:3, ielem) = multi_fvm%VEL(1:3, i)
57 ENDIF
58 ENDDO
59
60 RETURN
#define my_real
Definition cppsort.cpp:32