OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i25sto_e2s.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i25sto_e2s (j_stok, irect, x, ii_stok, inacti, cand_s, cand_m, mulnsn, noint, marge, i_mem, prov_s, prov_m, igap0, cand_a, nedge, ledge, itab, drad, igap, gap_m, gap_m_l, gape, gap_e_l, admsr, edg_bisector, vtx_bisector, cand_p, dgapload)

Function/Subroutine Documentation

◆ i25sto_e2s()

subroutine i25sto_e2s ( integer j_stok,
integer, dimension(4,*) irect,
x,
integer ii_stok,
integer inacti,
integer, dimension(*) cand_s,
integer, dimension(*) cand_m,
integer mulnsn,
integer noint,
marge,
integer i_mem,
integer, dimension(mvsiz) prov_s,
integer, dimension(mvsiz) prov_m,
integer igap0,
integer, dimension(*) cand_a,
integer nedge,
integer, dimension(nledge,*) ledge,
integer, dimension(*) itab,
drad,
integer igap,
gap_m,
gap_m_l,
gape,
gap_e_l,
integer, dimension(4,*) admsr,
real*4, dimension(3,4,*) edg_bisector,
real*4, dimension(3,2,*) vtx_bisector,
cand_p,
intent(in) dgapload )

Definition at line 32 of file i25sto_e2s.F.

39C============================================================================
40C-----------------------------------------------
41C M o d u l e s
42C-----------------------------------------------
43 USE tri7box
44C-----------------------------------------------
45C I m p l i c i t T y p e s
46C-----------------------------------------------
47#include "implicit_f.inc"
48C-----------------------------------------------
49C G l o b a l P a r a m e t e r s
50C-----------------------------------------------
51#include "mvsiz_p.inc"
52C-----------------------------------------------
53C C o m m o n B l o c k s
54C-----------------------------------------------
55#include "param_c.inc"
56C-----------------------------------------------
57C D u m m y A r g u m e n t s
58C-----------------------------------------------
59 INTEGER I_MEM, IGAP0, NEDGE, NIN, ITAB(*), INACTI
60 INTEGER J_STOK,MULNSN,NOINT,IFORM,IGAP
61 INTEGER IRECT(4,*),LEDGE(NLEDGE,*),ADMSR(4,*),CAND_S(*),CAND_M(*),II_STOK,
62 . CAND_A(*)
63 INTEGER PROV_S(MVSIZ),PROV_M(MVSIZ)
64C REAL
66 . x(3,*), drad, marge, gap_m(*), gap_m_l(*), gape(*), gap_e_l(*), cand_p(4,*)
67 my_real , INTENT(IN) :: dgapload
68 real*4 edg_bisector(3,4,*), vtx_bisector(3,2,*)
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72 INTEGER I,J,K_STOK,I_STOK,IAD0,IAD,IADFIN,N,NE,EJ
73 INTEGER I_STOK_FIRST,NINDX,INDEX(MVSIZ)
74C REAL
76 . pene(mvsiz)
77C-----------------------------------------------
78 CALL i25pen3_e2s( j_stok,prov_s ,prov_m ,drad ,igap0 ,
79 . nedge ,ledge ,marge ,gap_m ,gap_m_l ,
80 . gape ,gap_e_l,igap ,x ,irect ,
81 . pene ,admsr ,edg_bisector,vtx_bisector ,itab,
82 . dgapload)
83C-----------------------------------------------
84C SUPPRESSION DES ANCIENS CANDIDATS DEJA STOCKES (PENE INITIALE)
85C-----------------------------------------------
86 IF(inacti==5)THEN
87 DO i=1,j_stok
88 IF(pene(i)/=zero)THEN
89 n = prov_s(i)
90 ne = prov_m(i)
91C IF(N>NEDGE) THEN
92C numerotation tris precedent pour les noeuds non locaux (SPMD)
93C N = OLDNUM(N-NEDGE)+NEDGE
94C IF(N==NEDGE) N = NEDGE+NEDGEROLD+1
95C END IF
96 j = cand_a(n)
97 DO WHILE(j<=cand_a(n+1)-1)
98 IF(cand_m(j)==ne)THEN
99 pene(i)=zero
100 j=cand_a(n+1)
101 ELSE
102 j=j+1
103 ENDIF
104 ENDDO
105 ENDIF
106 ENDDO
107 ENDIF
108C-----------------------------------------------
109 k_stok = 0
110 DO i=1,j_stok
111 IF(pene(i)/=zero) THEN
112 k_stok = k_stok + 1
113 END IF
114 ENDDO
115 IF(k_stok==0)RETURN
116C
117
118 i_stok = ii_stok
119 IF(i_stok+k_stok>mulnsn) THEN
120 i_mem = 2
121
122 RETURN
123 ENDIF
124 ii_stok = i_stok + k_stok
125
126 IF(inacti==5)THEN
127 DO i=1,j_stok
128 IF(pene(i)/=zero)THEN
129 i_stok = i_stok + 1
130 cand_s(i_stok) = prov_s(i)
131 cand_m(i_stok) = prov_m(i)
132 cand_p(1:4,i_stok) = zero
133 ENDIF
134 ENDDO
135 ELSE
136 DO i=1,j_stok
137 IF(pene(i)/=zero)THEN
138 i_stok = i_stok + 1
139 cand_s(i_stok) = prov_s(i)
140 cand_m(i_stok) = prov_m(i)
141 ENDIF
142 ENDDO
143 END IF
144C-----------------------------------------------
145 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine i25pen3_e2s(jlt, cand_s, cand_m, drad, igap0, nedge, ledge, marge, gap_m, gap_m_l, gape, gap_e_l, igap, x, irect, pene, admsr, edg_bisector, vtx_bisector, itab, dgapload)
Definition i25pen3_e2s.F:35