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

Go to the source code of this file.

Functions/Subroutines

subroutine set_operator (opt_d, opt_o, opt_g, opt_b, opt_a, opt_e, opt_i, opt_c, clause_operator)

Function/Subroutine Documentation

◆ set_operator()

subroutine set_operator ( integer, intent(in) opt_d,
integer, intent(in) opt_o,
integer, intent(in) opt_g,
integer, intent(in) opt_b,
integer, intent(in) opt_a,
integer, intent(in) opt_e,
integer, intent(in) opt_i,
integer, intent(in) opt_c,
integer, intent(out) clause_operator )

Definition at line 30 of file set_operator.F.

34C-----------------------------------------------
35C ROUTINE DESCRIPTION :
36C ===================
37C Defines the SET Operators : SET_ADD, SET_DELETE, SET_INTERSECT
38C-----------------------------------------------
39C DUMMY ARGUMENTS DESCRIPTION:
40C ===================
41C
42C NAME DESCRIPTION
43C
44C OPT_D,OPT_O,OPT_G,OPT_B,OPT_A,OPT_E,OPT_I,OPT_C,OP : INPUT - Option Operator
45c CLAUSE OPERATOR : OUTPUT CLAUSE_OPERATOR
46C============================================================================
47C-----------------------------------------------
48C D e f i n i t i o n s
49C-----------------------------------------------
50
51C-----------------------------------------------
52C M o d u l e s
53C-----------------------------------------------
55C-----------------------------------------------
56C I m p l i c i t T y p e s
57C-----------------------------------------------
58#include "implicit_f.inc"
59C-----------------------------------------------
60C D u m m y A r g u m e n t s
61C-----------------------------------------------
62 INTEGER, INTENT(IN) :: OPT_D, OPT_O,OPT_G,
63 * OPT_B, OPT_A,OPT_E,
64 * OPT_I, OPT_C
65
66 INTEGER, INTENT(OUT) :: CLAUSE_OPERATOR
67C-----------------------------------------------
68 IF(opt_d == 1) THEN
69 clause_operator = set_delete
70 ELSEIF (opt_i == 1) THEN
71 clause_operator = set_intersect
72 ELSE
73 clause_operator = set_add
74 ENDIF
75
76
integer, parameter set_add
add operator
Definition set_mod.F:47
integer, parameter set_intersect
intersection operator
Definition set_mod.F:49
integer, parameter set_delete
delete operator
Definition set_mod.F:48