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

Go to the source code of this file.

Functions/Subroutines

subroutine surface_buffer (ixs, ixs10, ixc, sh4tree, sh3tree, ixtg, knod2els, nod2els, knod2elc, nod2elc, knod2eltg, nod2eltg, nseg, iext, ipartc, iparts, ipartg, clause, buftmpsurf, iad_surf, opt_o, ipart, knod2elq, nod2elq, x, ixq, keyset, ipartq)

Function/Subroutine Documentation

◆ surface_buffer()

subroutine surface_buffer ( integer, dimension(nixs,*) ixs,
integer, dimension(6,*) ixs10,
integer, dimension(nixc,*) ixc,
integer, dimension(*) sh4tree,
integer, dimension(*) sh3tree,
integer, dimension(nixtg,*) ixtg,
integer, dimension(*) knod2els,
integer, dimension(*) nod2els,
integer, dimension(*) knod2elc,
integer, dimension(*) nod2elc,
integer, dimension(*) knod2eltg,
integer, dimension(*) nod2eltg,
integer nseg,
integer iext,
integer, dimension(*) ipartc,
integer, dimension(*) iparts,
integer, dimension(*) ipartg,
type (set_) clause,
integer, dimension(*) buftmpsurf,
integer iad_surf,
integer opt_o,
integer, dimension(lipart1,*) ipart,
integer, dimension(*) knod2elq,
integer, dimension(*) nod2elq,
x,
integer, dimension(nixq,*) ixq,
character(len=ncharfield) keyset,
integer, dimension(numelq) ipartq )

Definition at line 34 of file surface_buffer.F.

41C-----------------------------------------------
42C M o d u l e s
43C-----------------------------------------------
44 USE setdef_mod
46 use element_mod , only : nixs,nixq,nixc,nixtg
47C-----------------------------------------------
48C I m p l i c i t T y p e s
49C-----------------------------------------------
50#include "implicit_f.inc"
51#include "com04_c.inc"
52#include "param_c.inc"
53#include "scr17_c.inc"
54#include "remesh_c.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
58 INTEGER IXS(NIXS,*),KNOD2ELS(*),NOD2ELS(*),IXS10(6,*),
59 . KNOD2ELC(*),NOD2ELC(*),KNOD2ELTG(*),NOD2ELTG(*),
60 . IXC(NIXC,*),IXTG(NIXTG,*),IPARTC(*),IPARTG(*),
61 . BUFTMPSURF(*),IPARTS(*),SH4TREE(*),SH3TREE(*),
62 . IPART(LIPART1,*),KNOD2ELQ(*),NOD2ELQ(*),IXQ(NIXQ,*),IPARTQ(NUMELQ)
63 INTEGER IEXT,NSEG,IAD_SURF,OPT_O
64 CHARACTER(LEN=NCHARFIELD) :: KEYSET
65 my_real x(3,*)
66!
67 TYPE (SET_) :: CLAUSE
68C-----------------------------------------------
69C L o c a l V a r i a b l e s
70C-----------------------------------------------
71C=======================================================================
72!------------------
73! counting / buffering CLAUSE surface segments from elems ( EXT / ALL )
74!---
75!
76! --- solid ---
77 IF ( clause%NB_SOLID > 0 ) CALL solid_surface_buffer(
78 . ixs ,ixs10 ,ixc ,ixtg ,clause ,
79 . knod2els ,nod2els ,knod2elc ,nod2elc ,knod2eltg,
80 . nod2eltg ,nseg ,iext ,buftmpsurf,iparts ,
81 . iad_surf ,keyset)
82!
83! --- shell + sh3n ---
84!
85 IF (nadmesh == 0) THEN
86 IF ( clause%NB_SH4N > 0 ) CALL shell_surface_buffer(
87 . ixc ,nixc ,2 ,5 ,3 ,
88 . nseg ,iad_surf ,opt_o ,buftmpsurf,clause)
89 IF ( clause%NB_SH3N > 0 .AND. numeltria == 0)
91 . ixtg ,nixtg ,2 ,4 ,7 ,
92 . nseg ,iad_surf ,opt_o ,buftmpsurf,clause)
93 ELSE
94 IF ( clause%NB_SH4N > 0 ) CALL shell_surface_buffer_remesh(
95 . ixc ,nixc ,2 ,5 ,3 ,
96 . nseg ,iad_surf ,buftmpsurf,clause ,ipartc ,
97 . ipart ,ksh4tree ,sh4tree )
98 IF ( clause%NB_SH3N > 0 .AND. numeltria == 0)
100 . ixtg ,nixtg ,2 ,4 ,7 ,
101 . nseg ,iad_surf ,buftmpsurf,clause ,ipartg,
102 . ipart ,ksh3tree ,sh3tree )
103 ENDIF ! IF (NADMESH == 0)
104!
105! --- quad --- external surface only ( EXT )
106!
107 IF ( clause%NB_QUAD > 0 ) CALL quad_surface_buffer(
108 . ixq ,iad_surf ,buftmpsurf ,nseg ,knod2elq ,
109 . nod2elq ,iext ,x ,clause,ipartq)
110!---
111 RETURN
#define my_real
Definition cppsort.cpp:32
integer, parameter ncharfield
subroutine quad_surface_buffer(ixq, iad_surf, buftmpsurf, nseg, knod2elq, nod2elq, iext, x, clause, ipartq)
subroutine shell_surface_buffer(ix, nix, nix1, nix2, ieltyp, nseg, iad_surf, opt_o, buftmpsurf, clause)
subroutine shell_surface_buffer_remesh(ix, nix, nix1, nix2, ieltyp, nseg, iad_surf, buftmpsurf, clause, iparte, ipart, kshtree, shtree)
subroutine solid_surface_buffer(ixs, ixs10, ixc, ixtg, clause, knod2els, nod2els, knod2elc, nod2elc, knod2eltg, nod2eltg, nseg, iext, buftmpsurf, iparts, iad_surf, keyset)