OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
set_operator.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> 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 )
34
C-----------------------------------------------
35
C ROUTINE DESCRIPTION :
36
C ===================
37
C Defines the SET Operators : SET_ADD, SET_DELETE, SET_INTERSECT
38
C-----------------------------------------------
39
C DUMMY ARGUMENTS DESCRIPTION:
40
C ===================
41
C
42
C NAME DESCRIPTION
43
C
44
C OPT_D,OPT_O,OPT_G,OPT_B,OPT_A,OPT_E,OPT_I,OPT_C,OP : INPUT - Option Operator
45
c CLAUSE OPERATOR : OUTPUT CLAUSE_OPERATOR
46
C============================================================================
47
C-----------------------------------------------
48
C D e f i n i t i o n s
49
C-----------------------------------------------
50
51
C-----------------------------------------------
52
C M o d u l e s
53
C-----------------------------------------------
54
USE
set_mod
,
ONLY
:
set_add
,
set_delete
,
set_intersect
55
C-----------------------------------------------
56
C I m p l i c i t T y p e s
57
C-----------------------------------------------
58
#include "implicit_f.inc"
59
C-----------------------------------------------
60
C D u m m y A r g u m e n t s
61
C-----------------------------------------------
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
67
C-----------------------------------------------
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
set_mod
Definition
set_mod.F:43
set_mod::set_add
integer, parameter set_add
add operator
Definition
set_mod.F:47
set_mod::set_intersect
integer, parameter set_intersect
intersection operator
Definition
set_mod.F:49
set_mod::set_delete
integer, parameter set_delete
delete operator
Definition
set_mod.F:48
set_operator
subroutine set_operator(opt_d, opt_o, opt_g, opt_b, opt_a, opt_e, opt_i, opt_c, clause_operator)
Definition
set_operator.F:34
starter
source
model
sets
set_operator.F
Generated by
1.15.0