Skip to content

fossil_vertex_pool_object

Source: src/lib/fossil_vertex_pool_object.f90

Dependencies

Contents

Derived Types

vertex_pool_object

Components

NameTypeAttributesDescription
coord_type(vector_R8P)allocatable
facet_to_poolinteger(kind=I4P)allocatable
at_offsetinteger(kind=I4P)allocatable
at_pairsinteger(kind=I4P)allocatable
n_verticesinteger(kind=I4P)
n_facetsinteger(kind=I4P)
is_initializedlogical

Type-Bound Procedures

NameAttributesDescription
initialize_from_facetspass(self)
vertex_countpass(self)
facets_countpass(self)
coordpass(self)
facet_vidpass(self)
facets_at_countpass(self)
facets_atpass(self)
get_is_initializedpass(self)
destroypass(self)

Subroutines

initialize_from_facets

fortran
subroutine initialize_from_facets(self, facet, status, use_union_find)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)inout
facettype(facet_object)in
statusinteger(kind=I4P)outoptional
use_union_findlogicalinoptional

Call graph

build_via_union_find

fortran
subroutine build_via_union_find(self, facet, istat)

Arguments

NameTypeIntentAttributesDescription
selftype(vertex_pool_object)inout
facettype(facet_object)in
istatinteger(kind=I4P)out

Call graph

build_via_spatial_hash

fortran
subroutine build_via_spatial_hash(self, facet, istat)

Arguments

NameTypeIntentAttributesDescription
selftype(vertex_pool_object)inout
facettype(facet_object)in
istatinteger(kind=I4P)out

Call graph

build_inverted_index

fortran
subroutine build_inverted_index(self, istat)

Arguments

NameTypeIntentAttributesDescription
selftype(vertex_pool_object)inout
istatinteger(kind=I4P)out

Call graph

facets_at

Attributes: pure

fortran
subroutine facets_at(self, vid, k, facet_id, local_v)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)in
vidinteger(kind=I4P)in
kinteger(kind=I4P)in
facet_idinteger(kind=I4P)out
local_vinteger(kind=I4P)out

Call graph

destroy

Attributes: pure

fortran
subroutine destroy(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)inout

Call graph

finalize

fortran
subroutine finalize(self)

Arguments

NameTypeIntentAttributesDescription
selftype(vertex_pool_object)inout

Call graph

uf_union

fortran
subroutine uf_union(a, b, parent, rank_)

Arguments

NameTypeIntentAttributesDescription
ainteger(kind=I4P)in
binteger(kind=I4P)in
parentinteger(kind=I4P)inout
rank_integer(kind=I4P)inout

Call graph

Functions

find_or_insert

Returns: integer(kind=I4P)

fortran
function find_or_insert(vx, vy, vz, ix, iy, iz, pid, cap, coord_buf, next_in_chain, tab_key, tab_head, mask, istat) result(out_pid)

Arguments

NameTypeIntentAttributesDescription
vxreal(kind=R8P)in
vyreal(kind=R8P)in
vzreal(kind=R8P)in
ixinteger(kind=I4P)in
iyinteger(kind=I4P)in
izinteger(kind=I4P)in
pidinteger(kind=I4P)inout
capinteger(kind=I4P)inout
coord_buftype(vector_R8P)inoutallocatable
next_in_chaininteger(kind=I4P)inoutallocatable
tab_keyinteger(kind=I8P)inout
tab_headinteger(kind=I4P)inout
maskinteger(kind=I4P)in
istatinteger(kind=I4P)out

Call graph

pack_bucket_key

Attributes: pure

Returns: integer(kind=I8P)

fortran
function pack_bucket_key(ix, iy, iz) result(key)

Arguments

NameTypeIntentAttributesDescription
ixinteger(kind=I4P)in
iyinteger(kind=I4P)in
izinteger(kind=I4P)in

Call graph

bucket_index

Attributes: pure

Returns: integer(kind=I4P)

fortran
function bucket_index(key, mask) result(slot)

Arguments

NameTypeIntentAttributesDescription
keyinteger(kind=I8P)in
maskinteger(kind=I4P)in

Call graph

eps_match_scalar

Attributes: pure

Returns: logical

fortran
function eps_match_scalar(vx, vy, vz, b) result(yes)

Arguments

NameTypeIntentAttributesDescription
vxreal(kind=R8P)in
vyreal(kind=R8P)in
vzreal(kind=R8P)in
btype(vector_R8P)in

Call graph

vertex_count

Attributes: pure

Returns: integer(kind=I4P)

fortran
function vertex_count(self) result(n)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)in

Call graph

facets_count

Attributes: pure

Returns: integer(kind=I4P)

fortran
function facets_count(self) result(n)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)in

coord

Attributes: pure

Returns: type(vector_R8P)

fortran
function coord(self, vid) result(v)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)in
vidinteger(kind=I4P)in

facet_vid

Attributes: pure

Returns: integer(kind=I4P)

fortran
function facet_vid(self, facet_id, local_v) result(vid)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)in
facet_idinteger(kind=I4P)in
local_vinteger(kind=I4P)in

Call graph

facets_at_count

Attributes: pure

Returns: integer(kind=I4P)

fortran
function facets_at_count(self, vid) result(n)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)in
vidinteger(kind=I4P)in

Call graph

get_is_initialized

Attributes: pure

Returns: logical

fortran
function get_is_initialized(self) result(yes)

Arguments

NameTypeIntentAttributesDescription
selfclass(vertex_pool_object)in

Call graph

vertices_eps_match

Attributes: pure

Returns: logical

fortran
function vertices_eps_match(a, b) result(yes)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in
btype(vector_R8P)in

Call graph

uf_find

Attributes: pure

Returns: integer(kind=I4P)

fortran
function uf_find(x, parent) result(root)

Arguments

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

Call graph