OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
chkstifn.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!|| chkstifn ../engine/source/interfaces/inter2d/chkstifn.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- calls -----------------------------------------------------
28!|| chkslv ../engine/source/interfaces/inter2d/chkstifn.F
29!||--- uses -----------------------------------------------------
30!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
31!||====================================================================
32 SUBROUTINE chkstifn(IPARI,MS,INTBUF_TAB)
33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
36 USE intbufdef_mod
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "com04_c.inc"
45#include "task_c.inc"
46#include "param_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER IPARI(NPARI,*)
51C REAL
52 my_real
53 . ms(*)
54
55 TYPE(intbuf_struct_) INTBUF_TAB(*)
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER N, NMN, NSN,
60 . NRTS, NRTM, NTY
61C-----------------------------------------------
62C
63 DO n=1,ninter
64 nty =ipari(7,n)
65 IF(nty==5) THEN
66C interface type 5 non // en spmd
67 IF(ispmd==0) THEN
68 nrts = ipari(3,n)
69 nrtm = ipari(4,n)
70 nsn = ipari(5,n)
71 nmn = ipari(6,n)
72 CALL chkslv(nsn,intbuf_tab(n)%NSV,intbuf_tab(n)%STFNS,ms)
73 ENDIF
74 ELSE
75C autres types d'interfaces
76 ENDIF
77 ENDDO
78C
79 RETURN
80 END
81
82
83!||====================================================================
84!|| chkslv ../engine/source/interfaces/inter2d/chkstifn.F
85!||--- called by ------------------------------------------------------
86!|| chkstifn ../engine/source/interfaces/inter2d/chkstifn.F
87!||====================================================================
88 SUBROUTINE chkslv(NSN,NSV,STIFN,MS)
89C-----------------------------------------------
90C I m p l i c i t T y p e s
91C-----------------------------------------------
92#include "implicit_f.inc"
93C-----------------------------------------------
94C D u m m y A r g u m e n t s
95C-----------------------------------------------
96 INTEGER NSN, NSV(*)
97C REAL
99 . stifn(*), ms(*)
100C-----------------------------------------------
101C L o c a l V a r i a b l e s
102C-----------------------------------------------
103 INTEGER I
104C REAL
105C-----------------------------------------------
106 DO i = 1, nsn
107C si somme masse nulle sur noeuds secnds alors stifn = -1
108 IF (ms(nsv(i))==zero) THEN
109 stifn(i) = -one
110 ENDIF
111 ENDDO
112 RETURN
113 END
subroutine chkslv(nsn, nsv, stifn, ms)
Definition chkstifn.F:89
subroutine chkstifn(ipari, ms, intbuf_tab)
Definition chkstifn.F:33
#define my_real
Definition cppsort.cpp:32