46 panelID_table, pi_table, pj_table, pk_table, &
47 tileID_map, tileFaceID_map, tilePanelID_map, &
58 integer,
intent(in) :: ntile
59 integer,
intent(out) :: panelid_table(ntile)
60 integer,
intent(out) :: pi_table(ntile)
61 integer,
intent(out) :: pj_table(ntile)
62 integer,
intent(out) :: pk_table(ntile)
63 integer,
intent(out) :: tileid_map(6,ntile)
64 integer,
intent(out) :: tilefaceid_map(6,ntile)
65 integer,
intent(out) :: tilepanelid_map(6,ntile)
66 integer,
intent(in) :: nez
68 integer :: ntileperpanel
69 integer :: nex, ney, nvx, nvy, nvz
70 integer,
allocatable :: nodesid_3d(:,:,:,:)
71 integer,
allocatable :: etov(:,:)
72 integer,
allocatable :: etoe(:,:)
73 integer,
allocatable :: etof(:,:)
76 integer :: tileid, tileid_r
82 ntileperpanel = ntile / 6
83 ney = int( sqrt(dble(ntileperpanel)) )
84 nex = ntileperpanel/ney
88 allocate( nodesid_3d(nvx,nvy,nvz,6) )
89 allocate( etov(ntile,8), etoe(ntile,6), etof(ntile,6) )
97 nodesid_3d(i,j,k,panelid) = counter
111 panelid_table(tileid) = panelid
112 pi_table(tileid) = i; pj_table(tileid) = j; pk_table(tileid) = k
113 etov(tileid,:) = (/ nodesid_3d(i,j ,k ,panelid), nodesid_3d(i+1,j ,k ,panelid), &
114 nodesid_3d(i,j+1,k ,panelid), nodesid_3d(i+1,j+1,k ,panelid), &
115 nodesid_3d(i,j ,k+1,panelid), nodesid_3d(i+1,j ,k+1,panelid), &
116 nodesid_3d(i,j+1,k+1,panelid), nodesid_3d(i+1,j+1,k+1,panelid) /)
124 tileid_map(:,:) = transpose(etoe)
125 tilefaceid_map(:,:) = transpose(etof)
129 tileid_r = tileid_map(f,tileid)
130 tilepanelid_map(f,tileid) = panelid_table(tileid_r)
135 tilepanelid_map, tileid_map, tilefaceid_map, &
136 panelid_table, pi_table, pj_table, nex, ney, ntile, 6 )
subroutine, public meshutil3d_buildinteriormap(vmapm, vmapp, mapm, mapp, pos_en, pos_ev, etoe, etof, etov, fmask_h, fmask_v, ne, nv, np, nfp_h, nfp_v, nfptot, nfaces_h, nfaces_v, nfaces)
subroutine, public meshutil3d_gencubedomain(pos_v, etov, ke_x, xmin, xmax, ke_y, ymin, ymax, ke_z, zmin, zmax, fz)
subroutine, public meshutil3d_genpatchboundarymap(vmapb, mapb, vmapp, pos_en, xmin, xmax, ymin, ymax, zmin, zmax, fmask_h, fmask_v, ne, nv, np, nfp_h, nfp_v, nfptot, nfaces_h, nfaces_v, nfaces)