Skip to content

fossil_cut_cells_3d ​

Source: src/lib/fossil_cut_cells_3d.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
MONO2_MAXinteger(kind=I4P)parameter
MONO3_MAXinteger(kind=I4P)parameter
FLAT_TAUreal(kind=R8P)parameter
SCAN_CHUNKinteger(kind=I4P)parameter
CK_NONEinteger(kind=I4P)parameter
CK_EMPTYinteger(kind=I4P)parameter
CK_QUIETinteger(kind=I4P)parameter
CK_CUTinteger(kind=I4P)parameter

Derived Types ​

cut_cells_3d_t ​

Components

NameTypeAttributesDescription
nxinteger(kind=I4P)
nyinteger(kind=I4P)
nzinteger(kind=I4P)
face_xreal(kind=R8P)allocatable
face_yreal(kind=R8P)allocatable
face_zreal(kind=R8P)allocatable
face_x_centroidreal(kind=R8P)allocatable
face_y_centroidreal(kind=R8P)allocatable
face_z_centroidreal(kind=R8P)allocatable
face_x_piecesinteger(kind=I4P)allocatable
face_y_piecesinteger(kind=I4P)allocatable
face_z_piecesinteger(kind=I4P)allocatable
face_x_closedlogicalallocatable
face_y_closedlogicalallocatable
face_z_closedlogicalallocatable
alphareal(kind=R8P)allocatable
centroidreal(kind=R8P)allocatable
wet_areareal(kind=R8P)allocatable
wet_centroidreal(kind=R8P)allocatable
wet_normalreal(kind=R8P)allocatable
closedlogicalallocatable
piecesinteger(kind=I4P)allocatable
first_pieceinteger(kind=I4P)allocatable
npinteger(kind=I4P)
piece_cellinteger(kind=I4P)allocatable
piece_volumereal(kind=R8P)allocatable
piece_centroidreal(kind=R8P)allocatable
piece_wet_areareal(kind=R8P)allocatable
piece_wet_centroidreal(kind=R8P)allocatable
piece_wet_normalreal(kind=R8P)allocatable
piece_facereal(kind=R8P)allocatable
edge_xreal(kind=R8P)allocatable
edge_yreal(kind=R8P)allocatable
edge_zreal(kind=R8P)allocatable
node_inlogicalallocatable
moments_orderinteger(kind=I4P)
piece_momentsreal(kind=R8P)allocatable
piece_wall_momentsreal(kind=R8P)allocatable
piece_face_momentsreal(kind=R8P)allocatable
face_x_momentsreal(kind=R8P)allocatable
face_y_momentsreal(kind=R8P)allocatable
face_z_momentsreal(kind=R8P)allocatable
quad_startinteger(kind=I4P)allocatable
quad_pointreal(kind=R8P)allocatable
quad_weightreal(kind=R8P)allocatable
quad_statusinteger(kind=I4P)allocatable
wall_quad_startinteger(kind=I4P)allocatable
wall_quad_pointreal(kind=R8P)allocatable
wall_quad_weightreal(kind=R8P)allocatable
on_devicelogical
device_keyinteger(kind=c_intptr_t)

Type-Bound Procedures

NameAttributesDescription
enter_devicepass(self)
update_hostpass(self)
exit_devicepass(self)

Components

NameTypeAttributesDescription
nivinteger(kind=I4P)
cell_iv_startinteger(kind=I4P)allocatable
piv_pieceinteger(kind=I4P)allocatable
piv_edgeinteger(kind=I4P)allocatable
piv_loreal(kind=R8P)allocatable
piv_hireal(kind=R8P)allocatable
sec_xtype(cut_cells_2d_blocks_t)
sec_ytype(cut_cells_2d_blocks_t)
sec_ztype(cut_cells_2d_blocks_t)
on_devicelogical

Type-Bound Procedures

NameAttributesDescription
update_hostpass(self)
exit_devicepass(self)

cut_walls_3d_t ​

Components

NameTypeAttributesDescription
ninteger(kind=I4P)
cell_startinteger(kind=I4P)allocatable
pieceinteger(kind=I4P)allocatable
facetinteger(kind=I4P)allocatable
areareal(kind=R8P)allocatable
wet_areareal(kind=R8P)allocatable
centroidreal(kind=R8P)allocatable
on_devicelogical
device_keyinteger(kind=c_intptr_t)

Type-Bound Procedures

NameAttributesDescription
enter_devicepass(self)
update_hostpass(self)
exit_devicepass(self)

Subroutines ​

cut_cells_3d ​

fortran
subroutine cut_cells_3d(surface, x, y, z, cut, status, links, edges, moments_order, quadrature, device_sections, walls)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
statusinteger(kind=I4P)outoptional
linkstype(cut_links_t)inoutoptional
edgeslogicalinoptional
moments_orderinteger(kind=I4P)inoptional
quadraturelogicalinoptional
device_sectionslogicalinoptional
wallstype(cut_walls_3d_t)inoutoptional

Call graph

cell_candidates_3d ​

fortran
subroutine cell_candidates_3d(x, y, z, nf, tri, nrm, cnt, kstart, klst)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
nfinteger(kind=I4P)in
trireal(kind=R8P)in
nrmreal(kind=R8P)in
cntinteger(kind=I4P)outallocatable
kstartinteger(kind=I4P)outallocatable
klstinteger(kind=I4P)outallocatable

Call graph

cell_totals_3d ​

fortran
subroutine cell_totals_3d(nf, tri, nt, lst, x0, x1, y0, y1, z0, z1, fx1, fy1, fz1, cx0, cx1, cy0, cy1, cz0, cz1, alpha, centroid, wet_area, wet_centroid, wet_normal, closed)

Arguments

NameTypeIntentAttributesDescription
nfinteger(kind=I4P)in
trireal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
fx1real(kind=R8P)in
fy1real(kind=R8P)in
fz1real(kind=R8P)in
cx0logicalin
cx1logicalin
cy0logicalin
cy1logicalin
cz0logicalin
cz1logicalin
alphareal(kind=R8P)out
centroidreal(kind=R8P)out
wet_areareal(kind=R8P)out
wet_centroidreal(kind=R8P)out
wet_normalreal(kind=R8P)out
closedlogicalout

Call graph

wall_terms_clip ​

fortran
subroutine wall_terms_clip(fill, nf, tri, nt, lst, x0, x1, y0, y1, z0, z1, piece, ncap, nw, wpc, wfc, wav, wwa, wcen)

Arguments

NameTypeIntentAttributesDescription
filllogicalin
nfinteger(kind=I4P)in
trireal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
pieceinteger(kind=I4P)in
ncapinteger(kind=I4P)in
nwinteger(kind=I4P)out
wpcinteger(kind=I4P)inout
wfcinteger(kind=I4P)inout
wavreal(kind=R8P)inout
wwareal(kind=R8P)inout
wcenreal(kind=R8P)inout

Call graph

wall_terms_sets ​

fortran
subroutine wall_terms_sets(fill, nt, lst, c0, pv, pn, na, parent, tgt, pid, p0, ncap, nw, wpc, wfc, wav, wwa, wcen)

Arguments

NameTypeIntentAttributesDescription
filllogicalin
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
c0real(kind=R8P)in
pvreal(kind=R8P)in
pninteger(kind=I4P)in
nainteger(kind=I4P)in
parentinteger(kind=I4P)in
tgtinteger(kind=I4P)in
pidinteger(kind=I4P)in
p0integer(kind=I4P)in
ncapinteger(kind=I4P)in
nwinteger(kind=I4P)out
wpcinteger(kind=I4P)inout
wfcinteger(kind=I4P)inout
wavreal(kind=R8P)inout
wwareal(kind=R8P)inout
wcenreal(kind=R8P)inout

Call graph

polygon_terms ​

Attributes: pure

fortran
subroutine polygon_terms(np, poly, c0, av, ar, cen)

Arguments

NameTypeIntentAttributesDescription
npinteger(kind=I4P)in
polyreal(kind=R8P)in
c0real(kind=R8P)in
avreal(kind=R8P)out
arreal(kind=R8P)out
cenreal(kind=R8P)out

Call graph

cut_pieces_3d ​

fortran
subroutine cut_pieces_3d(x, y, z, cut, nf, tri, nrm, cnt, kstart, klst, mo, qd, piv_piece, piv_edge, piv_lo, piv_hi, px, py, pz, walls)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
nfinteger(kind=I4P)in
trireal(kind=R8P)in
nrmreal(kind=R8P)in
cntinteger(kind=I4P)in
kstartinteger(kind=I4P)in
klstinteger(kind=I4P)in
mointeger(kind=I4P)in
qdlogicalin
piv_pieceinteger(kind=I4P)outallocatable, optional
piv_edgeinteger(kind=I4P)outallocatable, optional
piv_loreal(kind=R8P)outallocatable, optional
piv_hireal(kind=R8P)outallocatable, optional
pxtype(cut_cells_2d_t)inoptional
pytype(cut_cells_2d_t)inoptional
pztype(cut_cells_2d_t)inoptional
wallstype(cut_walls_3d_t)inoutoptional

Call graph

cut_cell_3d_pieces ​

fortran
subroutine cut_cell_3d_pieces(tl, x0, x1, y0, y1, z0, z1, cs, alpha, faces, measures, np, apiece, cpiece, pvol, pfc, pfm)

Arguments

NameTypeIntentAttributesDescription
tlreal(kind=R8P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
csinteger(kind=I4P)in
alphareal(kind=R8P)in
facesreal(kind=R8P)in
measureslogicalin
npinteger(kind=I4P)out
apieceinteger(kind=I4P)outallocatable
cpieceinteger(kind=I4P)out
pvolreal(kind=R8P)outallocatable
pfcreal(kind=R8P)outallocatable
pfmreal(kind=R8P)outallocatable

Call graph

cut_cell_3d_totals ​

fortran
subroutine cut_cell_3d_totals(tl, x0, x1, y0, y1, z0, z1, fx1, fy1, fz1, alpha, closed)

Arguments

NameTypeIntentAttributesDescription
tlreal(kind=R8P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
fx1real(kind=R8P)in
fy1real(kind=R8P)in
fz1real(kind=R8P)in
alphareal(kind=R8P)out
closedlogicalout

Call graph

cut_cell_3d_face ​

fortran
subroutine cut_cell_3d_face(tl, axis, level, u0, u1, v0, v1, flags, closed, alpha, centroid)

Arguments

NameTypeIntentAttributesDescription
tlreal(kind=R8P)in
axisinteger(kind=I4P)in
levelreal(kind=R8P)in
u0real(kind=R8P)in
u1real(kind=R8P)in
v0real(kind=R8P)in
v1real(kind=R8P)in
flagslogicalin
closedlogicalout
alphareal(kind=R8P)out
centroidreal(kind=R8P)out

Call graph

cut_cell_3d_face_sizes ​

Attributes: pure

fortran
subroutine cut_cell_3d_face_sizes(n, nxs, nps, nrw, niw)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
nxsinteger(kind=I4P)in
npsinteger(kind=I4P)in
nrwinteger(kind=I4P)out
niwinteger(kind=I4P)out

Call graph

cut_cell_3d_face_count ​

fortran
subroutine cut_cell_3d_face_count(n, tri, axis, level, u0, u1, v0, v1, nrw, rw, niw, iw, nv, nxs, nps)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
trireal(kind=R8P)in
axisinteger(kind=I4P)in
levelreal(kind=R8P)in
u0real(kind=R8P)in
u1real(kind=R8P)in
v0real(kind=R8P)in
v1real(kind=R8P)in
nrwinteger(kind=I4P)in
rwreal(kind=R8P)inout
niwinteger(kind=I4P)in
iwinteger(kind=I4P)inout
nvinteger(kind=I4P)out
nxsinteger(kind=I4P)out
npsinteger(kind=I4P)out

Call graph

cut_cell_3d_face_measures ​

fortran
subroutine cut_cell_3d_face_measures(n, tri, axis, level, u0, u1, v0, v1, f00, f10, f11, f01, nxs, nps, nrw, rw, niw, iw, closed, alpha, centroid)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
trireal(kind=R8P)in
axisinteger(kind=I4P)in
levelreal(kind=R8P)in
u0real(kind=R8P)in
u1real(kind=R8P)in
v0real(kind=R8P)in
v1real(kind=R8P)in
f00logicalin
f10logicalin
f11logicalin
f01logicalin
nxsinteger(kind=I4P)in
npsinteger(kind=I4P)in
nrwinteger(kind=I4P)in
rwreal(kind=R8P)inout
niwinteger(kind=I4P)in
iwinteger(kind=I4P)inout
closedlogicalout
alphareal(kind=R8P)out
centroidreal(kind=R8P)out

Call graph

cut_cell_3d_one_layout ​

Attributes: pure

fortran
subroutine cut_cell_3d_one_layout(n, npc, measures, ro, io, npo)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
npcinteger(kind=I4P)in
measureslogicalin
rointeger(kind=I4P)out
iointeger(kind=I4P)out
npointeger(kind=I4P)out

Call graph

cut_cell_3d_one_sizes ​

Attributes: pure

fortran
subroutine cut_cell_3d_one_sizes(n, npc, measures, nrw, niw, npo)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
npcinteger(kind=I4P)in
measureslogicalin
nrwinteger(kind=I4P)out
niwinteger(kind=I4P)out
npointeger(kind=I4P)out

Call graph

cut_cell_3d_one_count ​

fortran
subroutine cut_cell_3d_one_count(n, tri, x0, x1, y0, y1, z0, z1, niw, iw, npc)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
trireal(kind=R8P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
niwinteger(kind=I4P)in
iwinteger(kind=I4P)inout
npcinteger(kind=I4P)out

Call graph

cut_cell_3d_one_pieces ​

fortran
subroutine cut_cell_3d_one_pieces(n, tri, x0, x1, y0, y1, z0, z1, cs, alpha, faces, measures, npc, nrw, rw, niw, iw, np, apiece, cpiece, npo, pvol, pfc, pfm)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
trireal(kind=R8P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
csinteger(kind=I4P)in
alphareal(kind=R8P)in
facesreal(kind=R8P)in
measureslogicalin
npcinteger(kind=I4P)in
nrwinteger(kind=I4P)in
rwreal(kind=R8P)inout
niwinteger(kind=I4P)in
iwinteger(kind=I4P)inout
npinteger(kind=I4P)out
apieceinteger(kind=I4P)out
cpieceinteger(kind=I4P)out
npointeger(kind=I4P)in
pvolreal(kind=R8P)inout
pfcreal(kind=R8P)inout
pfmreal(kind=R8P)inout

Call graph

cut_cell_3d_one_totals ​

fortran
subroutine cut_cell_3d_one_totals(n, tri, x0, x1, y0, y1, z0, z1, fx1, fy1, fz1, niw, iw, alpha, closed)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
trireal(kind=R8P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
fx1real(kind=R8P)in
fy1real(kind=R8P)in
fz1real(kind=R8P)in
niwinteger(kind=I4P)in
iwinteger(kind=I4P)inout
alphareal(kind=R8P)out
closedlogicalout

Call graph

cell_piercings ​

fortran
subroutine cell_piercings(fill, nf, tri, nt, lst, c0, c1, ncap, npc, pce, pcq, pct, pcen)

Arguments

NameTypeIntentAttributesDescription
filllogicalin
nfinteger(kind=I4P)in
trireal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
c0real(kind=R8P)in
c1real(kind=R8P)in
ncapinteger(kind=I4P)in
npcinteger(kind=I4P)out
pceinteger(kind=I4P)inout
pcqinteger(kind=I4P)inout
pctreal(kind=R8P)inout
pceninteger(kind=I4P)inout

Call graph

cell_pieces_sizes ​

Attributes: pure

fortran
subroutine cell_pieces_sizes(nt, npc, nm2, nm3, qd, nrw, niw)

Arguments

NameTypeIntentAttributesDescription
ntinteger(kind=I4P)in
npcinteger(kind=I4P)in
nm2integer(kind=I4P)in
nm3integer(kind=I4P)in
qdlogicalin
nrwinteger(kind=I4P)out
niwinteger(kind=I4P)out

Call graph

cell_pieces_layout ​

Attributes: pure

fortran
subroutine cell_pieces_layout(nt, npc, nm2, nm3, qd, ro, io)

Arguments

NameTypeIntentAttributesDescription
ntinteger(kind=I4P)in
npcinteger(kind=I4P)in
nm2integer(kind=I4P)in
nm3integer(kind=I4P)in
qdlogicalin
rointeger(kind=I4P)out
iointeger(kind=I4P)out

Call graph

cell_pieces_3d ​

fortran
subroutine cell_pieces_3d(fill, nf, tri, nrm, nt, lst, x0, x1, y0, y1, z0, z1, cs, alpha, faces, npc, pce, pcq, pct, pcen, nm2, nm3, e2, e3, qd, want_iv, secm, nrw, rw, niw, iw, npieces, nivc, nqc, nwc, qwn1, p0, iv0, q0, w0, npo, nivo, nqo, nwo, nqcd, pvol, pcen_, pwa, pwc, pwn, pfc, pmom, pwmom, pfmom, ivp, ive, ivl, ivh, qpt, qwt, wpt, wwt, qcnt, wcnt)

Arguments

NameTypeIntentAttributesDescription
filllogicalin
nfinteger(kind=I4P)in
trireal(kind=R8P)in
nrmreal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
csinteger(kind=I4P)in
alphareal(kind=R8P)in
facesreal(kind=R8P)in
npcinteger(kind=I4P)in
pceinteger(kind=I4P)in
pcqinteger(kind=I4P)in
pctreal(kind=R8P)in
pceninteger(kind=I4P)in
nm2integer(kind=I4P)in
nm3integer(kind=I4P)in
e2integer(kind=I4P)in
e3integer(kind=I4P)in
qdlogicalin
want_ivlogicalin
secmreal(kind=R8P)in
nrwinteger(kind=I4P)in
rwreal(kind=R8P)inout
niwinteger(kind=I4P)in
iwinteger(kind=I4P)inout
npiecesinteger(kind=I4P)out
nivcinteger(kind=I4P)out
nqcinteger(kind=I4P)out
nwcinteger(kind=I4P)out
qwn1integer(kind=I4P)out
p0integer(kind=I4P)in
iv0integer(kind=I4P)in
q0integer(kind=I4P)in
w0integer(kind=I4P)in
npointeger(kind=I4P)in
nivointeger(kind=I4P)in
nqointeger(kind=I4P)in
nwointeger(kind=I4P)in
nqcdinteger(kind=I4P)in
pvolreal(kind=R8P)inout
pcen_real(kind=R8P)inout
pwareal(kind=R8P)inout
pwcreal(kind=R8P)inout
pwnreal(kind=R8P)inout
pfcreal(kind=R8P)inout
pmomreal(kind=R8P)inout
pwmomreal(kind=R8P)inout
pfmomreal(kind=R8P)inout
ivpinteger(kind=I4P)inout
iveinteger(kind=I4P)inout
ivlreal(kind=R8P)inout
ivhreal(kind=R8P)inout
qptreal(kind=R8P)inout
qwtreal(kind=R8P)inout
wptreal(kind=R8P)inout
wwtreal(kind=R8P)inout
qcntinteger(kind=I4P)inout
wcntinteger(kind=I4P)inout

Call graph

cell_pieces_core ​

fortran
subroutine cell_pieces_core(fill, nf, tri, nrm, nt, lst, x0, x1, y0, y1, z0, z1, cs, alpha, faces, npc, pce, pcq, pct, pcen, nm2, nm3, e2, e3, qd, want_iv, secm, na, ni, mm, ns, nr, pv, pt, ivl_, ivh_, vol, keyw, wt, fa, pm, wvm, wwm, fmm, fsg, pfl, pn, pe, pp, pen, parent, ive_, iva, touch, tgt, pid, iwk, fsf, fsr, qst, wst, qwn, fq, fw, npieces, nivc, nqc, nwc, qwn1, p0, iv0, q0, w0, npo, nivo, nqo, nwo, nqcd, pvol, pcen_, pwa, pwc, pwn, pfc, pmom, pwmom, pfmom, ivp, ive, ivl, ivh, qpt, qwt, wpt, wwt, qcnt, wcnt)

Arguments

NameTypeIntentAttributesDescription
filllogicalin
nfinteger(kind=I4P)in
trireal(kind=R8P)in
nrmreal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
z0real(kind=R8P)in
z1real(kind=R8P)in
csinteger(kind=I4P)in
alphareal(kind=R8P)in
facesreal(kind=R8P)in
npcinteger(kind=I4P)in
pceinteger(kind=I4P)in
pcqinteger(kind=I4P)in
pctreal(kind=R8P)in
pceninteger(kind=I4P)in
nm2integer(kind=I4P)in
nm3integer(kind=I4P)in
e2integer(kind=I4P)in
e3integer(kind=I4P)in
qdlogicalin
want_ivlogicalin
secmreal(kind=R8P)in
nainteger(kind=I4P)in
niinteger(kind=I4P)in
mminteger(kind=I4P)in
nsinteger(kind=I4P)in
nrinteger(kind=I4P)in
pvreal(kind=R8P)inout
ptreal(kind=R8P)inout
ivl_real(kind=R8P)inout
ivh_real(kind=R8P)inout
volreal(kind=R8P)inout
keywreal(kind=R8P)inout
wtreal(kind=R8P)inout
fareal(kind=R8P)inout
pmreal(kind=R8P)inout
wvmreal(kind=R8P)inout
wwmreal(kind=R8P)inout
fmmreal(kind=R8P)inout
fsgreal(kind=R8P)inout
pflinteger(kind=I4P)inout
pninteger(kind=I4P)inout
peinteger(kind=I4P)inout
ppinteger(kind=I4P)inout
peninteger(kind=I4P)inout
parentinteger(kind=I4P)inout
ive_integer(kind=I4P)inout
ivainteger(kind=I4P)inout
touchinteger(kind=I4P)inout
tgtinteger(kind=I4P)inout
pidinteger(kind=I4P)inout
iwkinteger(kind=I4P)inout
fsfinteger(kind=I4P)inout
fsrinteger(kind=I4P)inout
qstinteger(kind=I4P)inout
wstinteger(kind=I4P)inout
qwninteger(kind=I4P)inout
fqinteger(kind=I4P)inout
fwinteger(kind=I4P)inout
npiecesinteger(kind=I4P)out
nivcinteger(kind=I4P)out
nqcinteger(kind=I4P)out
nwcinteger(kind=I4P)out
qwn1integer(kind=I4P)out
p0integer(kind=I4P)in
iv0integer(kind=I4P)in
q0integer(kind=I4P)in
w0integer(kind=I4P)in
npointeger(kind=I4P)in
nivointeger(kind=I4P)in
nqointeger(kind=I4P)in
nwointeger(kind=I4P)in
nqcdinteger(kind=I4P)in
pvolreal(kind=R8P)inout
pcen_real(kind=R8P)inout
pwareal(kind=R8P)inout
pwcreal(kind=R8P)inout
pwnreal(kind=R8P)inout
pfcreal(kind=R8P)inout
pmomreal(kind=R8P)inout
pwmomreal(kind=R8P)inout
pfmomreal(kind=R8P)inout
ivpinteger(kind=I4P)inout
iveinteger(kind=I4P)inout
ivlreal(kind=R8P)inout
ivhreal(kind=R8P)inout
qptreal(kind=R8P)inout
qwtreal(kind=R8P)inout
wptreal(kind=R8P)inout
wwtreal(kind=R8P)inout
qcntinteger(kind=I4P)inout
wcntinteger(kind=I4P)inout

Call graph

fortran
subroutine piece_link_ivs(fill, na, parent, ni, niv, ive_, iva, ivl_, ivh_, pid, p0, iv0, nivo, ivp, ive, ivl, ivh, nivc)

Arguments

NameTypeIntentAttributesDescription
filllogicalin
nainteger(kind=I4P)in
parentinteger(kind=I4P)in
niinteger(kind=I4P)in
nivinteger(kind=I4P)in
ive_integer(kind=I4P)in
ivainteger(kind=I4P)in
ivl_real(kind=R8P)in
ivh_real(kind=R8P)in
pidinteger(kind=I4P)in
p0integer(kind=I4P)in
iv0integer(kind=I4P)in
nivointeger(kind=I4P)in
ivpinteger(kind=I4P)inout
iveinteger(kind=I4P)inout
ivlreal(kind=R8P)inout
ivhreal(kind=R8P)inout
nivcinteger(kind=I4P)out

Call graph

uf_unite ​

Attributes: pure

fortran
subroutine uf_unite(na, parent, i, j)

Arguments

NameTypeIntentAttributesDescription
nainteger(kind=I4P)in
parentinteger(kind=I4P)inout
iinteger(kind=I4P)in
jinteger(kind=I4P)in

Call graph

walk_edge ​

Attributes: pure

fortran
subroutine walk_edge(ed, build, c0, c1, nt, npc, pe, pt, pen, pp, cstate, ok, na, parent, natom, ni, niv, ive, iva, ivl, ivh)

Arguments

NameTypeIntentAttributesDescription
edinteger(kind=I4P)in
buildlogicalin
c0real(kind=R8P)in
c1real(kind=R8P)in
ntinteger(kind=I4P)in
npcinteger(kind=I4P)in
peinteger(kind=I4P)inout
ptreal(kind=R8P)inout
peninteger(kind=I4P)inout
ppinteger(kind=I4P)inout
cstateinteger(kind=I4P)inout
oklogicalinout
nainteger(kind=I4P)in
parentinteger(kind=I4P)inout
natominteger(kind=I4P)inout
niinteger(kind=I4P)in
nivinteger(kind=I4P)inout
iveinteger(kind=I4P)inout
ivainteger(kind=I4P)inout
ivlreal(kind=R8P)inout
ivhreal(kind=R8P)inout

Call graph

join_shared_vertices ​

Attributes: pure

fortran
subroutine join_shared_vertices(nt, pv, pn, mm, key, own, idx, na, parent)

Arguments

NameTypeIntentAttributesDescription
ntinteger(kind=I4P)in
pvreal(kind=R8P)in
pninteger(kind=I4P)in
mminteger(kind=I4P)in
keyreal(kind=R8P)inout
owninteger(kind=I4P)inout
idxinteger(kind=I4P)inout
nainteger(kind=I4P)in
parentinteger(kind=I4P)inout

Call graph

faces_islands ​

Attributes: pure

fortran
subroutine faces_islands(ax, sd, nf, nrm, nt, lst, pv, pfl, pn, mm, su, sv, sp, sc, stouch, na, parent, ni, niv, ive, iva, ivl, ivh, ok)

Arguments

NameTypeIntentAttributesDescription
axinteger(kind=I4P)in
sdinteger(kind=I4P)in
nfinteger(kind=I4P)in
nrmreal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
pvreal(kind=R8P)in
pflinteger(kind=I4P)in
pninteger(kind=I4P)in
mminteger(kind=I4P)in
sureal(kind=R8P)inout
svreal(kind=R8P)inout
spinteger(kind=I4P)inout
scinteger(kind=I4P)inout
stouchinteger(kind=I4P)inout
nainteger(kind=I4P)in
parentinteger(kind=I4P)inout
niinteger(kind=I4P)in
nivinteger(kind=I4P)in
iveinteger(kind=I4P)in
ivainteger(kind=I4P)in
ivlreal(kind=R8P)in
ivhreal(kind=R8P)in
oklogicalinout

Call graph

piece_ids ​

Attributes: pure

fortran
subroutine piece_ids(nf, tri, nrm, nt, lst, c1, pv, pfl, pn, na, natom, parent, touch, vol, ni, niv, ive, iva, ivl, ivh, tgt, pid, nn)

Arguments

NameTypeIntentAttributesDescription
nfinteger(kind=I4P)in
trireal(kind=R8P)in
nrmreal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
c1real(kind=R8P)in
pvreal(kind=R8P)in
pflinteger(kind=I4P)in
pninteger(kind=I4P)in
nainteger(kind=I4P)in
natominteger(kind=I4P)in
parentinteger(kind=I4P)in
touchinteger(kind=I4P)in
volreal(kind=R8P)in
niinteger(kind=I4P)in
nivinteger(kind=I4P)in
iveinteger(kind=I4P)in
ivainteger(kind=I4P)in
ivlreal(kind=R8P)in
ivhreal(kind=R8P)in
tgtinteger(kind=I4P)inout
pidinteger(kind=I4P)inout
nninteger(kind=I4P)out

Call graph

piece_measures ​

fortran
subroutine piece_measures(fill, nf, tri, nrm, nt, lst, c0, c1, nm2, nm3, e2, e3, qd, pv, pfl, pn, na, natom, parent, tgt, pid, ni, niv, ive, iva, ivl, ivh, wt, fa, pm, wvm, wwm, fmm, ns, nfs, fsg, fsf, fsr, nn, qst, wst, qwn, fw, w0, nwo, wpt, wwt)

Arguments

NameTypeIntentAttributesDescription
filllogicalin
nfinteger(kind=I4P)in
trireal(kind=R8P)in
nrmreal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
c0real(kind=R8P)in
c1real(kind=R8P)in
nm2integer(kind=I4P)in
nm3integer(kind=I4P)in
e2integer(kind=I4P)in
e3integer(kind=I4P)in
qdlogicalin
pvreal(kind=R8P)in
pflinteger(kind=I4P)in
pninteger(kind=I4P)in
nainteger(kind=I4P)in
natominteger(kind=I4P)in
parentinteger(kind=I4P)in
tgtinteger(kind=I4P)in
pidinteger(kind=I4P)in
niinteger(kind=I4P)in
nivinteger(kind=I4P)in
iveinteger(kind=I4P)in
ivainteger(kind=I4P)in
ivlreal(kind=R8P)in
ivhreal(kind=R8P)in
wtreal(kind=R8P)inout
fareal(kind=R8P)inout
pmreal(kind=R8P)inout
wvmreal(kind=R8P)inout
wwmreal(kind=R8P)inout
fmmreal(kind=R8P)inout
nsinteger(kind=I4P)in
nfsinteger(kind=I4P)out
fsgreal(kind=R8P)inout
fsfinteger(kind=I4P)inout
fsrinteger(kind=I4P)inout
nninteger(kind=I4P)in
qstinteger(kind=I4P)inout
wstinteger(kind=I4P)inout
qwninteger(kind=I4P)inout
fwinteger(kind=I4P)inout
w0integer(kind=I4P)in
nwointeger(kind=I4P)in
wptreal(kind=R8P)inout
wwtreal(kind=R8P)inout

Call graph

piece_rules ​

Attributes: pure

fortran
subroutine piece_rules(multi, nt, c0, c1, pv, pn, na, parent, tgt, pid, nn, ns, nfs, fsg, fsf, fsr, qst, wst, fq, p0, q0, nqo, qpt, qwt, nqcd, qcnt, wcnt)

Arguments

NameTypeIntentAttributesDescription
multilogicalin
ntinteger(kind=I4P)in
c0real(kind=R8P)in
c1real(kind=R8P)in
pvreal(kind=R8P)in
pninteger(kind=I4P)in
nainteger(kind=I4P)in
parentinteger(kind=I4P)in
tgtinteger(kind=I4P)in
pidinteger(kind=I4P)in
nninteger(kind=I4P)in
nsinteger(kind=I4P)in
nfsinteger(kind=I4P)in
fsgreal(kind=R8P)in
fsfinteger(kind=I4P)in
fsrinteger(kind=I4P)in
qstinteger(kind=I4P)in
wstinteger(kind=I4P)in
fqinteger(kind=I4P)inout
p0integer(kind=I4P)in
q0integer(kind=I4P)in
nqointeger(kind=I4P)in
qptreal(kind=R8P)inout
qwtreal(kind=R8P)inout
nqcdinteger(kind=I4P)in
qcntinteger(kind=I4P)inout
wcntinteger(kind=I4P)inout

Call graph

sort_pierce ​

Attributes: pure

fortran
subroutine sort_pierce(n, pe, pt, pen, pp)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
peinteger(kind=I4P)inout
ptreal(kind=R8P)inout
peninteger(kind=I4P)inout
ppinteger(kind=I4P)inout

Call graph

sort_keys ​

Attributes: pure

fortran
subroutine sort_keys(nr, m, key, idx)

Arguments

NameTypeIntentAttributesDescription
nrinteger(kind=I4P)in
minteger(kind=I4P)in
keyreal(kind=R8P)in
idxinteger(kind=I4P)out

Call graph

sift_keys ​

Attributes: pure

fortran
subroutine sift_keys(nr, m, key, idx, lo, hi)

Arguments

NameTypeIntentAttributesDescription
nrinteger(kind=I4P)in
minteger(kind=I4P)in
keyreal(kind=R8P)in
idxinteger(kind=I4P)inout
lointeger(kind=I4P)in
hiinteger(kind=I4P)in

Call graph

cross3_into ​

Attributes: pure

fortran
subroutine cross3_into(a, b, c)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in
creal(kind=R8P)out

Call graph

volume_moments_k ​

Attributes: pure

fortran
subroutine volume_moments_k(nm3, nm2, wv, fm, fp, hx, e2, e3, m)

Arguments

NameTypeIntentAttributesDescription
nm3integer(kind=I4P)in
nm2integer(kind=I4P)in
wvreal(kind=R8P)in
fmreal(kind=R8P)in
fpreal(kind=R8P)in
hxreal(kind=R8P)in
e2integer(kind=I4P)in
e3integer(kind=I4P)in
mreal(kind=R8P)out

Call graph

single_piece_3d ​

Attributes: pure

fortran
subroutine single_piece_3d(hx, hy, hz, alpha, centroid, wet_area, wet_centroid, wet_normal, fx0, fx1, fy0, fy1, fz0, fz1, pvol, pcen, pwa, pwc, pwn, pfc)

Arguments

NameTypeIntentAttributesDescription
hxreal(kind=R8P)in
hyreal(kind=R8P)in
hzreal(kind=R8P)in
alphareal(kind=R8P)in
centroidreal(kind=R8P)in
wet_areareal(kind=R8P)in
wet_centroidreal(kind=R8P)in
wet_normalreal(kind=R8P)in
fx0real(kind=R8P)in
fx1real(kind=R8P)in
fy0real(kind=R8P)in
fy1real(kind=R8P)in
fz0real(kind=R8P)in
fz1real(kind=R8P)in
pvolreal(kind=R8P)out
pcenreal(kind=R8P)out
pwareal(kind=R8P)out
pwcreal(kind=R8P)out
pwnreal(kind=R8P)out
pfcreal(kind=R8P)out

Call graph

section_face_moments ​

fortran
subroutine section_face_moments(cut, i, j, k, nm2, secm)

Arguments

NameTypeIntentAttributesDescription
cuttype(cut_cells_3d_t)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
kinteger(kind=I4P)in
nm2integer(kind=I4P)in
secmreal(kind=R8P)out

Call graph

face_cones ​

fortran
subroutine face_cones(sec, x, y, z, ic, f, pts, ws, n)

Arguments

NameTypeIntentAttributesDescription
sectype(cut_cells_2d_t)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
icinteger(kind=I4P)in
finteger(kind=I4P)in
ptsreal(kind=R8P)inout
wsreal(kind=R8P)inout
ninteger(kind=I4P)inout

Call graph

fortran
subroutine links_3d(cut, x, y, z, px, py, pz, piv_piece, piv_edge, piv_lo, piv_hi, links)

Arguments

NameTypeIntentAttributesDescription
cuttype(cut_cells_3d_t)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
pxtype(cut_cells_2d_t)in
pytype(cut_cells_2d_t)in
pztype(cut_cells_2d_t)in
piv_pieceinteger(kind=I4P)in
piv_edgeinteger(kind=I4P)in
piv_loreal(kind=R8P)in
piv_hireal(kind=R8P)in
linkstype(cut_links_t)inout

Call graph

fortran
subroutine cut_links_3d_device(cut, inputs, x, y, z, links, resident)

Arguments

NameTypeIntentAttributesDescription
cuttype(cut_cells_3d_t)intarget
inputstype(cut_link_inputs_3d_t)intarget
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
linkstype(cut_links_t)inout
residentlogicalinoptional

Call graph

fortran
subroutine links_3d_dev(nx, ny, nz, np, x, y, z, pcs, fpc, pcell, pfc, fxa, fya, fza, fxp, fyp, fzp, niv, cis, ivp, ive, ivl, ivh, xnp, xnv, xfp, xar, xis, xie, xil, xih, ynp, ynv, yfp, yar, yis, yie, yil, yih, znp, znv, zfp, zar, zis, zie, zil, zih, res, lstart, lpiece, lface, larea, um)

Arguments

NameTypeIntentAttributesDescription
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
nzinteger(kind=I4P)in
npinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
pcsinteger(kind=I4P)in
fpcinteger(kind=I4P)in
pcellinteger(kind=I4P)in
pfcreal(kind=R8P)in
fxareal(kind=R8P)in
fyareal(kind=R8P)in
fzareal(kind=R8P)in
fxpinteger(kind=I4P)in
fypinteger(kind=I4P)in
fzpinteger(kind=I4P)in
nivinteger(kind=I4P)in
cisinteger(kind=I4P)in
ivpinteger(kind=I4P)in
iveinteger(kind=I4P)in
ivlreal(kind=R8P)in
ivhreal(kind=R8P)in
xnpinteger(kind=I4P)in
xnvinteger(kind=I4P)in
xfpinteger(kind=I4P)in
xarreal(kind=R8P)in
xisinteger(kind=I4P)in
xieinteger(kind=I4P)in
xilreal(kind=R8P)in
xihreal(kind=R8P)in
ynpinteger(kind=I4P)in
ynvinteger(kind=I4P)in
yfpinteger(kind=I4P)in
yarreal(kind=R8P)in
yisinteger(kind=I4P)in
yieinteger(kind=I4P)in
yilreal(kind=R8P)in
yihreal(kind=R8P)in
znpinteger(kind=I4P)in
znvinteger(kind=I4P)in
zfpinteger(kind=I4P)in
zarreal(kind=R8P)in
zisinteger(kind=I4P)in
zieinteger(kind=I4P)in
zilreal(kind=R8P)in
zihreal(kind=R8P)in
reslogicalin
lstartinteger(kind=I4P)outallocatable
lpieceinteger(kind=I4P)outallocatable
lfaceinteger(kind=I4P)outallocatable
lareareal(kind=R8P)outallocatable
uminteger(kind=I4P)out

Call graph

Attributes: pure

fortran
subroutine links_face_cell(f, n, base, a, c)

Arguments

NameTypeIntentAttributesDescription
finteger(kind=I4P)in
ninteger(kind=I4P)in
baseinteger(kind=I4P)in
ainteger(kind=I4P)out
cinteger(kind=I4P)out

Call graph

fortran
subroutine links_face_regions_host(sc, a, ic, jc, af, cut, ivs, ivo, piv_edge, piv_lo, piv_hi, nreg, pa, pb, ar, um)

Arguments

NameTypeIntentAttributesDescription
sctype(cut_cells_2d_t)in
ainteger(kind=I4P)in
icinteger(kind=I4P)in
jcinteger(kind=I4P)in
afreal(kind=R8P)in
cuttype(cut_cells_3d_t)in
ivsinteger(kind=I4P)in
ivointeger(kind=I4P)in
piv_edgeinteger(kind=I4P)in
piv_loreal(kind=R8P)in
piv_hireal(kind=R8P)in
nreginteger(kind=I4P)in
painteger(kind=I4P)out
pbinteger(kind=I4P)out
arreal(kind=R8P)out
uminteger(kind=I4P)out

Call graph

Attributes: pure

fortran
subroutine links_face_regions(a, ic, jc, af, npl, fpl, nph, fph, np, piece_face, npiv, ivs, ivo, piv_edge, piv_lo, piv_hi, nu, nv, nreg, rarea, rivs, nsiv, sive, sivl, sivh, pa, pb, ar, um)

Arguments

NameTypeIntentAttributesDescription
ainteger(kind=I4P)in
icinteger(kind=I4P)in
jcinteger(kind=I4P)in
afreal(kind=R8P)in
nplinteger(kind=I4P)in
fplinteger(kind=I4P)in
nphinteger(kind=I4P)in
fphinteger(kind=I4P)in
npinteger(kind=I4P)in
piece_facereal(kind=R8P)in
npivinteger(kind=I4P)in
ivsinteger(kind=I4P)in
ivointeger(kind=I4P)in
piv_edgeinteger(kind=I4P)in
piv_loreal(kind=R8P)in
piv_hireal(kind=R8P)in
nuinteger(kind=I4P)in
nvinteger(kind=I4P)in
nreginteger(kind=I4P)in
rareareal(kind=R8P)in
rivsinteger(kind=I4P)in
nsivinteger(kind=I4P)in
siveinteger(kind=I4P)in
sivlreal(kind=R8P)in
sivhreal(kind=R8P)in
painteger(kind=I4P)out
pbinteger(kind=I4P)out
arreal(kind=R8P)out
uminteger(kind=I4P)out

Call graph

Attributes: pure

fortran
subroutine links_resolve(a, af, npc, fpc, side, np, piece_face, nreg, ar, pr)

Arguments

NameTypeIntentAttributesDescription
ainteger(kind=I4P)in
afreal(kind=R8P)in
npcinteger(kind=I4P)in
fpcinteger(kind=I4P)in
sideinteger(kind=I4P)in
npinteger(kind=I4P)in
piece_facereal(kind=R8P)in
nreginteger(kind=I4P)in
arreal(kind=R8P)in
printeger(kind=I4P)inout

Call graph

edge_fractions ​

fortran
subroutine edge_fractions(surface, x, y, z, cut, all_edges)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
all_edgeslogicalin

Call graph

line_fractions ​

fortran
subroutine line_fractions(surface, axis, a, b, e, frac, inside)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
axisinteger(kind=I4P)in
areal(kind=R8P)in
breal(kind=R8P)in
ereal(kind=R8P)in
fracreal(kind=R8P)outallocatable
insidelogicaloutallocatable

Call graph

cut_cells_3d_device ​

fortran
subroutine cut_cells_3d_device(surface, x, y, z, cut, status, edges, resident, alpha_only, links, walls)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)intarget
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
statusinteger(kind=I4P)outoptional
edgeslogicalinoptional
residentlogicalinoptional
alpha_onlylogicalinoptional
linkstype(cut_links_t)inoutoptional
wallstype(cut_walls_3d_t)inoutoptional

Call graph

cut3_device_core ​

fortran
subroutine cut3_device_core(surface, x, y, z, cut, status, edges, resident, alpha_only, li, walls)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)intarget
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
statusinteger(kind=I4P)outoptional
edgeslogicalinoptional
residentlogicalinoptional
alpha_onlylogicalinoptional
litype(cut_link_inputs_3d_t)inoutoptional
wallstype(cut_walls_3d_t)inoutoptional

Call graph

scan3_dev ​

fortran
subroutine scan3_dev(n, cnt, off, total)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
cntinteger(kind=I4P)in
offinteger(kind=I4P)inout
totalinteger(kind=I4P)out

Call graph

pieces_scan_dev ​

fortran
subroutine pieces_scan_dev(nx, ny, nz, pcs, civ, fpc, ivo, npt, nivt)

Arguments

NameTypeIntentAttributesDescription
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
nzinteger(kind=I4P)in
pcsinteger(kind=I4P)in
civinteger(kind=I4P)in
fpcinteger(kind=I4P)inout
ivointeger(kind=I4P)inout
nptinteger(kind=I4P)out
nivtinteger(kind=I4P)out

Call graph

open_cells_3d ​

fortran
subroutine open_cells_3d(x, y, z, nf, tri, open_cell)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
nfinteger(kind=I4P)in
trireal(kind=R8P)in
open_celllogicaloutallocatable

Call graph

cut_cells_3d_reset ​

fortran
subroutine cut_cells_3d_reset(cut)

Arguments

NameTypeIntentAttributesDescription
cuttype(cut_cells_3d_t)inout

Call graph

mark_resident ​

fortran
subroutine mark_resident(cut)

Arguments

NameTypeIntentAttributesDescription
cuttype(cut_cells_3d_t)inout

Call graph

cut3_enter_device ​

fortran
subroutine cut3_enter_device(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_cells_3d_t)inout

Call graph

cut3_update_host ​

fortran
subroutine cut3_update_host(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_cells_3d_t)inout

Call graph

cut3_exit_device ​

fortran
subroutine cut3_exit_device(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_cells_3d_t)inout

Call graph

walls_take ​

fortran
subroutine walls_take(walls, nwt, wcs, wpc, wfc, wav, wwa, wcen, res)

Arguments

NameTypeIntentAttributesDescription
wallstype(cut_walls_3d_t)inout
nwtinteger(kind=I4P)in
wcsinteger(kind=I4P)inoutallocatable
wpcinteger(kind=I4P)inoutallocatable
wfcinteger(kind=I4P)inoutallocatable
wavreal(kind=R8P)inoutallocatable
wwareal(kind=R8P)inoutallocatable
wcenreal(kind=R8P)inoutallocatable
reslogicalin

Call graph

cut_walls_reset ​

fortran
subroutine cut_walls_reset(walls)

Arguments

NameTypeIntentAttributesDescription
wallstype(cut_walls_3d_t)inout

Call graph

walls_enter_device ​

fortran
subroutine walls_enter_device(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_walls_3d_t)inout

Call graph

walls_update_host ​

fortran
subroutine walls_update_host(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_walls_3d_t)inout

Call graph

walls_exit_device ​

fortran
subroutine walls_exit_device(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_walls_3d_t)inout

Call graph

fortran
subroutine cut_cells_3d_link_inputs_device(surface, x, y, z, cut, inputs, status, edges, resident)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)intarget
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
inputstype(cut_link_inputs_3d_t)inout
statusinteger(kind=I4P)outoptional
edgeslogicalinoptional
residentlogicalinoptional

Call graph

fortran
subroutine cut_cells_3d_link_inputs(surface, x, y, z, cut, px, py, pz, piv_piece, piv_edge, piv_lo, piv_hi, status, edges)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
pxtype(cut_cells_2d_t)outallocatable
pytype(cut_cells_2d_t)outallocatable
pztype(cut_cells_2d_t)outallocatable
piv_pieceinteger(kind=I4P)outallocatable
piv_edgeinteger(kind=I4P)outallocatable
piv_loreal(kind=R8P)outallocatable
piv_hireal(kind=R8P)outallocatable
statusinteger(kind=I4P)outoptional
edgeslogicalinoptional

Call graph

fortran
subroutine link_inputs_reset(li)

Arguments

NameTypeIntentAttributesDescription
litype(cut_link_inputs_3d_t)inout

Call graph

fortran
subroutine link_inputs_update_host(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_link_inputs_3d_t)inout

Call graph

fortran
subroutine link_inputs_exit_device(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_link_inputs_3d_t)inout

Call graph

cut_cells_3d_nodes ​

fortran
subroutine cut_cells_3d_nodes(surface, x, y, z, node_in, status)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
node_inlogicaloutallocatable
statusinteger(kind=I4P)outoptional

Call graph

cut_cells_3d_nodes_device ​

fortran
subroutine cut_cells_3d_nodes_device(surface, x, y, z, node_in, edge_x, edge_y, edge_z, edges, status)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)intarget
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
node_inlogicaloutallocatable
edge_xreal(kind=R8P)outallocatable
edge_yreal(kind=R8P)outallocatable
edge_zreal(kind=R8P)outallocatable
edgeslogicalinoptional
statusinteger(kind=I4P)outoptional

Call graph

cut_cells_3d_nodes_present ​

fortran
subroutine cut_cells_3d_nodes_present(surface, x, y, z, node_in)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)intarget
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
node_inlogicalinout

Call graph

cut_cells_3d_nodes_tree_present ​

fortran
subroutine cut_cells_3d_nodes_tree_present(node, payload, tv, x, y, z, node_in)

Arguments

NameTypeIntentAttributesDescription
nodetype(aabb_node_object)in
payloadtype(facet_distance_payload)in
tvreal(kind=R8P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
node_inlogicalinout

Call graph

cut_cells_3d_nodes_tree ​

fortran
subroutine cut_cells_3d_nodes_tree(node, payload, tv, x, y, z, node_in)

Arguments

NameTypeIntentAttributesDescription
nodetype(aabb_node_object)in
payloadtype(facet_distance_payload)in
tvreal(kind=R8P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
node_inlogicalinout

Call graph

device_grid_check ​

fortran
subroutine device_grid_check(surface, x, y, z, nx, ny, nz, status)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
nxinteger(kind=I4P)out
nyinteger(kind=I4P)out
nzinteger(kind=I4P)out
statusinteger(kind=I4P)out

Call graph

edge_fractions_dev ​

fortran
subroutine edge_fractions_dev(node, payload, tv, x, y, z, nx, ny, nz, all_edges, node_in, edge_x, edge_y, edge_z)

Arguments

NameTypeIntentAttributesDescription
nodetype(aabb_node_object)in
payloadtype(facet_distance_payload)in
tvreal(kind=R8P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
nzinteger(kind=I4P)in
all_edgeslogicalin
node_inlogicalinout
edge_xreal(kind=R8P)inout
edge_yreal(kind=R8P)inout
edge_zreal(kind=R8P)inout

Call graph

lines_dev ​

fortran
subroutine lines_dev(node, payload, tv, axis, ga, gb, e, na, nb, ns, lfr, lin)

Arguments

NameTypeIntentAttributesDescription
nodetype(aabb_node_object)in
payloadtype(facet_distance_payload)in
tvreal(kind=R8P)in
axisinteger(kind=I4P)in
gareal(kind=R8P)in
gbreal(kind=R8P)in
ereal(kind=R8P)in
nainteger(kind=I4P)in
nbinteger(kind=I4P)in
nsinteger(kind=I4P)in
lfrreal(kind=R8P)inout
linlogicalinout

Call graph

scan_dev ​

fortran
subroutine scan_dev(n, cnt, off, total)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
cntinteger(kind=I4P)in
offinteger(kind=I4P)inout
totalinteger(kind=I4P)out

Call graph

line_fractions_oac ​

fortran
subroutine line_fractions_oac(node, payload, tv, axis, a, b, ns, e, nc, ts, ids, es, seg, frac, inside)

Arguments

NameTypeIntentAttributesDescription
nodetype(aabb_node_object)in
payloadtype(facet_distance_payload)in
tvreal(kind=R8P)in
axisinteger(kind=I4P)in
areal(kind=R8P)in
breal(kind=R8P)in
nsinteger(kind=I4P)in
ereal(kind=R8P)in
ncinteger(kind=I4P)in
tsreal(kind=R8P)inout
idsinteger(kind=I4P)inout
eslogicalinout
seginteger(kind=I4P)inout
fracreal(kind=R8P)out
insidelogicalout

Call graph

cut_wall_polygon_3d ​

Attributes: pure

fortran
subroutine cut_wall_polygon_3d(t, c0, c1, poly, np)

Arguments

NameTypeIntentAttributesDescription
treal(kind=R8P)in
c0real(kind=R8P)in
c1real(kind=R8P)in
polyreal(kind=R8P)out
npinteger(kind=I4P)out

Call graph

clip_cell ​

Attributes: pure

fortran
subroutine clip_cell(p, n, c0, c1, first)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)inout
ninteger(kind=I4P)inout
c0real(kind=R8P)in
c1real(kind=R8P)in
firstinteger(kind=I4P)in

Call graph

clip_cell_flags ​

Attributes: pure

fortran
subroutine clip_cell_flags(p, fl, n, c0, c1, first)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)inout
flinteger(kind=I4P)inout
ninteger(kind=I4P)inout
c0real(kind=R8P)in
c1real(kind=R8P)in
firstinteger(kind=I4P)in

Call graph

clip_flags ​

Attributes: pure

fortran
subroutine clip_flags(p, fl, n, ax, level, keep_above, bit)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)inout
flinteger(kind=I4P)inout
ninteger(kind=I4P)inout
axinteger(kind=I4P)in
levelreal(kind=R8P)in
keep_abovelogicalin
bitinteger(kind=I4P)in

Call graph

tri_terms ​

Attributes: pure

fortran
subroutine tri_terms(p1, p2, p3, a)

Arguments

NameTypeIntentAttributesDescription
p1real(kind=R8P)in
p2real(kind=R8P)in
p3real(kind=R8P)in
areal(kind=R8P)inout

Call graph

clip_poly ​

Attributes: pure

fortran
subroutine clip_poly(p, n, ax, level, keep_above)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)inout
ninteger(kind=I4P)inout
axinteger(kind=I4P)in
levelreal(kind=R8P)in
keep_abovelogicalin

Call graph

sections_host ​

fortran
subroutine sections_host(surface, x, y, z, cut, wlinks, mo, qd, nm2, px, py, pz)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
wlinkslogicalin
mointeger(kind=I4P)in
qdlogicalin
nm2integer(kind=I4P)in
pxtype(cut_cells_2d_t)inoutallocatable
pytype(cut_cells_2d_t)inoutallocatable
pztype(cut_cells_2d_t)inoutallocatable

Call graph

cut_cells_3d_sections ​

fortran
subroutine cut_cells_3d_sections(surface, x, y, z, cut, device, status, pose)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
devicelogicalinoptional
statusinteger(kind=I4P)outoptional
posetype(rigid_pose_t)inoptional

Call graph

sections_device ​

fortran
subroutine sections_device(surface, x, y, z, cut, pose)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cuttype(cut_cells_3d_t)inout
posetype(rigid_pose_t)inoptional

Call graph

sections_axis_device ​

fortran
subroutine sections_axis_device(surface, axis, lv, ga, gb, n1, n2, n3, face, fcen, fpcs, fcls, keep, full, pose, sec)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
axisinteger(kind=I4P)in
lvreal(kind=R8P)in
gareal(kind=R8P)in
gbreal(kind=R8P)in
n1integer(kind=I4P)in
n2integer(kind=I4P)in
n3integer(kind=I4P)in
facereal(kind=R8P)outallocatable
fcenreal(kind=R8P)outallocatable
fpcsinteger(kind=I4P)outallocatable
fclslogicaloutallocatable
keeplogicalin
fulllogicalin
posetype(rigid_pose_t)inoptional
sectype(cut_cells_2d_blocks_t)inoutoptional

Call graph

faces_of_blocks ​

fortran
subroutine faces_of_blocks(cb, axis, lv, nb, n1, n2, n3, keep, full, fa, fc, fp, fl)

Arguments

NameTypeIntentAttributesDescription
cbtype(cut_cells_2d_blocks_t)in
axisinteger(kind=I4P)in
lvreal(kind=R8P)in
nbinteger(kind=I4P)in
n1integer(kind=I4P)in
n2integer(kind=I4P)in
n3integer(kind=I4P)in
keeplogicalin
fulllogicalin
fareal(kind=R8P)outallocatable
fcreal(kind=R8P)outallocatable
fpinteger(kind=I4P)outallocatable
fllogicaloutallocatable

Call graph

posed_spans ​

fortran
subroutine posed_spans(surface, axis, pose, sp)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
axisinteger(kind=I4P)in
posetype(rigid_pose_t)in
spreal(kind=R8P)outallocatable

Call graph

scatter_sections ​

fortran
subroutine scatter_sections(axis, nu, nv, nb, lv, alpha, cen, pcs, cls, n1, n2, n3, fa, fc, fp, fl)

Arguments

NameTypeIntentAttributesDescription
axisinteger(kind=I4P)in
nuinteger(kind=I4P)in
nvinteger(kind=I4P)in
nbinteger(kind=I4P)in
lvreal(kind=R8P)in
alphareal(kind=R8P)in
cenreal(kind=R8P)in
pcsinteger(kind=I4P)in
clslogicalin
n1integer(kind=I4P)in
n2integer(kind=I4P)in
n3integer(kind=I4P)in
fareal(kind=R8P)out
fcreal(kind=R8P)out
fpinteger(kind=I4P)out
fllogicalout

Call graph

scatter_fractions ​

fortran
subroutine scatter_fractions(axis, nu, nv, nb, alpha, cls, n1, n2, n3, fa, fl)

Arguments

NameTypeIntentAttributesDescription
axisinteger(kind=I4P)in
nuinteger(kind=I4P)in
nvinteger(kind=I4P)in
nbinteger(kind=I4P)in
alphareal(kind=R8P)in
clslogicalin
n1integer(kind=I4P)in
n2integer(kind=I4P)in
n3integer(kind=I4P)in
fareal(kind=R8P)out
fllogicalout

Call graph

Functions ​

atom_piece ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function atom_piece(a, nt, na, parent, tgt, pid) result(p)

Arguments

NameTypeIntentAttributesDescription
ainteger(kind=I4P)in
ntinteger(kind=I4P)in
nainteger(kind=I4P)in
parentinteger(kind=I4P)in
tgtinteger(kind=I4P)in
pidinteger(kind=I4P)in

Call graph

uf_find ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function uf_find(na, parent, i) result(r)

Arguments

NameTypeIntentAttributesDescription
nainteger(kind=I4P)in
parentinteger(kind=I4P)in
iinteger(kind=I4P)in

Call graph

inclusion_target ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function inclusion_target(ri, nf, tri, nrm, nt, lst, c1, pv, pfl, pn, na, parent, ni, niv, ive, iva, ivl, ivh) result(tr)

Arguments

NameTypeIntentAttributesDescription
riinteger(kind=I4P)in
nfinteger(kind=I4P)in
trireal(kind=R8P)in
nrmreal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in
c1real(kind=R8P)in
pvreal(kind=R8P)in
pflinteger(kind=I4P)in
pninteger(kind=I4P)in
nainteger(kind=I4P)in
parentinteger(kind=I4P)in
niinteger(kind=I4P)in
nivinteger(kind=I4P)in
iveinteger(kind=I4P)in
ivainteger(kind=I4P)in
ivlreal(kind=R8P)in
ivhreal(kind=R8P)in

Call graph

across_crosses ​

Attributes: pure

Returns: logical

fortran
function across_crosses(fi, ax, lev, nf, tri, nt, lst) result(yes)

Arguments

NameTypeIntentAttributesDescription
fiinteger(kind=I4P)in
axinteger(kind=I4P)in
levreal(kind=R8P)in
nfinteger(kind=I4P)in
trireal(kind=R8P)in
ntinteger(kind=I4P)in
lstinteger(kind=I4P)in

Call graph

key_less ​

Attributes: pure

Returns: logical

fortran
function key_less(nr, m, key, a, b) result(less)

Arguments

NameTypeIntentAttributesDescription
nrinteger(kind=I4P)in
minteger(kind=I4P)in
keyreal(kind=R8P)in
ainteger(kind=I4P)in
binteger(kind=I4P)in

Call graph

norm2_3 ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function norm2_3(v) result(r)

Arguments

NameTypeIntentAttributesDescription
vreal(kind=R8P)in

Call graph

split_closes ​

Attributes: pure

Returns: logical

fortran
function split_closes(np, pm, h, alpha, faces) result(ok)

Arguments

NameTypeIntentAttributesDescription
npinteger(kind=I4P)in
pmreal(kind=R8P)in
hreal(kind=R8P)in
alphareal(kind=R8P)in
facesreal(kind=R8P)in

Call graph

section_cones_count ​

Returns: integer(kind=i4p)

fortran
function section_cones_count(px, py, pz, i, j, k) result(n)

Arguments

NameTypeIntentAttributesDescription
pxtype(cut_cells_2d_t)in
pytype(cut_cells_2d_t)in
pztype(cut_cells_2d_t)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
kinteger(kind=I4P)in

Call graph

Attributes: pure

Returns: integer(kind=i4p)

fortran
function links_face_capacity(pl, ph, fr, nreg) result(cap)

Arguments

NameTypeIntentAttributesDescription
plinteger(kind=I4P)in
phinteger(kind=I4P)in
frreal(kind=R8P)in
nreginteger(kind=I4P)in

Call graph

Attributes: pure

Returns: integer(kind=i4p)

fortran
function links_side_piece(a, cc, npc, fpc, sd, t0, t1, nu, nv, nsiv, sive, sivl, sivh, np, npiv, ivs, ivo, piv_edge, piv_lo, piv_hi) result(pq)

Arguments

NameTypeIntentAttributesDescription
ainteger(kind=I4P)in
ccinteger(kind=I4P)in
npcinteger(kind=I4P)in
fpcinteger(kind=I4P)in
sdinteger(kind=I4P)in
t0integer(kind=I4P)in
t1integer(kind=I4P)in
nuinteger(kind=I4P)in
nvinteger(kind=I4P)in
nsivinteger(kind=I4P)in
siveinteger(kind=I4P)in
sivlreal(kind=R8P)in
sivhreal(kind=R8P)in
npinteger(kind=I4P)in
npivinteger(kind=I4P)in
ivsinteger(kind=I4P)in
ivointeger(kind=I4P)in
piv_edgeinteger(kind=I4P)in
piv_loreal(kind=R8P)in
piv_hireal(kind=R8P)in

Call graph

section_moments ​

Returns: real(kind=R8P)

fortran
function section_moments(c2, iu, iv, nm2) result(m)

Arguments

NameTypeIntentAttributesDescription
c2type(cut_cells_2d_t)in
iuinteger(kind=I4P)in
ivinteger(kind=I4P)in
nm2integer(kind=I4P)in

Call graph

host_key ​

Returns: integer(kind=c_intptr_t)

fortran
function host_key(cut) result(key)

Arguments

NameTypeIntentAttributesDescription
cuttype(cut_cells_3d_t)intarget

Call graph

is_alpha_only ​

Returns: logical

fortran
function is_alpha_only(self)

Arguments

NameTypeIntentAttributesDescription
selftype(cut_cells_3d_t)in

Call graph

is_mapped ​

Returns: logical

fortran
function is_mapped(self)

Arguments

NameTypeIntentAttributesDescription
selftype(cut_cells_3d_t)in

Call graph

walls_host_key ​

Returns: integer(kind=c_intptr_t)

fortran
function walls_host_key(walls) result(key)

Arguments

NameTypeIntentAttributesDescription
wallstype(cut_walls_3d_t)intarget

Call graph

walls_is_mapped ​

Returns: logical

fortran
function walls_is_mapped(self)

Arguments

NameTypeIntentAttributesDescription
selftype(cut_walls_3d_t)in

Call graph

col_index ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function col_index(w, e) result(k)

Arguments

NameTypeIntentAttributesDescription
wreal(kind=R8P)in
ereal(kind=R8P)in

Call graph

edge_index ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function edge_index(k, sides)

Arguments

NameTypeIntentAttributesDescription
kinteger(kind=I4P)in
sidesinteger(kind=I4P)in

Call graph

corner_of ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function corner_of(e, side)

Arguments

NameTypeIntentAttributesDescription
einteger(kind=I4P)in
sideinteger(kind=I4P)in

Call graph

edge_of ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function edge_of(fl)

Arguments

NameTypeIntentAttributesDescription
flinteger(kind=I4P)in

Call graph

lexless ​

Attributes: pure

Returns: logical

fortran
function lexless(a, b)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in

Call graph

cross3 ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function cross3(a, b) result(c)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in

Call graph

flat_axis ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function flat_axis(t)

Arguments

NameTypeIntentAttributesDescription
treal(kind=R8P)in

Call graph

col_of ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function col_of(w, e)

Arguments

NameTypeIntentAttributesDescription
wreal(kind=R8P)in
ereal(kind=R8P)in

Call graph