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

Go to the source code of this file.

Functions/Subroutines

subroutine init_interf_sorting_strategy (intbuf_tab, ninter)

Function/Subroutine Documentation

◆ init_interf_sorting_strategy()

subroutine init_interf_sorting_strategy ( type(intbuf_struct_), dimension(ninter), intent(inout) intbuf_tab,
integer, intent(in) ninter )

Definition at line 31 of file init_interf_sorting_strategy.F.

32C Bucket or voxel, depending on /PERF/ in 1.rad
33C By default, both will be tried, the best will be kept
34C for the rest of simulation
35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
38 USE intbufdef_mod
39 USE metric_mod
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER, INTENT(IN) :: NINTER
48 TYPE(INTBUF_STRUCT_),DIMENSION(NINTER), INTENT(INOUT) :: INTBUF_TAB
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER :: I
53 DO i=1,ninter
54 intbuf_tab(i)%METRIC%TIC = 0
55 intbuf_tab(i)%METRIC%TOC = 0
56 intbuf_tab(i)%METRIC%TOLD = 0
57 intbuf_tab(i)%METRIC%CYCLE0 = -1
59 intbuf_tab(i)%METRIC%ALGO = try_algo_voxel
60 ELSEIF( global_interface_sorting_algo == 2) THEN
61 intbuf_tab(i)%METRIC%ALGO = algo_bucket
62 ELSE
63 intbuf_tab(i)%METRIC%ALGO = algo_voxel
64 ENDIF
65 ENDDO
integer, parameter try_algo_voxel
Definition metric_mod.F:49
integer, parameter algo_voxel
Definition metric_mod.F:47
integer global_interface_sorting_algo
Definition metric_mod.F:69
integer, parameter algo_bucket
Definition metric_mod.F:48