OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i21reset.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!|| i21reset ../engine/source/interfaces/int21/i21reset.F
25!||--- called by ------------------------------------------------------
26!|| inttri ../engine/source/interfaces/intsort/inttri.F
27!||--- uses -----------------------------------------------------
28!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
29!||====================================================================
30 SUBROUTINE i21reset(
31 1 IPARI ,INTBUF_TAB ,NIN ,ITASK )
32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35 USE intbufdef_mod
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "com08_c.inc"
44#include "param_c.inc"
45#include "task_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER NIN, ITASK, IPARI(NPARI,*)
50
51 TYPE(intbuf_struct_) INTBUF_TAB
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 INTEGER N, FIRST, LAST,
56 . nsn
57C REAL
59 . startt, stopt, tol
60C-----------------------------------------------
61C S o u r c e L i n e s
62C-----------------------------------------------
63C----------------------------------------------------
64C Calcul des adresses des buffers d'interfaces.
65C----------------------------------------------------
66C
67 nsn =ipari(5,nin)
68C
69 startt=intbuf_tab%VARIABLES(3)
70 stopt =intbuf_tab%VARIABLES(11)
71 IF(startt>tt) RETURN
72 IF(tt>stopt) RETURN
73C
74 first = 1 + nsn*itask / nthread
75 last = nsn*(itask+1) / nthread
76 DO n=first,last
77 intbuf_tab%IRTLM(2*(n-1)+1)=0
78 intbuf_tab%CSTS(2*(n-1)+1) =-one
79 intbuf_tab%CSTS(2*(n-1)+2)=-one
80 END DO
81C
82 RETURN
83 END
#define my_real
Definition cppsort.cpp:32
subroutine i21reset(ipari, intbuf_tab, nin, itask)
Definition i21reset.F:32