OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
insurfigeo.F File Reference
#include "implicit_f.inc"
#include "units_c.inc"
#include "scr03_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine insurfigeo (nrt_ige, offset_seg, msn_ige, offset_node, iadtabige, ir, irect, noint, surf_nodes_ige, itab, msv, id, titr, nige, rige, xige, vige, nige_tmp, rige_tmp, xige_tmp, vige_tmp)

Function/Subroutine Documentation

◆ insurfigeo()

subroutine insurfigeo ( integer nrt_ige,
integer offset_seg,
integer msn_ige,
integer offset_node,
integer iadtabige,
integer ir,
integer, dimension(4,*) irect,
integer noint,
integer, dimension(nrt_ige,4) surf_nodes_ige,
integer, dimension(*) itab,
integer, dimension(*) msv,
integer id,
character(len=nchartitle) titr,
integer, dimension(*) nige,
rige,
xige,
vige,
integer, dimension(*) nige_tmp,
rige_tmp,
xige_tmp,
vige_tmp )

Definition at line 34 of file insurfigeo.F.

37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE message_mod
42 USE format_mod , ONLY : fmw_4i
43C-----------------------------------------------------------------------
44C READING SURFACES AND COUNTING SEGMENTS
45C ENTREE :
46C NRT_IGE NUMBER OF ITEMS TO READ
47C SORTIE :
48C IRECT
49C-----------------------------------------------
50C I m p l i c i t T y p e s
51C-----------------------------------------------
52#include "implicit_f.inc"
53C-----------------------------------------------
54C C o m m o n B l o c k s
55C-----------------------------------------------
56#include "units_c.inc"
57#include "scr03_c.inc"
58C-----------------------------------------------
59C D u m m y A r g u m e n t s
60C-----------------------------------------------
61 INTEGER NRT_IGE,OFFSET_SEG,NOINT,IR,MSN_IGE,OFFSET_NODE,IADTABIGE
62 INTEGER IRECT(4,*),
63 . ITAB(*), MSV(*),NIGE_TMP(*),NIGE(*),SURF_NODES_IGE(NRT_IGE,4)
64 INTEGER ID
65 CHARACTER(LEN=NCHARTITLE) :: TITR
67 . rige(3,*),xige(3,*),vige(3,*),
68 . rige_tmp(3,*),xige_tmp(3,*),vige_tmp(3,*)
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72 INTEGER I, N23, J, K, IR1, K4
73C-----------------------------------------------
74C E x t e r n a l F u n c t i o n s
75C-----------------------------------------------
76C=======================================================================
77CC in intbuf_tab%nige, we write all the fictitious points second then the fictitious points main
78c NIGE is offset at the routine call
79
80 DO j=1,msn_ige
81 nige(j)=nige_tmp(j+iadtabige)
82 rige(:,j)=rige_tmp(:,j+iadtabige)
83 xige(:,j)=xige_tmp(:,j+iadtabige)
84 vige(:,j)=vige_tmp(:,j+iadtabige)
85 xige(:,j)=xige_tmp(:,j+iadtabige)
86 ENDDO
87 DO j=offset_seg+1,offset_seg+nrt_ige
88 DO k=1,4
89 irect(k,j)=surf_nodes_ige(j,k)+offset_node
90 ENDDO
91 ENDDO
92C-------
93 IF(ir/=0.AND.ir/=2)THEN
94 DO j=offset_seg+1,offset_seg+nrt_ige
95 ir1=irect(1,j)
96 irect(1,j)=irect(2,j)
97 irect(2,j)=ir1
98 ir1=irect(3,j)
99 irect(3,j)=irect(4,j)
100 irect(4,j)=ir1
101 ENDDO
102 ENDIF
103 n23=4
104C-------
105 IF(ipri>=1) THEN
106 WRITE(iout,'(/,A,/)')' SEGMENTS USED FOR ISOGEOMETRIC SURFACE DEFINITION'
107 k=1
108 k4=4
109 DO i=offset_seg+1,offset_seg+nrt_ige
110 WRITE(iout,fmt=fmw_4i)(irect(k,i),k=1,k4) ! ECRITURE NON DEFINITIVE
111 ENDDO
112 ENDIF
113 IF (nrt_ige/=0) CALL countigeo(irect,msv,msn_ige,nrt_ige,offset_seg)
114C------------------------------------------------------------
115 RETURN
subroutine countigeo(irect, mnn, n, nrt_ige, nrt_fe)
Definition countigeo.F:29
#define my_real
Definition cppsort.cpp:32
integer, parameter nchartitle