OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
c_icnds10.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!|| c_icnds10 ../starter/source/restart/ddsplit/c_icnds10.F
25!||--- called by ------------------------------------------------------
26!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.f
27!||--- calls -----------------------------------------------------
28!|| nlocal ../starter/source/spmd/node/ddtools.F
29!||====================================================================
30 SUBROUTINE c_icnds10(ICNDS10,ITAGND,PROC,NS10E_L,NBDDCNDM,MS,MS_ND)
31C-----------------------------------------------
32C M o d u l e s
33C-----------------------------------------------
34
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C C o m m o n B l o c k s
41C-----------------------------------------------
42#include "com04_c.inc"
43#include "com01_c.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER ICNDS10(3,*),PROC,NS10E_L,ITAGND(*),NBDDCNDM
49 . ms(*),ms_nd
50C-----------------------------------------------
51C F u n c t i o n
52C-----------------------------------------------
53 INTEGER NLOCAL
54 EXTERNAL nlocal
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER N, NN,N1,N2,P,NF
59 INTEGER, DIMENSION(:), ALLOCATABLE :: TAGI
60C-----------------------------------------------
61C------ COMPUTE MS_ND per PROC
62 ms_nd = zero
63 DO n = 1, ns10e
64 nn = icnds10(1,n)
65 DO p = 1, proc
66 IF(nlocal(nn,p)==1)GOTO 10
67 ENDDO
68 IF(nlocal(nn,proc+1)==1.AND.itagnd(nn)<=ns10e)THEN
69 ms_nd = ms_nd + ms(nn)
70 ENDIF
71 10 CONTINUE
72 ENDDO
73C
74 DO n = 1, ns10e
75 nn = icnds10(1,n)
76 IF(nlocal(nn,proc+1)==1.AND.itagnd(nn)<=ns10e)THEN
77c DO P = 1, PROC
78c IF(NLOCAL(NN,P)==1) GO TO 100
79c ENDDO
80 n1 = icnds10(2,n)
81 n2 = icnds10(3,n)
82 ns10e_l = ns10e_l + 1
83 100 CONTINUE
84 ENDIF
85 ENDDO
86 IF (ns10e_l==0) RETURN
87! allocate 1d array
88 ALLOCATE( tagi(numnod) )
89 tagi(1:numnod) = 0
90C-------------pour main nodes---------
91 DO n = 1, ns10e
92 nn = icnds10(1,n)
93 IF(nlocal(nn,proc+1)/=1.OR.itagnd(nn)>ns10e) cycle
94 n1 = icnds10(2,n)
95 n2 = icnds10(3,n)
96C----- normally N1,N2 are local as NN-----
97 nf = 0
98 DO p = 1, nspmd
99 nf = nf +nlocal(nn,p)
100 ENDDO
101 IF(nlocal(n1,proc+1)==1) THEN
102 IF(tagi(n1)==0.AND.nf > 1) THEN
103C decompte des frontieres de main nodes
104 DO p = 1, nspmd
105 IF(nlocal(n1,p)==1)THEN
106 nbddcndm = nbddcndm + 1
107 END IF
108 END DO
109C on ne se compte pas soi-meme
110 nbddcndm = nbddcndm - 1
111C pour ne pas prendre en compte 2 fois des noeuds main ds les frontieres
112c IF (NF > 1) NBDDCNDM = NBDDCNDM + 1
113 tagi(n1) = 1
114 END IF
115 ENDIF
116C----- N2 -------
117 IF(nlocal(n2,proc+1)==1) THEN
118 IF(tagi(n2)==0.AND.nf > 1) THEN
119C decompte des frontieres de main nodes
120 DO p = 1, nspmd
121 IF(nlocal(n2,p)==1)THEN
122 nbddcndm = nbddcndm + 1
123 END IF
124 END DO
125C on ne se compte pas soi-meme
126 nbddcndm = nbddcndm - 1
127C pour ne pas prendre en compte 2 fois des noeuds main ds les frontieres
128c IF (NF > 1) NBDDCNDM = NBDDCNDM + 1
129 tagi(n2) = 1
130 END IF
131 ENDIF
132 END DO
133C ----------------------------
134 DEALLOCATE( tagi )
135C ----------------------------
136C
137 RETURN
138 END
subroutine c_icnds10(icnds10, itagnd, proc, ns10e_l, nbddcndm, ms, ms_nd)
Definition c_icnds10.F:31
#define my_real
Definition cppsort.cpp:32
subroutine ddsplit(p, cep, cel, igeo, mat_elem, ipm, icode, iskew, iskn, insel, ibcslag, ipart, iparts, ipartq, ipartc, ipartt, ipartp, ipartr, iparttg, detonators, ipartx, npc, ixtg, group_param_tab, ixtg6, ixs, ixs10, ixs20, ixs16, ixq, ixc, ixt, ixp, ixr, itab, itabm1, gjbufi, nale, ale_connectivity, kxx, ixx, ibcl, ibfv, las, laccelm, nnlink, lllink, iparg, igrav, lgrav, ibvel, lbvel, iactiv, factiv, kinet, ipari, nprw, lprw, iexmad, npby, lpby, ixri, nstrf, ljoint, pornod, monvol, icontact, lagbuf, fr_iad, x, d, v, vr, dr, thke, dampr, damp, ms, in, tf, pm, skew, xframe, geo, eani, bufmat, bufgeo, bufsf, brmpc, gjbufr, w, veul, fill, dfill, wb, dsav, asav, msnf, spbuf, fac, vel, fsav, fzero, xlas, accelm, fbvel, gravfac, fr_wave, failwave, parts0, elbuf, rwl, rwsav, rby, rivet, secbuf, rvolu, rconx, nloc_dmg, fvmain, libagale, lenthg, lbufmat, lbufgeo, lbufsf, lenxlas, lnom_opt, lenlas, lenvolu, npts, cne, lcne, addcne, cni2, lcni2g, addcni2, cepi2, celi2, i2nsnt, probint, ddstat, pm1shf, dd_iad, kxsp, ixsp, nod2sp, cepsp, nthwa, nairwa, nmnt, l_mul_lag1, l_mul_lag, lwaspio, ipartsp, ispcond, pm1sph, wma, eigipm, eigibuf, eigrpm, iflow, rflow, memflow, iexlnk, fasolfr, iparth, fxbipm, fxbrpm, fxbnod, fxbmod, fxbglm, fxbcpm, fxbcps, fxblm, fxbfls, fxbdls, fxbdep, fxbvit, fxbacc, fxbelm, fxbsig, fxbgrvi, fxbgrvr, iadll, lll, ibmpc, lambda, lrbagale, iskwp, nskwp, isensp, nsensp, iaccp, naccp, ipart_state, mcp, temp, unitab, intstamp, iframe, clusters, partsav, ibft, fbft, ibcv, fconv, irbe3, lrbe3, frbe3, front_rm, rbym, irbym, lcrbym, inoise, fnoise, ms0, admsms, nom_sect, ispsym, sh4tree, sh3tree, ipadmesh, ibfflux, fbfflux, sh4trim, sh3trim, padmesh, msc, mstg, inc, intg, ptg, mcpc, mcptg, rcontact, acontact, pcontact, mscnd, incnd, mssa, mstr, msp, msrt, ibcr, fradia, dmelc, dmeltg, dmels, dmeltr, dmelp, dmelrt, res_sms, isphio, lprtsph, lonfsph, vsphio, sphveln, alph, ifill, ims, irbe2, lrbe2, ms_ply, zi_ply, inod_pxfem, iel_pxfem, icodply, iskwply, addcne_pxfem, cne_pxfem, cel_pxfem, ithvar, xdp, table, celsph, icfield, lcfield, cfield, msz2, itask, diag_sms, iloadp, lloadp, loadp, inod_crkxfem, iel_crkxfem, addcne_crkxfem, cne_crkxfem, cel_crkxfem, ibufssg_io, intercep, ibordnode, iedgesh, ibordedge, linale, nodedge, iedge, cep_crkxfem, iedge_tmp, crknodiad, elbuf_tab, nom_opt, lgauge, gauge, igaup, ngaup, nodlevxf, frontb_r2r, dflow, vflow, wflow, sph2sol, sol2sph, irst, elcutc, nodenr, kxfenod2elc, enrtag, intbuf_tab, i11flag, xfem_tab, lenthgr, rthbuf, ixig3d, kxig3d, knot, ipartig3d, wige, ncrkpart, indx_crk, crklvset, crkshell, crksky, crkavx, crkedge, sensors, stack, xfem_phantom, t8, tab_ump, poin_ump, sol2sph_typ, addcsrect, csrect, drape, loads, itagnd, icnds10, addcncnd, cepcnd, celcnd, cncnd, nativ_sms, i24maxnsne, multi_fvm, segquadfr, intbuf_fric_tab, subset, igrnod, igrbric, igrquad, igrsh4n, igrsh3n, igrtruss, igrbeam, igrspring, igrpart, igrsurf, igrslin, poin_part_shell, poin_part_tri, poin_part_sol, mid_pid_shell, mid_pid_tri, mid_pid_sol, tag_nm, nindx_nm, indx_nm, tag_scratch, nindx_scrt, indx_scrt, flag_24_25, numnod_l, tag_skn, multiple_skew, igrsurf_proc, knotlocpc, knotlocel, ale_elm, size_ale_elm, pinch_data, tag_skins6, ibcscyc, lbcscyc, t_monvol, indx_s, indx_q, indx_tg, face_elm_s, face_elm_q, face_elm_tg, nbr_th_monvol, ebcs_tab, kloadpinter, loadpinter, dgaploadint, s_loadpinter, len_cep, dynain_data, drapeg, user_windows, output, interfaces, number_load_cyl, loads_per_proc, python, dpl0cld, vel0cld, names_and_titles, bcs_per_proc, constraint_struct, glob_therm, pblast)
Definition ddsplit.F:336
program starter
Definition starter.F:39