OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cutmain.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!|| cutmain ../engine/source/tools/sect/cutmain.F
25!||--- called by ------------------------------------------------------
26!|| genani ../engine/source/output/anim/generate/genani.F
27!||--- calls -----------------------------------------------------
28!|| cutcon ../engine/source/tools/sect/cutcon.F
29!||--- uses -----------------------------------------------------
30!|| element_mod ../common_source/modules/elements/element_mod.F90
31!||====================================================================
32 SUBROUTINE cutmain(ICUT,XCUT,IXS,XYZ0,D,
33 . NODCUT,NELCUT,ICBUF,CBUF,LEN,NBF)
34 use element_mod , only : nixs
35C------------------------------------------
36C COMPTAGE DU NOMBRE D'ELEMENTS COUPES
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "scrcut_c.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
49 . xcut(7,*),xyz0(3,*),d(3,*),cbuf(*)
50 INTEGER ICUT(44,*),IXS(NIXS,*),ICBUF(*),NODCUT,NELCUT,LEN,NBF
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER IC,ITYP,NUMTOT,NUMEL,
55 .mic1,mic2,mic3,mic4,mic5,mic6,mac1,mac2,mac3
56 mic1=1
57 mic2=mic1+10*len
58 mic3=mic2+12*len
59 mic4=mic3+6*len
60 mic5=mic4+ncuts
61 mic6=mic5+ncuts
62 mac1=1
63 mac2=mac1+18*len
64 mac3=mac2+6*len
65 DO ic=1,ncuts
66 ityp=icut(1,ic)
67 CALL cutcon(ityp,xcut(1,ic),xcut(4,ic),xyz0,ixs,d,
68 . numtot,numel,
69 . icbuf(mic1),icbuf(mic2),icbuf(mic3),
70 . cbuf(mac1),cbuf(mac2),nodcut)
71 nodcut=nodcut+numtot
72 nelcut=nelcut+numel
73 icbuf(mic4)=nelcut+nbf
74 icbuf(mic5)=nodcut
75 mic1=mic1+5*numel
76 mic2=mic2+numtot*2
77 mic4=mic4+1
78 mic5=mic5+1
79 mac1=mac1+3*numtot
80 mac2=mac2+numtot
81 ENDDO
82 RETURN
83 END
#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:32
subroutine cutmain(icut, xcut, ixs, xyz0, d, nodcut, nelcut, icbuf, cbuf, len, nbf)
Definition cutmain.F:34