OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
create_h3d_shell_vector.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "scr17_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine create_h3d_shell_vector (h3d_data, id_shell_vector, n1, n2, id_input, text1, stext1, comment, scomment, ipart, key3_glob, layer, ipt, ply, gauss, iuvar, igrpart)

Function/Subroutine Documentation

◆ create_h3d_shell_vector()

subroutine create_h3d_shell_vector ( type (h3d_database) h3d_data,
integer id_shell_vector,
integer n1,
integer n2,
integer id_input,
character(len=stext1) text1,
integer stext1,
character(len=scomment) comment,
integer scomment,
integer, dimension(lipart1,*) ipart,
character(len=ncharline100) key3_glob,
integer layer,
integer ipt,
integer ply,
integer gauss,
integer iuvar,
type(group_), dimension(ngrpart), intent(in) igrpart )

Definition at line 36 of file create_h3d_shell_vector.F.

39C-----------------------------------------------
40C M o d u l e s
41C-----------------------------------------------
42 USE h3d_mod
44 USE groupdef_mod
45 USE create_h3d_output_per_part_mod
46C-----------------------------------------------
47C I m p l i c i t T y p e s
48C-----------------------------------------------
49#include "implicit_f.inc"
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 TYPE (H3D_DATABASE) :: H3D_DATA
54 INTEGER ID_SHELL_VECTOR,ID_INPUT,STEXT1,N1,N2,SCOMMENT,
55 . LAYER,IPT,PLY,IUVAR,GAUSS
56 INTEGER IPART(LIPART1,*)
57 CHARACTER(LEN=STEXT1) :: TEXT1
58 CHARACTER(LEN=SCOMMENT) :: COMMENT
59 CHARACTER(LEN=NCHARLINE100) :: KEY3_GLOB
60 TYPE(GROUP_) ,DIMENSION(NGRPART) ,INTENT(IN) :: IGRPART
61C-----------------------------------------------
62C C o m m o n B l o c k s
63C-----------------------------------------------
64#include "com04_c.inc"
65#include "scr17_c.inc"
66C-----------------------------------------------
67C E x t e r n a l F u n c t i o n s
68C-----------------------------------------------
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72 CHARACTER(LEN=NCHARLINE100) :: TEXT
73 INTEGER I,N_H3D_PART,STEXT
74C=========================================================================
75 text = ''
76 stext = 0
77
78 h3d_data%N_OUTP_H3D = h3d_data%N_OUTP_H3D + 1
79 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%OK = 1
80 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%KEYWORD = key3_glob
81 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%N_OUTP = h3d_data%N_OUTP_H3D + 3
82 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%ETYPE = 2
83 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%OUTP_TYPE = 2
84 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%LAYER = layer
85 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%IPT = ipt
86 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%PLY = ply
87 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%IUVAR = iuvar
88 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%GAUSS = gauss
89 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%S_STRING1 = stext1
90 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%STRING1(1:stext1) = text1(1:stext1)
91 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%S_STRING2 = 0
92 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%S_COMMENT = scomment
93 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%COMMENT(1:scomment) = comment(1:scomment)
94
95 n_h3d_part = h3d_data%INPUT_LIST(id_input)%NB_PART
96 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%N_H3D_PART_LIST = n_h3d_part
97
98 IF (n_h3d_part /= 0 )
99 . ALLOCATE(h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%PART_LIST(n_h3d_part))
100 ALLOCATE(h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%PART(npart))
101c
102c DO I=1,N_H3D_PART
103c H3D_DATA%OUTPUT_LIST(H3D_DATA%N_OUTP_H3D)%PART_LIST(I) =
104c . H3D_DATA%INPUT_LIST(ID_INPUT)%PART_LIST(I)
105c
106c ENDDO
107 IF (n_h3d_part /= 0 ) THEN
108 DO i=1,npart
109 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%PART(i) = 0
110 ENDDO
111 ELSE
112 DO i=1,npart
113 h3d_data%OUTPUT_LIST(h3d_data%N_OUTP_H3D)%PART(i) = 1
114 ENDDO
115 ENDIF
116
117c DO J=1,N_H3D_PART
118c print *,'ds la construct_lect',H3D_DATA%INPUT_LIST(ID_INPUT)%PART_LIST(J)
119c ENDDO
120
121 CALL create_h3d_output_per_part(n_h3d_part,h3d_data,id_input,lipart1,npart,ipart,ngrpart,igrpart)
122
123c DO J=1,NPART
124c print *,'ds la construct',H3D_DATA%OUTPUT_LIST(H3D_DATA%N_OUTP_H3D)%PART(J)
125c ENDDO
126
127 RETURN
128 CALL arret(0)
integer, parameter ncharline100
subroutine arret(nn)
Definition arret.F:86