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)

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 )

Definition at line 34 of file surface_buffer.F.

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