OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
set_operator.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| set_operator ../starter/source/model/sets/set_operator.F
25!||--- called by ------------------------------------------------------
26!|| hm_set ../starter/source/model/sets/hm_set.F
27!||--- uses -----------------------------------------------------
28!|| set_mod ../starter/share/modules1/set_mod.F
29!||====================================================================
30 SUBROUTINE set_operator( OPT_D, OPT_O,OPT_G,
31 * OPT_B, OPT_A,OPT_E,
32 * OPT_I, OPT_C,
33 * CLAUSE_OPERATOR )
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
77 END
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
subroutine set_operator(opt_d, opt_o, opt_g, opt_b, opt_a, opt_e, opt_i, opt_c, clause_operator)