Skip to content

fossil_cut_cells_2d ​

Source: src/lib/fossil_cut_cells_2d.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
SCAN_SEGinteger(kind=I4P)parameter
SCAN_SUPinteger(kind=I4P)parameter
NHDRinteger(kind=I4P)parameter

Derived Types ​

cut_cells_2d_t ​

Components

NameTypeAttributesDescription
nxinteger(kind=I4P)
nyinteger(kind=I4P)
alphareal(kind=R8P)allocatable
aperturereal(kind=R8P)allocatable
centroidreal(kind=R8P)allocatable
wet_lengthreal(kind=R8P)allocatable
wet_centroidreal(kind=R8P)allocatable
wet_normalreal(kind=R8P)allocatable
piecesinteger(kind=I4P)allocatable
first_pieceinteger(kind=I4P)allocatable
closedlogicalallocatable
npinteger(kind=I4P)
piece_cellinteger(kind=I4P)allocatable
piece_areareal(kind=R8P)allocatable
piece_centroidreal(kind=R8P)allocatable
piece_wet_lengthreal(kind=R8P)allocatable
piece_wet_normalreal(kind=R8P)allocatable
piece_aperturereal(kind=R8P)allocatable
piece_iv_startinteger(kind=I4P)allocatable
piece_iv_edgeinteger(kind=I4P)allocatable
piece_iv_loreal(kind=R8P)allocatable
piece_iv_hireal(kind=R8P)allocatable
node_inlogicalallocatable
moments_orderinteger(kind=I4P)
piece_momentsreal(kind=R8P)allocatable
piece_wall_momentsreal(kind=R8P)allocatable
piece_seg_startinteger(kind=I4P)allocatable
piece_segreal(kind=R8P)allocatable
piece_seg_walllogicalallocatable
piece_seg_srcinteger(kind=I4P)allocatable
quad_startinteger(kind=I4P)allocatable
quad_pointreal(kind=R8P)allocatable
quad_weightreal(kind=R8P)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)

cut_cells_2d_blocks_t ​

Components

NameTypeAttributesDescription
nxinteger(kind=I4P)
nyinteger(kind=I4P)
nbinteger(kind=I4P)
closedlogicalallocatable
alphareal(kind=R8P)allocatable
aperturereal(kind=R8P)allocatable
centroidreal(kind=R8P)allocatable
wet_lengthreal(kind=R8P)allocatable
wet_centroidreal(kind=R8P)allocatable
wet_normalreal(kind=R8P)allocatable
piecesinteger(kind=I4P)allocatable
node_inlogicalallocatable
with_pieceslogical
first_pieceinteger(kind=I4P)allocatable
block_pieceinteger(kind=I4P)allocatable
block_ivinteger(kind=I4P)allocatable
npinteger(kind=I4P)
piece_cellinteger(kind=I4P)allocatable
piece_areareal(kind=R8P)allocatable
piece_centroidreal(kind=R8P)allocatable
piece_wet_lengthreal(kind=R8P)allocatable
piece_wet_normalreal(kind=R8P)allocatable
piece_aperturereal(kind=R8P)allocatable
piece_iv_startinteger(kind=I4P)allocatable
piece_iv_edgeinteger(kind=I4P)allocatable
piece_iv_loreal(kind=R8P)allocatable
piece_iv_hireal(kind=R8P)allocatable
on_devicelogical

Type-Bound Procedures

NameAttributesDescription
update_hostpass(self)
exit_devicepass(self)

block_prep_t ​

Components

NameTypeAttributesDescription
nxsinteger(kind=I4P)
npsinteger(kind=I4P)
rstartinteger(kind=I4P)allocatable
rseginteger(kind=I4P)allocatable
xstartinteger(kind=I4P)allocatable
xordinteger(kind=I4P)allocatable
pstartinteger(kind=I4P)allocatable
pordinteger(kind=I4P)allocatable
xpreal(kind=R8P)allocatable
pabreal(kind=R8P)allocatable
ptginteger(kind=I4P)allocatable

xing_t ​

Components

NameTypeAttributesDescription
edgeinteger(kind=I4P)
posreal(kind=R8P)
seginteger(kind=I4P)
preal(kind=R8P)

piece_t ​

Components

NameTypeAttributesDescription
cellinteger(kind=I4P)
seginteger(kind=I4P)
areal(kind=R8P)
breal(kind=R8P)
tainteger(kind=I4P)
tbinteger(kind=I4P)

Interfaces ​

take ​

Module procedures: take_l2, take_i1, take_i2, take_r1, take_r2, take_r3

Subroutines ​

compute_cut_cells_2d ​

fortran
subroutine compute_cut_cells_2d(u, v, next, x, y, cc, status, with_iv, order, with_bnd, with_quad)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
cctype(cut_cells_2d_t)inout
statusinteger(kind=I4P)out
with_ivlogicalin
orderinteger(kind=I4P)in
with_bndlogicalin
with_quadlogicalin

Call graph

compute_cut_cells_2d_device ​

fortran
subroutine compute_cut_cells_2d_device(u, v, next, x, y, cc, status, with_iv, resident)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
cctype(cut_cells_2d_t)inout
statusinteger(kind=I4P)out
with_ivlogicalin
residentlogicalinoptional

Call graph

compute_cut_cells_2d_blocks_device ​

fortran
subroutine compute_cut_cells_2d_blocks_device(nbk, vstart, u, v, next, x, y, cb, status, with_iv, with_pieces, resident)

Arguments

NameTypeIntentAttributesDescription
nbkinteger(kind=I4P)in
vstartinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
cbtype(cut_cells_2d_blocks_t)inout
statusinteger(kind=I4P)out
with_ivlogicalin
with_pieceslogicalin
residentlogicalinoptional

Call graph

compute_cut_cells_2d_blocks_grids_device ​

fortran
subroutine compute_cut_cells_2d_blocks_grids_device(nbk, vstart, u, v, next, x, y, cb, status, with_iv, with_pieces, resident)

Arguments

NameTypeIntentAttributesDescription
nbkinteger(kind=I4P)in
vstartinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
cbtype(cut_cells_2d_blocks_t)inout
statusinteger(kind=I4P)out
with_ivlogicalin
with_pieceslogicalin
residentlogicalinoptional

Call graph

cut_cells_2d_blocks_core ​

fortran
subroutine cut_cells_2d_blocks_core(nbk, ngr, vstart, u, v, next, nx, ny, xg, yg, cb, with_iv, with_pieces, resident)

Arguments

NameTypeIntentAttributesDescription
nbkinteger(kind=I4P)in
ngrinteger(kind=I4P)in
vstartinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
xgreal(kind=R8P)in
ygreal(kind=R8P)in
cbtype(cut_cells_2d_blocks_t)inout
with_ivlogicalin
with_pieceslogicalin
residentlogicalinoptional

Call graph

cut_cells_2d_classify_blocks_dev ​

fortran
subroutine cut_cells_2d_classify_blocks_dev(nx, ny, ne, ncell, nbk, xstart, pstart, node_in, ckind, ncut, cutc, rwo, iwo, nrw_tot, niw_tot)

Arguments

NameTypeIntentAttributesDescription
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
neinteger(kind=I4P)in
ncellinteger(kind=I4P)in
nbkinteger(kind=I4P)in
xstartinteger(kind=I4P)in
pstartinteger(kind=I4P)in
node_inlogicalin
ckindinteger(kind=I4P)outallocatable
ncutinteger(kind=I4P)out
cutcinteger(kind=I4P)outallocatable
rwointeger(kind=I4P)outallocatable
iwointeger(kind=I4P)outallocatable
nrw_totinteger(kind=I4P)out
niw_totinteger(kind=I4P)out

Call graph

cut_cells_2d_blocks_reset ​

fortran
subroutine cut_cells_2d_blocks_reset(cb)

Arguments

NameTypeIntentAttributesDescription
cbtype(cut_cells_2d_blocks_t)inout

Call graph

blocks_update_host ​

fortran
subroutine blocks_update_host(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_cells_2d_blocks_t)inout

blocks_exit_device ​

fortran
subroutine blocks_exit_device(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_cells_2d_blocks_t)inout

cut_cells_2d_reset ​

fortran
subroutine cut_cells_2d_reset(cc)

Arguments

NameTypeIntentAttributesDescription
cctype(cut_cells_2d_t)inout

Call graph

take_l2 ​

fortran
subroutine take_l2(src, dst, n1, n2)

Arguments

NameTypeIntentAttributesDescription
srclogicalinoutallocatable
dstlogicaloutallocatable
n1integer(kind=I4P)in
n2integer(kind=I4P)in

take_i1 ​

fortran
subroutine take_i1(src, dst, n1)

Arguments

NameTypeIntentAttributesDescription
srcinteger(kind=I4P)inoutallocatable
dstinteger(kind=I4P)outallocatable
n1integer(kind=I4P)in

take_i2 ​

fortran
subroutine take_i2(src, dst, n1, n2)

Arguments

NameTypeIntentAttributesDescription
srcinteger(kind=I4P)inoutallocatable
dstinteger(kind=I4P)outallocatable
n1integer(kind=I4P)in
n2integer(kind=I4P)in

take_r1 ​

fortran
subroutine take_r1(src, dst, n1)

Arguments

NameTypeIntentAttributesDescription
srcreal(kind=R8P)inoutallocatable
dstreal(kind=R8P)outallocatable
n1integer(kind=I4P)in

take_r2 ​

fortran
subroutine take_r2(src, dst, n1, n2)

Arguments

NameTypeIntentAttributesDescription
srcreal(kind=R8P)inoutallocatable
dstreal(kind=R8P)outallocatable
n1integer(kind=I4P)in
n2integer(kind=I4P)in

take_r3 ​

fortran
subroutine take_r3(src, dst, n1, n2, n3)

Arguments

NameTypeIntentAttributesDescription
srcreal(kind=R8P)inoutallocatable
dstreal(kind=R8P)outallocatable
n1integer(kind=I4P)in
n2integer(kind=I4P)in
n3integer(kind=I4P)in

mark_resident ​

fortran
subroutine mark_resident(cc)

Arguments

NameTypeIntentAttributesDescription
cctype(cut_cells_2d_t)inout

Call graph

enter_device ​

fortran
subroutine enter_device(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_cells_2d_t)inout

Call graph

update_host ​

fortran
subroutine update_host(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_cells_2d_t)inout

Call graph

exit_device ​

fortran
subroutine exit_device(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(cut_cells_2d_t)inout

Call graph

cut_cells_2d_grid ​

fortran
subroutine cut_cells_2d_grid(x, y, nx, ny, status)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
yreal(kind=R8P)in
nxinteger(kind=I4P)out
nyinteger(kind=I4P)out
statusinteger(kind=I4P)out

Call graph

cut_cells_2d_prepare ​

fortran
subroutine cut_cells_2d_prepare(u, v, next, x, y, nx, ny, ne, ncell, nxs, nps, xstart, xord, pstart, pord, xp, pab, ptg, pseg)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
neinteger(kind=I4P)out
ncellinteger(kind=I4P)out
nxsinteger(kind=I4P)out
npsinteger(kind=I4P)out
xstartinteger(kind=I4P)outallocatable
xordinteger(kind=I4P)outallocatable
pstartinteger(kind=I4P)outallocatable
pordinteger(kind=I4P)outallocatable
xpreal(kind=R8P)outallocatable
pabreal(kind=R8P)outallocatable
ptginteger(kind=I4P)outallocatable
pseginteger(kind=I4P)outallocatable, optional

Call graph

cut_cells_2d_classify ​

fortran
subroutine cut_cells_2d_classify(nx, ny, ne, ncell, xstart, pstart, node_in, nm, ckind, ncut, cutc, rwo, iwo)

Arguments

NameTypeIntentAttributesDescription
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
neinteger(kind=I4P)in
ncellinteger(kind=I4P)in
xstartinteger(kind=I4P)in
pstartinteger(kind=I4P)in
node_inlogicalin
nminteger(kind=I4P)in
ckindinteger(kind=I4P)outallocatable
ncutinteger(kind=I4P)out
cutcinteger(kind=I4P)outallocatable
rwointeger(kind=I4P)outallocatable
iwointeger(kind=I4P)outallocatable

Call graph

cut_cells_2d_scan ​

fortran
subroutine cut_cells_2d_scan(nx, ny, ncell, ckind, ncut, cnt, with_iv, with_bnd, first_piece, ivo, bdo, np, niv, nbd)

Arguments

NameTypeIntentAttributesDescription
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
ncellinteger(kind=I4P)in
ckindinteger(kind=I4P)in
ncutinteger(kind=I4P)in
cntinteger(kind=I4P)in
with_ivlogicalin
with_bndlogicalin
first_pieceinteger(kind=I4P)out
ivointeger(kind=I4P)out
bdointeger(kind=I4P)out
npinteger(kind=I4P)out
nivinteger(kind=I4P)out
nbdinteger(kind=I4P)out

Call graph

cut_cells_2d_classify_dev ​

fortran
subroutine cut_cells_2d_classify_dev(nx, ny, ne, ncell, xstart, pstart, node_in, nm, ckind, ncut, cutc, rwo, iwo, nrw_tot, niw_tot, seg)

Arguments

NameTypeIntentAttributesDescription
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
neinteger(kind=I4P)in
ncellinteger(kind=I4P)in
xstartinteger(kind=I4P)in
pstartinteger(kind=I4P)in
node_inlogicalin
nminteger(kind=I4P)in
ckindinteger(kind=I4P)outallocatable
ncutinteger(kind=I4P)out
cutcinteger(kind=I4P)outallocatable
rwointeger(kind=I4P)outallocatable
iwointeger(kind=I4P)outallocatable
nrw_totinteger(kind=I4P)out
niw_totinteger(kind=I4P)out
seginteger(kind=I4P)inoptional

Call graph

cut_cells_2d_scan_dev ​

fortran
subroutine cut_cells_2d_scan_dev(nx, ny, ncell, ckind, ncut, cnt, with_iv, with_bnd, first_piece, ivo, bdo, np, niv, nbd, seg)

Arguments

NameTypeIntentAttributesDescription
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
ncellinteger(kind=I4P)in
ckindinteger(kind=I4P)in
ncutinteger(kind=I4P)in
cntinteger(kind=I4P)in
with_ivlogicalin
with_bndlogicalin
first_pieceinteger(kind=I4P)out
ivointeger(kind=I4P)out
bdointeger(kind=I4P)out
npinteger(kind=I4P)out
nivinteger(kind=I4P)out
nbdinteger(kind=I4P)out
seginteger(kind=I4P)inoptional

Call graph

chunk_offsets_dev ​

fortran
subroutine chunk_offsets_dev(nch, base, tot, sums)

Arguments

NameTypeIntentAttributesDescription
nchinteger(kind=I4P)in
baseinteger(kind=I4P)in
totinteger(kind=I4P)inout
sumsinteger(kind=I4P)out

Call graph

cell_edge_ids ​

Attributes: pure

fortran
subroutine cell_edge_ids(nx, ny, i, j, eid)

Arguments

NameTypeIntentAttributesDescription
nxinteger(kind=I4P)in
nyinteger(kind=I4P)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
eidinteger(kind=I4P)out

Call graph

cut_cell_2d_sizes ​

Attributes: pure

fortran
subroutine cut_cell_2d_sizes(nxc, nb, nm, nrw, niw)

Arguments

NameTypeIntentAttributesDescription
nxcinteger(kind=I4P)in
nbinteger(kind=I4P)in
nminteger(kind=I4P)in
nrwinteger(kind=I4P)out
niwinteger(kind=I4P)out

Call graph

cut_cell_2d_layout ​

Attributes: pure

fortran
subroutine cut_cell_2d_layout(nxc, nb, nm, ro, io)

Arguments

NameTypeIntentAttributesDescription
nxcinteger(kind=I4P)in
nbinteger(kind=I4P)in
nminteger(kind=I4P)in
rointeger(kind=I4P)out
iointeger(kind=I4P)out

Call graph

cut_cell_2d_count ​

fortran
subroutine cut_cell_2d_count(x0, x1, y0, y1, f00, f10, f11, f01, eid, ne, nxs, xstart, xord, xp, nb, pofs, nps, pord, pab, ptg, nsg, pseg, nm, me, with_iv, with_bnd, nrw, rw, niw, iw, closed, alpha, aperture, centroid, wet_length, wet_centroid, wet_normal, npieces, nivc, nbdc)

Arguments

NameTypeIntentAttributesDescription
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
f00logicalin
f10logicalin
f11logicalin
f01logicalin
eidinteger(kind=I4P)in
neinteger(kind=I4P)in
nxsinteger(kind=I4P)in
xstartinteger(kind=I4P)in
xordinteger(kind=I4P)in
xpreal(kind=R8P)in
nbinteger(kind=I4P)in
pofsinteger(kind=I4P)in
npsinteger(kind=I4P)in
pordinteger(kind=I4P)in
pabreal(kind=R8P)in
ptginteger(kind=I4P)in
nsginteger(kind=I4P)in
pseginteger(kind=I4P)in
nminteger(kind=I4P)in
meinteger(kind=I4P)in
with_ivlogicalin
with_bndlogicalin
nrwinteger(kind=I4P)in
rwreal(kind=R8P)inout
niwinteger(kind=I4P)in
iwinteger(kind=I4P)inout
closedlogicalout
alphareal(kind=R8P)out
aperturereal(kind=R8P)out
centroidreal(kind=R8P)out
wet_lengthreal(kind=R8P)out
wet_centroidreal(kind=R8P)out
wet_normalreal(kind=R8P)out
npiecesinteger(kind=I4P)out
nivcinteger(kind=I4P)out
nbdcinteger(kind=I4P)out

Call graph

cut_cell_2d_fill ​

fortran
subroutine cut_cell_2d_fill(x0, x1, y0, y1, i, j, eid, nm, me, with_iv, with_bnd, nrw, rw, niw, iw, p0, iv0, bd0, np, pcell, parea, pcen, pwl, pwn, pap, pmom, pwmom, ivs, niv, ive, ivl, ivh, bds, nbd, bseg, bwall, bsrc)

Arguments

NameTypeIntentAttributesDescription
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
eidinteger(kind=I4P)in
nminteger(kind=I4P)in
meinteger(kind=I4P)in
with_ivlogicalin
with_bndlogicalin
nrwinteger(kind=I4P)in
rwreal(kind=R8P)in
niwinteger(kind=I4P)in
iwinteger(kind=I4P)in
p0integer(kind=I4P)in
iv0integer(kind=I4P)in
bd0integer(kind=I4P)in
npinteger(kind=I4P)in
pcellinteger(kind=I4P)inout
pareareal(kind=R8P)inout
pcenreal(kind=R8P)inout
pwlreal(kind=R8P)inout
pwnreal(kind=R8P)inout
papreal(kind=R8P)inout
pmomreal(kind=R8P)inout
pwmomreal(kind=R8P)inout
ivsinteger(kind=I4P)inout
nivinteger(kind=I4P)in
iveinteger(kind=I4P)inout
ivlreal(kind=R8P)inout
ivhreal(kind=R8P)inout
bdsinteger(kind=I4P)inout
nbdinteger(kind=I4P)in
bsegreal(kind=R8P)inout
bwalllogicalinout
bsrcinteger(kind=I4P)inout

Call graph

count_core ​

fortran
subroutine count_core(x0, x1, y0, y1, f00, f10, f11, f01, eid, ne, nxs, xstart, xord, xp, nb, pofs, nps, pord, pab, ptg, nsg, pseg, lsrc, nm, me, with_iv, with_bnd, s, nxm, sa, sb, acc, wn, accm, wallm, harea, ig, iwl, iwn, igm, iwm, lp, cgm, cwm, hdr, sfl, sx, sed, par, xsub, pvis, loopp, hroot, hfirst, hn, ifirst, inn, it, tkind, tstart, tn, tslot, lt, closed, alpha, aperture, centroid, wet_length, wet_centroid, wet_normal, npieces, nivc, nbdc)

Arguments

NameTypeIntentAttributesDescription
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
f00logicalin
f10logicalin
f11logicalin
f01logicalin
eidinteger(kind=I4P)in
neinteger(kind=I4P)in
nxsinteger(kind=I4P)in
xstartinteger(kind=I4P)in
xordinteger(kind=I4P)in
xpreal(kind=R8P)in
nbinteger(kind=I4P)in
pofsinteger(kind=I4P)in
npsinteger(kind=I4P)in
pordinteger(kind=I4P)in
pabreal(kind=R8P)in
ptginteger(kind=I4P)in
nsginteger(kind=I4P)in
pseginteger(kind=I4P)in
lsrcinteger(kind=I4P)inout
nminteger(kind=I4P)in
meinteger(kind=I4P)in
with_ivlogicalin
with_bndlogicalin
sinteger(kind=I4P)in
nxminteger(kind=I4P)in
sareal(kind=R8P)inout
sbreal(kind=R8P)inout
accreal(kind=R8P)inout
wnreal(kind=R8P)inout
accmreal(kind=R8P)inout
wallmreal(kind=R8P)inout
hareareal(kind=R8P)inout
igreal(kind=R8P)inout
iwlreal(kind=R8P)inout
iwnreal(kind=R8P)inout
igmreal(kind=R8P)inout
iwmreal(kind=R8P)inout
lpreal(kind=R8P)inout
cgmreal(kind=R8P)inout
cwmreal(kind=R8P)inout
hdrinteger(kind=I4P)inout
sflinteger(kind=I4P)inout
sxinteger(kind=I4P)inout
sedinteger(kind=I4P)inout
parinteger(kind=I4P)inout
xsubinteger(kind=I4P)inout
pvisinteger(kind=I4P)inout
looppinteger(kind=I4P)inout
hrootinteger(kind=I4P)inout
hfirstinteger(kind=I4P)inout
hninteger(kind=I4P)inout
ifirstinteger(kind=I4P)inout
inninteger(kind=I4P)inout
itinteger(kind=I4P)inout
tkindinteger(kind=I4P)inout
tstartinteger(kind=I4P)inout
tninteger(kind=I4P)inout
tslotinteger(kind=I4P)inout
ltinteger(kind=I4P)inout
closedlogicalout
alphareal(kind=R8P)out
aperturereal(kind=R8P)out
centroidreal(kind=R8P)out
wet_lengthreal(kind=R8P)out
wet_centroidreal(kind=R8P)out
wet_normalreal(kind=R8P)out
npiecesinteger(kind=I4P)out
nivcinteger(kind=I4P)out
nbdcinteger(kind=I4P)out

Call graph

fill_core ​

fortran
subroutine fill_core(x0, x1, y0, y1, i, j, eid, nb, nm, with_iv, with_bnd, s, sa, sb, acc, wn, accm, wallm, lp, hdr, sfl, sed, par, loopp, tkind, tstart, tn, tslot, lt, lsrc, p0, iv0, bd0, np, pcell, parea, pcen, pwl, pwn, pap, pmom, pwmom, ivs, niv, ive, ivl, ivh, bds, nbd, bseg, bwall, bsrc)

Arguments

NameTypeIntentAttributesDescription
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
eidinteger(kind=I4P)in
nbinteger(kind=I4P)in
nminteger(kind=I4P)in
with_ivlogicalin
with_bndlogicalin
sinteger(kind=I4P)in
sareal(kind=R8P)in
sbreal(kind=R8P)in
accreal(kind=R8P)in
wnreal(kind=R8P)in
accmreal(kind=R8P)in
wallmreal(kind=R8P)in
lpreal(kind=R8P)in
hdrinteger(kind=I4P)in
sflinteger(kind=I4P)in
sedinteger(kind=I4P)in
parinteger(kind=I4P)in
looppinteger(kind=I4P)in
tkindinteger(kind=I4P)in
tstartinteger(kind=I4P)in
tninteger(kind=I4P)in
tslotinteger(kind=I4P)in
ltinteger(kind=I4P)in
lsrcinteger(kind=I4P)in
p0integer(kind=I4P)in
iv0integer(kind=I4P)in
bd0integer(kind=I4P)in
npinteger(kind=I4P)in
pcellinteger(kind=I4P)inout
pareareal(kind=R8P)inout
pcenreal(kind=R8P)inout
pwlreal(kind=R8P)inout
pwnreal(kind=R8P)inout
papreal(kind=R8P)inout
pmomreal(kind=R8P)inout
pwmomreal(kind=R8P)inout
ivsinteger(kind=I4P)inout
nivinteger(kind=I4P)in
iveinteger(kind=I4P)inout
ivlreal(kind=R8P)inout
ivhreal(kind=R8P)inout
bdsinteger(kind=I4P)inout
nbdinteger(kind=I4P)in
bsegreal(kind=R8P)inout
bwalllogicalinout
bsrcinteger(kind=I4P)inout

Call graph

quiet_cell_2d_kernel ​

fortran
subroutine quiet_cell_2d_kernel(x0, x1, y0, y1, i, j, solid, eid, nm, me, with_iv, with_bnd, closed, alpha, aperture, centroid, wet_length, wet_centroid, wet_normal, npieces, p0, iv0, bd0, np, pcell, parea, pcen, pwl, pwn, pap, pmom, pwmom, ivs, niv, ive, ivl, ivh, bds, nbd, bseg, bwall, bsrc)

Arguments

NameTypeIntentAttributesDescription
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
solidlogicalin
eidinteger(kind=I4P)in
nminteger(kind=I4P)in
meinteger(kind=I4P)in
with_ivlogicalin
with_bndlogicalin
closedlogicalout
alphareal(kind=R8P)out
aperturereal(kind=R8P)out
centroidreal(kind=R8P)out
wet_lengthreal(kind=R8P)out
wet_centroidreal(kind=R8P)out
wet_normalreal(kind=R8P)out
npiecesinteger(kind=I4P)out
p0integer(kind=I4P)in
iv0integer(kind=I4P)in
bd0integer(kind=I4P)in
npinteger(kind=I4P)in
pcellinteger(kind=I4P)inout
pareareal(kind=R8P)inout
pcenreal(kind=R8P)inout
pwlreal(kind=R8P)inout
pwnreal(kind=R8P)inout
papreal(kind=R8P)inout
pmomreal(kind=R8P)inout
pwmomreal(kind=R8P)inout
ivsinteger(kind=I4P)inout
nivinteger(kind=I4P)in
iveinteger(kind=I4P)inout
ivlreal(kind=R8P)inout
ivhreal(kind=R8P)inout
bdsinteger(kind=I4P)inout
nbdinteger(kind=I4P)in
bsegreal(kind=R8P)inout
bwalllogicalinout
bsrcinteger(kind=I4P)inout

Call graph

quiet_cell_2d_measures ​

Attributes: pure

fortran
subroutine quiet_cell_2d_measures(x0, x1, y0, y1, solid, closed, alpha, aperture, centroid, wet_length, wet_centroid, wet_normal, npieces)

Arguments

NameTypeIntentAttributesDescription
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
solidlogicalin
closedlogicalout
alphareal(kind=R8P)out
aperturereal(kind=R8P)out
centroidreal(kind=R8P)out
wet_lengthreal(kind=R8P)out
wet_centroidreal(kind=R8P)out
wet_normalreal(kind=R8P)out
npiecesinteger(kind=I4P)out

Call graph

quiet_piece_2d ​

fortran
subroutine quiet_piece_2d(x0, x1, y0, y1, i, j, eid, nm, me, with_iv, with_bnd, p0, iv0, bd0, np, pcell, parea, pcen, pwl, pwn, pap, pmom, pwmom, ivs, niv, ive, ivl, ivh, bds, nbd, bseg, bwall, bsrc)

Arguments

NameTypeIntentAttributesDescription
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
eidinteger(kind=I4P)in
nminteger(kind=I4P)in
meinteger(kind=I4P)in
with_ivlogicalin
with_bndlogicalin
p0integer(kind=I4P)in
iv0integer(kind=I4P)in
bd0integer(kind=I4P)in
npinteger(kind=I4P)in
pcellinteger(kind=I4P)inout
pareareal(kind=R8P)inout
pcenreal(kind=R8P)inout
pwlreal(kind=R8P)inout
pwnreal(kind=R8P)inout
papreal(kind=R8P)inout
pmomreal(kind=R8P)inout
pwmomreal(kind=R8P)inout
ivsinteger(kind=I4P)inout
nivinteger(kind=I4P)in
iveinteger(kind=I4P)inout
ivlreal(kind=R8P)inout
ivhreal(kind=R8P)inout
bdsinteger(kind=I4P)inout
nbdinteger(kind=I4P)in
bsegreal(kind=R8P)inout
bwalllogicalinout
bsrcinteger(kind=I4P)inout

Call graph

cut_cell_2d_pieces ​

fortran
subroutine cut_cell_2d_pieces(u, v, next, x0, x1, y0, y1, flags, closed, np, parea, nw, wseg, wpiece, cpiece, plen, pmom)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
flagslogicalin
closedlogicalout
npinteger(kind=I4P)out
pareareal(kind=R8P)outallocatable
nwinteger(kind=I4P)out
wseginteger(kind=I4P)outallocatable
wpieceinteger(kind=I4P)outallocatable
cpieceinteger(kind=I4P)out
plenreal(kind=R8P)outallocatable
pmomreal(kind=R8P)outallocatable

Call graph

cut_cell_2d_labels ​

fortran
subroutine cut_cell_2d_labels(nb, s, np, hdr, sa, sb, acc, sfl, sx, sed, par, loopp, tkind, tstart, tn, tslot, lt, rix, parea, wpiece, cpiece, plen, pmom)

Arguments

NameTypeIntentAttributesDescription
nbinteger(kind=I4P)in
sinteger(kind=I4P)in
npinteger(kind=I4P)in
hdrinteger(kind=I4P)in
sareal(kind=R8P)in
sbreal(kind=R8P)in
accreal(kind=R8P)in
sflinteger(kind=I4P)in
sxinteger(kind=I4P)in
sedinteger(kind=I4P)in
parinteger(kind=I4P)in
looppinteger(kind=I4P)in
tkindinteger(kind=I4P)in
tstartinteger(kind=I4P)in
tninteger(kind=I4P)in
tslotinteger(kind=I4P)in
ltinteger(kind=I4P)in
rixinteger(kind=I4P)inout
pareareal(kind=R8P)out
wpieceinteger(kind=I4P)out
cpieceinteger(kind=I4P)out
plenreal(kind=R8P)out
pmomreal(kind=R8P)out

Call graph

cut_cell_2d_measures ​

fortran
subroutine cut_cell_2d_measures(u, v, next, x0, x1, y0, y1, flags, closed, alpha, centroid)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
flagslogicalin
closedlogicalout
alphareal(kind=R8P)out
centroidreal(kind=R8P)out

Call graph

cut_cell_2d_walk ​

Attributes: pure

fortran
subroutine cut_cell_2d_walk(nu, u, v, next, x0, x1, y0, y1, fill, mx, mp, nxs, nps, xedge, xpos, xseg, xp, pseg, pab, ptg)

Arguments

NameTypeIntentAttributesDescription
nuinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
filllogicalin
mxinteger(kind=I4P)in
mpinteger(kind=I4P)in
nxsinteger(kind=I4P)out
npsinteger(kind=I4P)out
xedgeinteger(kind=I4P)inout
xposreal(kind=R8P)inout
xseginteger(kind=I4P)inout
xpreal(kind=R8P)inout
pseginteger(kind=I4P)inout
pabreal(kind=R8P)inout
ptginteger(kind=I4P)inout

Call graph

cut_cell_2d_index ​

Attributes: pure

fortran
subroutine cut_cell_2d_index(nxs, xedge, xpos, xseg, xstart, xord)

Arguments

NameTypeIntentAttributesDescription
nxsinteger(kind=I4P)in
xedgeinteger(kind=I4P)in
xposreal(kind=R8P)in
xseginteger(kind=I4P)in
xstartinteger(kind=I4P)out
xordinteger(kind=I4P)out

Call graph

cut_cell_2d_one_layout ​

Attributes: pure

fortran
subroutine cut_cell_2d_one_layout(nxs, nps, ro, io)

Arguments

NameTypeIntentAttributesDescription
nxsinteger(kind=I4P)in
npsinteger(kind=I4P)in
rointeger(kind=I4P)out
iointeger(kind=I4P)out

Call graph

cut_cell_2d_one_sizes ​

Attributes: pure

fortran
subroutine cut_cell_2d_one_sizes(nxs, nps, nrw, niw)

Arguments

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

Call graph

cut_cell_2d_one_count ​

fortran
subroutine cut_cell_2d_one_count(nu, u, v, next, x0, x1, y0, y1, f00, f10, f11, f01, nxs, nps, nrw, rw, niw, iw, closed, alpha, centroid, np)

Arguments

NameTypeIntentAttributesDescription
nuinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(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
npinteger(kind=I4P)out

Call graph

cut_cell_2d_one_pieces ​

fortran
subroutine cut_cell_2d_one_pieces(nu, u, v, next, x0, x1, y0, y1, f00, f10, f11, f01, nxs, nps, nrw, rw, niw, iw, closed, np, mp, parea, wseg, wpiece, cpiece, plen, pmom)

Arguments

NameTypeIntentAttributesDescription
nuinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(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
npinteger(kind=I4P)out
mpinteger(kind=I4P)in
pareareal(kind=R8P)inout
wseginteger(kind=I4P)inout
wpieceinteger(kind=I4P)inout
cpieceinteger(kind=I4P)out
plenreal(kind=R8P)inout
pmomreal(kind=R8P)inout

Call graph

open_cell ​

Attributes: pure

fortran
subroutine open_cell(x0, x1, y0, y1, closed, alpha, aperture, centroid, npieces, wet_length, wet_normal)

Arguments

NameTypeIntentAttributesDescription
x0real(kind=R8P)in
x1real(kind=R8P)in
y0real(kind=R8P)in
y1real(kind=R8P)in
closedlogicalout
alphareal(kind=R8P)out
aperturereal(kind=R8P)out
centroidreal(kind=R8P)out
npiecesinteger(kind=I4P)out
wet_lengthreal(kind=R8P)out
wet_normalreal(kind=R8P)out

Call graph

edge_subs ​

Attributes: pure

fortran
subroutine edge_subs(ed, cs, ce, n0, n1, nxs, xord, xp, check, fend, state, ok, ns, s, sa, sb, sfl, sx, sed, nxc, nxm, xsub, flen)

Arguments

NameTypeIntentAttributesDescription
edinteger(kind=I4P)in
csreal(kind=R8P)in
cereal(kind=R8P)in
n0integer(kind=I4P)in
n1integer(kind=I4P)in
nxsinteger(kind=I4P)in
xordinteger(kind=I4P)in
xpreal(kind=R8P)in
checklogicalin
fendlogicalin
statelogicalinout
oklogicalinout
nsinteger(kind=I4P)inout
sinteger(kind=I4P)in
sareal(kind=R8P)inout
sbreal(kind=R8P)inout
sflinteger(kind=I4P)inout
sxinteger(kind=I4P)inout
sedinteger(kind=I4P)inout
nxcinteger(kind=I4P)inout
nxminteger(kind=I4P)in
xsubinteger(kind=I4P)inout
flenreal(kind=R8P)inout

Call graph

push ​

Attributes: pure

fortran
subroutine push(ed, aa, bb, fluid, xid, ns, s, sa, sb, sfl, sx, sed, nxc, nxm, xsub, flen)

Arguments

NameTypeIntentAttributesDescription
edinteger(kind=I4P)in
aareal(kind=R8P)in
bbreal(kind=R8P)in
fluidlogicalin
xidinteger(kind=I4P)in
nsinteger(kind=I4P)inout
sinteger(kind=I4P)in
sareal(kind=R8P)inout
sbreal(kind=R8P)inout
sflinteger(kind=I4P)inout
sxinteger(kind=I4P)inout
sedinteger(kind=I4P)inout
nxcinteger(kind=I4P)inout
nxminteger(kind=I4P)in
xsubinteger(kind=I4P)inout
flenreal(kind=R8P)inout

Call graph

follow ​

fortran
subroutine follow(qq, nb, lp, lt, pvis, plast, g, wl, wnn, good, nm, me, sm, hm, area_c, cgm, cwm, ncs)

Arguments

NameTypeIntentAttributesDescription
qqinteger(kind=I4P)in
nbinteger(kind=I4P)in
lpreal(kind=R8P)in
ltinteger(kind=I4P)in
pvisinteger(kind=I4P)inout
plastinteger(kind=I4P)out
greal(kind=R8P)out
wlreal(kind=R8P)out
wnnreal(kind=R8P)out
goodlogicalout
nminteger(kind=I4P)in
meinteger(kind=I4P)in
smreal(kind=R8P)in
hmreal(kind=R8P)in
area_creal(kind=R8P)in
cgmreal(kind=R8P)inout
cwmreal(kind=R8P)inout
ncsinteger(kind=I4P)inout

Call graph

follow_loop ​

fortran
subroutine follow_loop(qq, nb, lp, lt, pvis, nloopp, loopp, g, wl, wnn, good, nm, me, sm, hm, area_c, cgm, cwm, ncs)

Arguments

NameTypeIntentAttributesDescription
qqinteger(kind=I4P)in
nbinteger(kind=I4P)in
lpreal(kind=R8P)in
ltinteger(kind=I4P)in
pvisinteger(kind=I4P)inout
nlooppinteger(kind=I4P)inout
looppinteger(kind=I4P)inout
greal(kind=R8P)out
wlreal(kind=R8P)out
wnnreal(kind=R8P)out
goodlogicalout
nminteger(kind=I4P)in
meinteger(kind=I4P)in
smreal(kind=R8P)in
hmreal(kind=R8P)in
area_creal(kind=R8P)in
cgmreal(kind=R8P)inout
cwmreal(kind=R8P)inout
ncsinteger(kind=I4P)inout

Call graph

add_curve ​

fortran
subroutine add_curve(pab, g, wl, wnn, nm, me, sm, hm, area_c, cgm, cwm)

Arguments

NameTypeIntentAttributesDescription
pabreal(kind=R8P)in
greal(kind=R8P)inout
wlreal(kind=R8P)inout
wnnreal(kind=R8P)inout
nminteger(kind=I4P)in
meinteger(kind=I4P)in
smreal(kind=R8P)in
hmreal(kind=R8P)in
area_creal(kind=R8P)in
cgmreal(kind=R8P)inout
cwmreal(kind=R8P)inout

Call graph

curve_moments ​

fortran
subroutine curve_moments(pa, pb, ln, nm, me, area_c, cgm, cwm)

Arguments

NameTypeIntentAttributesDescription
pareal(kind=R8P)in
pbreal(kind=R8P)in
lnreal(kind=R8P)in
nminteger(kind=I4P)in
meinteger(kind=I4P)in
area_creal(kind=R8P)in
cgmreal(kind=R8P)inout
cwmreal(kind=R8P)inout

Call graph

charge ​

Attributes: pure

fortran
subroutine charge(rr, g, wl, wnn, gm, wm, s, nm, acc, wn, accm, wallm)

Arguments

NameTypeIntentAttributesDescription
rrinteger(kind=I4P)in
greal(kind=R8P)in
wlreal(kind=R8P)in
wnnreal(kind=R8P)in
gmreal(kind=R8P)in
wmreal(kind=R8P)in
sinteger(kind=I4P)in
nminteger(kind=I4P)in
accreal(kind=R8P)inout
wnreal(kind=R8P)inout
accmreal(kind=R8P)inout
wallmreal(kind=R8P)inout

Call graph

island_host ​

fortran
subroutine island_host(kk, nb, lp, lt, loopp, ifirst, nh, hfirst, hn, harea, hroot, nsb, s, sfl, par, sa, sb, nxc, nxm, xsub, host)

Arguments

NameTypeIntentAttributesDescription
kkinteger(kind=I4P)in
nbinteger(kind=I4P)in
lpreal(kind=R8P)in
ltinteger(kind=I4P)in
looppinteger(kind=I4P)in
ifirstinteger(kind=I4P)in
nhinteger(kind=I4P)in
hfirstinteger(kind=I4P)in
hninteger(kind=I4P)in
hareareal(kind=R8P)in
hrootinteger(kind=I4P)in
nsbinteger(kind=I4P)in
sinteger(kind=I4P)in
sflinteger(kind=I4P)in
parinteger(kind=I4P)in
sareal(kind=R8P)in
sbreal(kind=R8P)in
nxcinteger(kind=I4P)in
nxminteger(kind=I4P)in
xsubinteger(kind=I4P)in
hostinteger(kind=I4P)out

Call graph

ray_chain ​

fortran
subroutine ray_chain(pt, pfirst, nb, lp, lt, cnt)

Arguments

NameTypeIntentAttributesDescription
ptreal(kind=R8P)in
pfirstinteger(kind=I4P)in
nbinteger(kind=I4P)in
lpreal(kind=R8P)in
ltinteger(kind=I4P)in
cntinteger(kind=I4P)inout

Call graph

unite ​

Attributes: pure

fortran
subroutine unite(a_, b_, s, par, nm, acc, wn, accm, wallm)

Arguments

NameTypeIntentAttributesDescription
a_integer(kind=I4P)in
b_integer(kind=I4P)in
sinteger(kind=I4P)in
parinteger(kind=I4P)inout
nminteger(kind=I4P)in
accreal(kind=R8P)inout
wnreal(kind=R8P)inout
accmreal(kind=R8P)inout
wallmreal(kind=R8P)inout

Call graph

quadrature_out ​

fortran
subroutine quadrature_out(cc, x, y)

Arguments

NameTypeIntentAttributesDescription
cctype(cut_cells_2d_t)inout
xreal(kind=R8P)in
yreal(kind=R8P)in

Call graph

green ​

Attributes: pure

fortran
subroutine green(a, b, g)

Arguments

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

Call graph

node_flags ​

fortran
subroutine node_flags(u, v, next, x, y, node_in)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
node_inlogicaloutallocatable

Call graph

node_rows ​

fortran
subroutine node_rows(u, v, next, y, rstart, rseg)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
yreal(kind=R8P)in
rstartinteger(kind=I4P)outallocatable
rseginteger(kind=I4P)outallocatable

Call graph

walk_all ​

fortran
subroutine walk_all(u, v, next, x, y, xs, nxs, ps, nps)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
xstype(xing_t)outallocatable
nxsinteger(kind=I4P)out
pstype(piece_t)outallocatable
npsinteger(kind=I4P)out

Call graph

index_crossings ​

fortran
subroutine index_crossings(xs, n, ne, start, ord)

Arguments

NameTypeIntentAttributesDescription
xstype(xing_t)in
ninteger(kind=I4P)in
neinteger(kind=I4P)in
startinteger(kind=I4P)outallocatable
ordinteger(kind=I4P)outallocatable

Call graph

index_pieces ​

fortran
subroutine index_pieces(ps, n, ncell, start, ord)

Arguments

NameTypeIntentAttributesDescription
pstype(piece_t)in
ninteger(kind=I4P)in
ncellinteger(kind=I4P)in
startinteger(kind=I4P)outallocatable
ordinteger(kind=I4P)outallocatable

Call graph

Functions ​

host_key ​

Returns: integer(kind=c_intptr_t)

fortran
function host_key(cc) result(key)

Arguments

NameTypeIntentAttributesDescription
cctype(cut_cells_2d_t)intarget

Call graph

is_mapped ​

Returns: logical

fortran
function is_mapped(self)

Arguments

NameTypeIntentAttributesDescription
selftype(cut_cells_2d_t)in

Call graph

cell_is_quiet ​

Attributes: pure

Returns: logical

fortran
function cell_is_quiet(nb, eid, ne, xstart, f00, f10, f11, f01)

Arguments

NameTypeIntentAttributesDescription
nbinteger(kind=I4P)in
eidinteger(kind=I4P)in
neinteger(kind=I4P)in
xstartinteger(kind=I4P)in
f00logicalin
f10logicalin
f11logicalin
f01logicalin

Call graph

col1 ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function col1(w, e0, e1)

Arguments

NameTypeIntentAttributesDescription
wreal(kind=R8P)in
e0real(kind=R8P)in
e1real(kind=R8P)in

Call graph

edge_of_side ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function edge_of_side(e)

Arguments

NameTypeIntentAttributesDescription
einteger(kind=I4P)in

Call graph

fluid_sub_at ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function fluid_sub_at(xid, nxc, nxm, xsub, nsb, s, sfl)

Arguments

NameTypeIntentAttributesDescription
xidinteger(kind=I4P)in
nxcinteger(kind=I4P)in
nxminteger(kind=I4P)in
xsubinteger(kind=I4P)in
nsbinteger(kind=I4P)in
sinteger(kind=I4P)in
sflinteger(kind=I4P)in

Call graph

local_start ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function local_start(vtx, nb, lt)

Arguments

NameTypeIntentAttributesDescription
vtxinteger(kind=I4P)in
nbinteger(kind=I4P)in
ltinteger(kind=I4P)in

Call graph

ray_count ​

Returns: integer(kind=i4p)

fortran
function ray_count(pt, rt, nb, lp, lt, nsb, s, sfl, par, sa, sb, nxc, nxm, xsub)

Arguments

NameTypeIntentAttributesDescription
ptreal(kind=R8P)in
rtinteger(kind=I4P)in
nbinteger(kind=I4P)in
lpreal(kind=R8P)in
ltinteger(kind=I4P)in
nsbinteger(kind=I4P)in
sinteger(kind=I4P)in
sflinteger(kind=I4P)in
parinteger(kind=I4P)in
sareal(kind=R8P)in
sbreal(kind=R8P)in
nxcinteger(kind=I4P)in
nxminteger(kind=I4P)in
xsubinteger(kind=I4P)in

Call graph

inside_loop ​

Returns: logical

fortran
function inside_loop(pt, n, list, nb, lp)

Arguments

NameTypeIntentAttributesDescription
ptreal(kind=R8P)in
ninteger(kind=I4P)in
listinteger(kind=I4P)in
nbinteger(kind=I4P)in
lpreal(kind=R8P)in

Call graph

find ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function find(kk, s, par) result(rr)

Arguments

NameTypeIntentAttributesDescription
kkinteger(kind=I4P)in
sinteger(kind=I4P)in
parinteger(kind=I4P)in

Call graph

norm2_xy ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function norm2_xy(x, y) result(r)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
yreal(kind=R8P)in

Call graph

ray_hits ​

Attributes: pure

Returns: logical

fortran
function ray_hits(pt, a, b)

Arguments

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

Call graph

corner_side ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function corner_side(pu, pv, qu, qv, cu, cv)

Arguments

NameTypeIntentAttributesDescription
pureal(kind=R8P)in
pvreal(kind=R8P)in
qureal(kind=R8P)in
qvreal(kind=R8P)in
cureal(kind=R8P)in
cvreal(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

node_parity ​

Attributes: pure

Returns: logical

fortran
function node_parity(xn, yn, k0, k1, nr, rseg, nu, u, v, next)

Arguments

NameTypeIntentAttributesDescription
xnreal(kind=R8P)in
ynreal(kind=R8P)in
k0integer(kind=I4P)in
k1integer(kind=I4P)in
nrinteger(kind=I4P)in
rseginteger(kind=I4P)in
nuinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in

Call graph