Skip to content

fossil_block_locate ​

Source: src/lib/fossil_block_locate.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
LOC_INSIDEinteger(kind=I4P)parameter
LOC_OUTSIDEinteger(kind=I4P)parameter
LOC_WARPEDinteger(kind=I4P)parameter
LOC_DEGENERATEinteger(kind=I4P)parameter
LOC_NOT_CONVERGEDinteger(kind=I4P)parameter
XI_TOLreal(kind=R8P)parameter
NEWTON_MAXinteger(kind=I4P)parameter
NEARreal(kind=R8P)parameter
LOC_STACKinteger(kind=I4P)parameter
LEAFinteger(kind=I4P)parameter

Derived Types ​

cell_bvh_t ​

Components ​

NameTypeAttributesDescription
nnodeinteger(kind=I4P)
ncellinteger(kind=I4P)
node_loreal(kind=R8P)allocatable
node_hireal(kind=R8P)allocatable
leftinteger(kind=I4P)allocatable
rightinteger(kind=I4P)allocatable
firstinteger(kind=I4P)allocatable
lastinteger(kind=I4P)allocatable
orderinteger(kind=I4P)allocatable
cell_loreal(kind=R8P)allocatable
cell_hireal(kind=R8P)allocatable

Subroutines ​

build_cell_bvh ​

fortran
subroutine build_cell_bvh(cell_lo, cell_hi, bvh)

Arguments

NameTypeIntentAttributesDescription
cell_loreal(kind=R8P)in
cell_hireal(kind=R8P)in
bvhtype(cell_bvh_t)out

Call graph

build_node ​

Attributes: recursive

fortran
subroutine build_node(bvh, lo, hi, node)

Arguments

NameTypeIntentAttributesDescription
bvhtype(cell_bvh_t)inout
lointeger(kind=I4P)in
hiinteger(kind=I4P)in
nodeinteger(kind=I4P)out

Call graph

select_kth ​

fortran
subroutine select_kth(key, order, lo, hi, kth)

Arguments

NameTypeIntentAttributesDescription
keyreal(kind=R8P)inout
orderinteger(kind=I4P)inout
lointeger(kind=I4P)in
hiinteger(kind=I4P)in
kthinteger(kind=I4P)in

Call graph

locate_point_3d_oac ​

Attributes: pure

fortran
subroutine locate_point_3d_oac(p, ni, nj, x, y, z, cstat, nnode, node_lo, node_hi, left, right, first, last, order, cell_lo, cell_hi, cell, xi, status)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)in
niinteger(kind=I4P)in
njinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
cstatinteger(kind=I4P)in
nnodeinteger(kind=I4P)in
node_loreal(kind=R8P)in
node_hireal(kind=R8P)in
leftinteger(kind=I4P)in
rightinteger(kind=I4P)in
firstinteger(kind=I4P)in
lastinteger(kind=I4P)in
orderinteger(kind=I4P)in
cell_loreal(kind=R8P)in
cell_hireal(kind=R8P)in
cellinteger(kind=I4P)out
xireal(kind=R8P)out
statusinteger(kind=I4P)out

Call graph

locate_point_2d_oac ​

Attributes: pure

fortran
subroutine locate_point_2d_oac(p, ni, u, v, cstat, orient, nnode, node_lo, node_hi, left, right, first, last, order, cell_lo, cell_hi, cell, xi, status)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)in
niinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
cstatinteger(kind=I4P)in
orientreal(kind=R8P)in
nnodeinteger(kind=I4P)in
node_loreal(kind=R8P)in
node_hireal(kind=R8P)in
leftinteger(kind=I4P)in
rightinteger(kind=I4P)in
firstinteger(kind=I4P)in
lastinteger(kind=I4P)in
orderinteger(kind=I4P)in
cell_loreal(kind=R8P)in
cell_hireal(kind=R8P)in
cellinteger(kind=I4P)out
xireal(kind=R8P)out
statusinteger(kind=I4P)out

Call graph

corners_flat_3d ​

Attributes: pure

fortran
subroutine corners_flat_3d(c, ni, nj, x, y, z, cc)

Arguments

NameTypeIntentAttributesDescription
cinteger(kind=I4P)in
niinteger(kind=I4P)in
njinteger(kind=I4P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
ccreal(kind=R8P)out

Call graph

corners_flat_2d ​

Attributes: pure

fortran
subroutine corners_flat_2d(c, ni, u, v, cc)

Arguments

NameTypeIntentAttributesDescription
cinteger(kind=I4P)in
niinteger(kind=I4P)in
ureal(kind=R8P)in
vreal(kind=R8P)in
ccreal(kind=R8P)out

Call graph

newton_3d_oac ​

Attributes: pure

fortran
subroutine newton_3d_oac(cc, p, xi, conv)

Arguments

NameTypeIntentAttributesDescription
ccreal(kind=R8P)in
preal(kind=R8P)in
xireal(kind=R8P)out
convlogicalout

Call graph

trilinear_eval ​

Attributes: pure

fortran
subroutine trilinear_eval(cc, xi, x, jac)

Arguments

NameTypeIntentAttributesDescription
ccreal(kind=R8P)in
xireal(kind=R8P)in
xreal(kind=R8P)out
jacreal(kind=R8P)out

Call graph

inverse_2d_oac ​

Attributes: pure

fortran
subroutine inverse_2d_oac(cc, p, xi, found)

Arguments

NameTypeIntentAttributesDescription
ccreal(kind=R8P)in
preal(kind=R8P)in
xireal(kind=R8P)out
foundlogicalout

Call graph

Functions ​

in_box3 ​

Attributes: pure

Returns: logical

fortran
function in_box3(q, tol) result(yes)

Arguments

NameTypeIntentAttributesDescription
qreal(kind=R8P)in
tolreal(kind=R8P)in

Call graph

dist01 ​

Attributes: pure

Returns: real(kind=r8p)

fortran
function dist01(t) result(dd)

Arguments

NameTypeIntentAttributesDescription
treal(kind=R8P)in

Call graph