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!|| element_mod ../common_source/modules/elements/element_mod.F90
29!|| i22tri_mod ../common_source/modules/interfaces/cut-cell-search_mod.F
30!||====================================================================
31 SUBROUTINE i22sto(
32 1 J_STOK ,IRECT ,X ,II_STOK ,CAND_B,
33 2 CAND_E ,MULNSN ,NOINT ,MARGE ,I_MEM ,
34 3 PROV_B ,PROV_E ,ESHIFT ,ITASK ,NC ,
35 4 IXS ,BUFBRIC ,NBRIC ,IsSTO )
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
100 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:36