Skip to content

fossil_self_intersection ​

Source: src/lib/fossil_self_intersection.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
MAX_CHILDRENinteger(kind=I4P)parameter

Derived Types ​

intersection_pair_t ​

Components ​

NameTypeAttributesDescription
ainteger(kind=I4P)
binteger(kind=I4P)
ptype(vector_R8P)
qtype(vector_R8P)

Subroutines ​

find_self_intersections ​

fortran
subroutine find_self_intersections(facet, tree, pairs, status)

Arguments

NameTypeIntentAttributesDescription
facettype(facet_object)in
treetype(aabb_tree_object)intarget
pairstype(intersection_pair_t)outallocatable
statusinteger(kind=I4P)outoptional

Call graph

brute_force_pairs ​

fortran
subroutine brute_force_pairs(facet, buf, nfound)

Arguments

NameTypeIntentAttributesDescription
facettype(facet_object)in
buftype(intersection_pair_t)inoutallocatable
nfoundinteger(kind=I4P)inout

Call graph

traverse_node_pair ​

Attributes: recursive

fortran
subroutine traverse_node_pair(facet, tree, na, nb, buf, nfound)

Arguments

NameTypeIntentAttributesDescription
facettype(facet_object)in
treetype(aabb_tree_object)in
nainteger(kind=I4P)in
nbinteger(kind=I4P)in
buftype(intersection_pair_t)inoutallocatable
nfoundinteger(kind=I4P)inout

Call graph

enumerate_leaf_pair ​

fortran
subroutine enumerate_leaf_pair(facet, tree, na, nb, buf, nfound)

Arguments

NameTypeIntentAttributesDescription
facettype(facet_object)in
treetype(aabb_tree_object)in
nainteger(kind=I4P)in
nbinteger(kind=I4P)in
buftype(intersection_pair_t)inoutallocatable
nfoundinteger(kind=I4P)inout

Call graph

push_pair ​

fortran
subroutine push_pair(buf, nfound, a, b, p, q)

Arguments

NameTypeIntentAttributesDescription
buftype(intersection_pair_t)inoutallocatable
nfoundinteger(kind=I4P)inout
ainteger(kind=I4P)in
binteger(kind=I4P)in
ptype(vector_R8P)in
qtype(vector_R8P)in

Call graph

Functions ​

bboxes_overlap ​

Attributes: pure

Returns: logical

fortran
function bboxes_overlap(fa, fb) result(yes)

Arguments

NameTypeIntentAttributesDescription
fatype(facet_object)in
fbtype(facet_object)in

Call graph

share_any_vertex ​

Attributes: pure

Returns: logical

fortran
function share_any_vertex(fa, fb) result(yes)

Arguments

NameTypeIntentAttributesDescription
fatype(facet_object)in
fbtype(facet_object)in

Call graph

vertex_coincident ​

Attributes: pure

Returns: logical

fortran
function vertex_coincident(va, vb) result(yes)

Arguments

NameTypeIntentAttributesDescription
vatype(vector_R8P)in
vbtype(vector_R8P)in

Call graph