OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i21reset.F File Reference
#include "implicit_f.inc"
#include "com08_c.inc"
#include "param_c.inc"
#include "task_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i21reset (ipari, intbuf_tab, nin, itask)

Function/Subroutine Documentation

◆ i21reset()

subroutine i21reset ( integer, dimension(npari,*) ipari,
type(intbuf_struct_) intbuf_tab,
integer nin,
integer itask )

Definition at line 30 of file i21reset.F.

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
#define my_real
Definition cppsort.cpp:32