Skip to content

fossil_projection ​

Source: src/lib/fossil_projection.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
PROJ_FREEinteger(kind=I4P)parameter
PROJ_PATCHinteger(kind=I4P)parameter
PROJ_CURVEinteger(kind=I4P)parameter
PROJ_CORNERinteger(kind=I4P)parameter
LEAFinteger(kind=I4P)parameter
PROJ_STATUS_OKinteger(kind=I4P)parameter
PROJ_STATUS_BAD_INPUTinteger(kind=I4P)parameter

Derived Types ​

projection_target_t ​

Components

NameTypeAttributesDescription
dimsinteger(kind=I4P)
neinteger(kind=I4P)
elreal(kind=R8P)allocatable
el_idinteger(kind=I4P)allocatable
el_patchinteger(kind=I4P)allocatable
npinteger(kind=I4P)
patch_rootinteger(kind=I4P)allocatable
node_boxreal(kind=R8P)allocatable
nodeinteger(kind=I4P)allocatable
perminteger(kind=I4P)allocatable
ncinteger(kind=I4P)
curve_firstinteger(kind=I4P)allocatable
segreal(kind=R8P)allocatable
seg_curveinteger(kind=I4P)allocatable
seg_rootinteger(kind=I4P)
seg_boxreal(kind=R8P)allocatable
seg_nodeinteger(kind=I4P)allocatable
seg_perminteger(kind=I4P)allocatable
nkinteger(kind=I4P)
cornerreal(kind=R8P)allocatable

Subroutines ​

build_target_3d ​

fortran
subroutine build_target_3d(v, fv, fpatch, angle, corner_angle, target)

Arguments

NameTypeIntentAttributesDescription
vreal(kind=R8P)in
fvinteger(kind=I4P)in
fpatchinteger(kind=I4P)in
anglereal(kind=R8P)in
corner_anglereal(kind=R8P)in
targettype(projection_target_t)out

Call graph

build_target_2d ​

fortran
subroutine build_target_2d(u, v, next, prev, spatch, corner_angle, target)

Arguments

NameTypeIntentAttributesDescription
ureal(kind=R8P)in
vreal(kind=R8P)in
nextinteger(kind=I4P)in
previnteger(kind=I4P)in
spatchinteger(kind=I4P)in
corner_anglereal(kind=R8P)in
targettype(projection_target_t)out

Call graph

build_patch_trees ​

fortran
subroutine build_patch_trees(target, boxes)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)inout
boxesreal(kind=R8P)in

Call graph

bvh_build ​

fortran
subroutine bvh_build(boxes, nbox, nodes, perm)

Arguments

NameTypeIntentAttributesDescription
boxesreal(kind=R8P)in
nboxreal(kind=R8P)outallocatable
nodesinteger(kind=I4P)outallocatable
perminteger(kind=I4P)outallocatable

Call graph

select_items ​

fortran
subroutine select_items(idx, boxes, axis, k)

Arguments

NameTypeIntentAttributesDescription
idxinteger(kind=I4P)inout
boxesreal(kind=R8P)in
axisinteger(kind=I4P)in
kinteger(kind=I4P)in

Call graph

patch_boundary_edges ​

fortran
subroutine patch_boundary_edges(fv, fpatch, pe)

Arguments

NameTypeIntentAttributesDescription
fvinteger(kind=I4P)in
fpatchinteger(kind=I4P)in
peinteger(kind=I4P)outallocatable

Call graph

unique_edges ​

fortran
subroutine unique_edges(ed, nv)

Arguments

NameTypeIntentAttributesDescription
edinteger(kind=I4P)inoutallocatable
nvinteger(kind=I4P)in

Call graph

chain_curves ​

fortran
subroutine chain_curves(ed, v, corner_angle, target)

Arguments

NameTypeIntentAttributesDescription
edinteger(kind=I4P)in
vreal(kind=R8P)in
corner_anglereal(kind=R8P)in
targettype(projection_target_t)inout

Call graph

sort_keys ​

fortran
subroutine sort_keys(key, order)

Arguments

NameTypeIntentAttributesDescription
keyinteger(kind=I8P)in
orderinteger(kind=I4P)out

Call graph

project_points ​

fortran
subroutine project_points(target, x, y, z, kinds, ids, fx, fy, fz, distances, status)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
kindsinteger(kind=I4P)in
idsinteger(kind=I4P)in
fxreal(kind=R8P)out
fyreal(kind=R8P)out
fzreal(kind=R8P)out
distancesreal(kind=R8P)outoptional
statusinteger(kind=I4P)outoptional

Call graph

project_points_2d ​

fortran
subroutine project_points_2d(target, u, v, kinds, ids, fu, fv, distances, status)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
ureal(kind=R8P)in
vreal(kind=R8P)in
kindsinteger(kind=I4P)in
idsinteger(kind=I4P)in
fureal(kind=R8P)out
fvreal(kind=R8P)out
distancesreal(kind=R8P)outoptional
statusinteger(kind=I4P)outoptional

Call graph

classify_points ​

fortran
subroutine classify_points(target, x, y, z, tolerance, kinds, ids)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
xreal(kind=R8P)in
yreal(kind=R8P)in
zreal(kind=R8P)in
tolerancereal(kind=R8P)in
kindsinteger(kind=I4P)out
idsinteger(kind=I4P)out

Call graph

classify_points_2d ​

fortran
subroutine classify_points_2d(target, u, v, tolerance, kinds, ids)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
ureal(kind=R8P)in
vreal(kind=R8P)in
tolerancereal(kind=R8P)in
kindsinteger(kind=I4P)out
idsinteger(kind=I4P)out

Call graph

project_block_face ​

fortran
subroutine project_block_face(block, face, target, tolerance, moved, kinds, status)

Arguments

NameTypeIntentAttributesDescription
blockclass(curvilinear_block_t)inout
faceinteger(kind=I4P)in
targettype(projection_target_t)in
tolerancereal(kind=R8P)in
movedreal(kind=R8P)outallocatable, optional
kindsinteger(kind=I4P)outallocatable, optional
statusinteger(kind=I4P)outoptional

Call graph

project_block_side ​

fortran
subroutine project_block_side(block, side, target, tolerance, moved, kinds, status)

Arguments

NameTypeIntentAttributesDescription
blockclass(curvilinear_block_2d_t)inout
sideinteger(kind=I4P)in
targettype(projection_target_t)in
tolerancereal(kind=R8P)in
movedreal(kind=R8P)outallocatable, optional
kindsinteger(kind=I4P)outallocatable, optional
statusinteger(kind=I4P)outoptional

Call graph

classify_one ​

fortran
subroutine classify_one(target, p, tolerance, kind, id)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
preal(kind=R8P)in
tolerancereal(kind=R8P)in
kindinteger(kind=I4P)out
idinteger(kind=I4P)out

Call graph

project_one ​

fortran
subroutine project_one(target, p, kind, id, f, d2, el, ok)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
preal(kind=R8P)in
kindinteger(kind=I4P)in
idinteger(kind=I4P)in
freal(kind=R8P)out
d2real(kind=R8P)out
elinteger(kind=I4P)out
oklogicalout

Call graph

closest_in_tree ​

fortran
subroutine closest_in_tree(target, root, p, f, d2, el)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
rootinteger(kind=I4P)in
preal(kind=R8P)in
freal(kind=R8P)inout
d2real(kind=R8P)inout
elinteger(kind=I4P)inout

Call graph

closest_on_curves ​

fortran
subroutine closest_on_curves(target, p, id, f, d2, sg)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
preal(kind=R8P)in
idinteger(kind=I4P)in
freal(kind=R8P)out
d2real(kind=R8P)out
sginteger(kind=I4P)out

Call graph

nearest_corner ​

fortran
subroutine nearest_corner(target, p, k, d2)

Arguments

NameTypeIntentAttributesDescription
targettype(projection_target_t)in
preal(kind=R8P)in
kinteger(kind=I4P)out
d2real(kind=R8P)out

Call graph

Functions ​

item_before ​

Attributes: pure

Returns: logical

fortran
function item_before(boxes, axis, x, y)

Arguments

NameTypeIntentAttributesDescription
boxesreal(kind=R8P)in
axisinteger(kind=I4P)in
xinteger(kind=I4P)in
yinteger(kind=I4P)in

Call graph

other_end ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function other_end(edge, x)

Arguments

NameTypeIntentAttributesDescription
edgeinteger(kind=I4P)in
xinteger(kind=I4P)in

Call graph

next_edge ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function next_edge(x, from, val, adj_start, adj, used)

Arguments

NameTypeIntentAttributesDescription
xinteger(kind=I4P)in
frominteger(kind=I4P)in
valinteger(kind=I4P)in
adj_startinteger(kind=I4P)in
adjinteger(kind=I4P)in
usedlogicalin

Call graph

closest_on_segment ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function closest_on_segment(p, a, b) result(c)

Arguments

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

Call graph

box_d2 ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function box_d2(box, p) result(d2)

Arguments

NameTypeIntentAttributesDescription
boxreal(kind=R8P)in
preal(kind=R8P)in

Call graph