OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i22sto.F File Reference
#include "implicit_f.inc"
#include "comlock.inc"
#include "mvsiz_p.inc"
#include "lockon.inc"
#include "lockoff.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i22sto (j_stok, irect, x, ii_stok, cand_b, cand_e, mulnsn, noint, marge, i_mem, prov_b, prov_e, eshift, itask, nc, ixs, bufbric, nbric, issto)

Function/Subroutine Documentation

◆ i22sto()

subroutine i22sto ( integer j_stok,
integer, dimension(4,*) irect,
x,
integer ii_stok,
integer, dimension(*) cand_b,
integer, dimension(*) cand_e,
integer mulnsn,
integer noint,
marge,
integer i_mem,
integer, dimension(mvsiz) prov_b,
integer, dimension(mvsiz) prov_e,
integer eshift,
integer itask,
integer nc,
integer, dimension(nixs,*) ixs,
integer, dimension(nbric) bufbric,
integer nbric,
logical issto )

Definition at line 31 of file i22sto.F.

36C============================================================================
37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE i22tri_mod !for debugging only
41 use element_mod , only : nixs
42C-----------------------------------------------
43C I m p l i c i t T y p e s
44C-----------------------------------------------
45#include "implicit_f.inc"
46#include "comlock.inc"
47C-----------------------------------------------
48C G l o b a l P a r a m e t e r s
49C-----------------------------------------------
50#include "mvsiz_p.inc"
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER I_MEM, ITASK, IXS(NIXS,*), nbric
55 INTEGER J_STOK,MULNSN,NOINT,ESHIFT,BUFBRIC(NBRIC)
56 INTEGER IRECT(4,*),CAND_B(*),CAND_E(*), NC
57 INTEGER PROV_B(MVSIZ),PROV_E(MVSIZ), II_STOK
58 LOGICAL IsSTO
60 . x(3,*), marge
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER I,I_STOK
65C-----------------------------------------------
66
67 IF(.NOT.issto)THEN
68 issto=.true.
69c if(ibug22_trivox==1)print *, " lockon", ITASK
70#include "lockon.inc"
71 END IF
72
73 i_stok = ii_stok
74
75 IF(i_stok + j_stok>mulnsn) THEN
76 i_mem = 2 ! Not enough place allocated
77 issto = .false.
78 !Ii_stok = zero made in i22buce
79c if(ibug22_trivox==1)print *, " lockoff", ITASK
80#include "lockoff.inc"
81 RETURN
82 ENDIF
83
84 DO i=1,j_stok
85 i_stok = i_stok + 1
86 cand_b(i_stok) = prov_b(i) !brick number in the local group
87 cand_e(i_stok) = prov_e(i) !is already a global number (1:NIRECT_L) no need ESHIFT
88c if(ibug22_trivox==1)WRITE(*,FMT='(A,I8,A,I8,I8)')
89c . " I22sto : ecriture Bric=",
90c . IXS(11,BUFBRIC(PROV_B(I))), " ShellDiag= ",
91c . NINT(IRECT_L((/1,3/),ABS(PROV_E(I))))
92c if(ibug22_trivox==1)print *, ""
93 ENDDO
94C-----------------------------------------------
95 ii_stok = ii_stok + j_stok
96
97!#include "Lockoff.inc" lockoff only losque the current brick is completely treated
98
99 RETURN
#define my_real
Definition cppsort.cpp:32