OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i22sto.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!|| i22sto ../engine/source/interfaces/intsort/i22sto.F
25!||--- called by ------------------------------------------------------
26!|| i22trivox ../engine/source/interfaces/intsort/i22trivox.F
27!||--- uses -----------------------------------------------------
28!|| i22tri_mod ../common_source/modules/interfaces/cut-cell-search_mod.F
29!||====================================================================
30 SUBROUTINE i22sto(
31 1 J_STOK ,IRECT ,X ,II_STOK ,CAND_B,
32 2 CAND_E ,MULNSN ,NOINT ,MARGE ,I_MEM ,
33 3 PROV_B ,PROV_E ,ESHIFT ,ITASK ,NC ,
34 4 IXS ,BUFBRIC ,NBRIC ,IsSTO )
35C============================================================================
36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
39 USE i22tri_mod !pour le debug uniquement
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44#include "comlock.inc"
45C-----------------------------------------------
46C G l o b a l P a r a m e t e r s
47C-----------------------------------------------
48#include "mvsiz_p.inc"
49C-----------------------------------------------
50C D u m m y A r g u m e n t s
51C-----------------------------------------------
52 INTEGER I_MEM, NSN, IGAP,NIN, ITASK, IXS(NIXS,*), nbric
53 INTEGER J_STOK,MULNSN,NOINT,INACTI,ESHIFT,BUFBRIC(NBRIC)
54 INTEGER IRECT(4,*),CAND_B(*),CAND_E(*), NC
55 INTEGER PROV_B(MVSIZ),PROV_E(MVSIZ), II_STOK
56 LOGICAL IsSTO
58 . x(3,*), marge
59C-----------------------------------------------
60C L o c a l V a r i a b l e s
61C-----------------------------------------------
62 INTEGER I,K_STOK,I_STOK,N,NE,J
63C-----------------------------------------------
64
65 IF(.NOT.IsSTO)THEN
66 issto=.true.
67c if(ibug22_trivox==1)print *, " lockon", ITASK
68#include "lockon.inc"
69 END IF
70
71 i_stok = ii_stok
72
73 IF(i_stok + j_stok>mulnsn) THEN
74 i_mem = 2 ! Pas assez de place allouee
75 issto = .false.
76 !II_STOK = ZERO fait dans i22buce
77c if(ibug22_trivox==1)print *, " lockoff", ITASK
78#include "lockoff.inc"
79 RETURN
80 ENDIF
81
82 DO i=1,j_stok
83 i_stok = i_stok + 1
84 cand_b(i_stok) = prov_b(i) !numero de la brique dans le groupe local
85 cand_e(i_stok) = prov_e(i) !est deja un numero global (1:NIRECT_L) pas besoin ESHIFT
86c if(ibug22_trivox==1)WRITE(*,FMT='(A,I8,A,I8,I8)')
87c . " I22sto : ecriture Bric=",
88c . IXS(11,BUFBRIC(PROV_B(I))), " ShellDiag= ",
89c . NINT(IRECT_L((/1,3/),ABS(PROV_E(I))))
90c if(ibug22_trivox==1)print *, ""
91 ENDDO
92C-----------------------------------------------
93 ii_stok = ii_stok + j_stok
94
95!#include "lockoff.inc" lockoff seulement losque la brique courante est completement traitee
96
97 RETURN
98 END
#define my_real
Definition cppsort.cpp:32
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)
Definition i22sto.F:35