OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cutmain.F File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine cutmain (icut, xcut, ixs, xyz0, d, nodcut, nelcut, icbuf, cbuf, len, nbf)

Function/Subroutine Documentation

◆ cutmain()

subroutine cutmain ( integer, dimension(44,*) icut,
xcut,
integer, dimension(nixs,*) ixs,
xyz0,
d,
integer nodcut,
integer nelcut,
integer, dimension(*) icbuf,
cbuf,
integer len,
integer nbf )

Definition at line 30 of file cutmain.F.

32C------------------------------------------
33C COMPTAGE DU NOMBRE D'ELEMENTS COUPES
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C C o m m o n B l o c k s
40C-----------------------------------------------
41#include "scrcut_c.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
46 . xcut(7,*),xyz0(3,*),d(3,*),cbuf(*)
47 INTEGER ICUT(44,*),IXS(NIXS,*),ICBUF(*),NODCUT,NELCUT,LEN,NBF
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER IC,ITYP,NUMTOT,NUMEL,
52 .MIC1,MIC2,MIC3,MIC4,MIC5,MIC6,MAC1,MAC2,MAC3
53 mic1=1
54 mic2=mic1+10*len
55 mic3=mic2+12*len
56 mic4=mic3+6*len
57 mic5=mic4+ncuts
58 mic6=mic5+ncuts
59 mac1=1
60 mac2=mac1+18*len
61 mac3=mac2+6*len
62 DO ic=1,ncuts
63 ityp=icut(1,ic)
64 CALL cutcon(ityp,xcut(1,ic),xcut(4,ic),xyz0,ixs,d,
65 . numtot,numel,
66 . icbuf(mic1),icbuf(mic2),icbuf(mic3),
67 . cbuf(mac1),cbuf(mac2),nodcut)
68 nodcut=nodcut+numtot
69 nelcut=nelcut+numel
70 icbuf(mic4)=nelcut+nbf
71 icbuf(mic5)=nodcut
72 mic1=mic1+5*numel
73 mic2=mic2+numtot*2
74 mic4=mic4+1
75 mic5=mic5+1
76 mac1=mac1+3*numtot
77 mac2=mac2+numtot
78 ENDDO
79 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine cutcon(ityp, x0, vn, xyz0, ixs, d, numtot, numel, nc, nvois, na, xyz, al, nodcut)
Definition cutcon.F:30