Skip to content

fossil_alpha_wrap ​

Source: src/lib/fossil_alpha_wrap.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
AWRAP_STATUS_OKinteger(kind=I4P)parameter
AWRAP_STATUS_BAD_INPUTinteger(kind=I4P)parameter
AWRAP_STATUS_DEGENERATEinteger(kind=I4P)parameter
AWRAP_STATUS_NOT_CONVERGEDinteger(kind=I4P)parameter
AWRAP_DEFAULT_MAX_OUTER_ITERATIONSinteger(kind=I4P)parameter
AWRAP_CELLS_PER_ALPHAreal(kind=R8P)parameter
AWRAP_MAX_CELLSreal(kind=R8P)parameter
AWRAP_CULL_BLOCKinteger(kind=I4P)parameter
AWRAP_EDT_FARreal(kind=R8P)parameter
AWRAP_TRACE_STEPSinteger(kind=I4P)parameter
AWRAP_TRACE_TOLreal(kind=R8P)parameter
AWRAP_BISECTION_STEPSinteger(kind=I4P)parameter
AWRAP_FLOAT_ONreal(kind=R8P)parameter
AWRAP_FLOAT_BANDreal(kind=R8P)parameter
PLANE_EXACTinteger(kind=I4P)parameter
PLANE_APARTinteger(kind=I4P)parameter
PLANE_COPLANARinteger(kind=I4P)parameter
AWRAP_PUSH_ROUNDSinteger(kind=I4P)parameter
AWRAP_COLLAPSE_EDGEreal(kind=R8P)parameter
AWRAP_COLLAPSE_QUALITYreal(kind=R8P)parameter
AWRAP_COLLAPSE_ROUNDSinteger(kind=I4P)parameter

Derived Types ​

awrap_grid_t ​

Components ​

NameTypeAttributesDescription
otype(vector_R8P)
hreal(kind=R8P)
rhoreal(kind=R8P)
epsreal(kind=R8P)
ninteger(kind=I4P)
nvertexinteger(kind=I4P)
ureal(kind=R8P)allocatable
reachedlogicalallocatable
dsqreal(kind=R8P)allocatable
siteinteger(kind=I4P)allocatable
carvedlogicalallocatable
bin_firstinteger(kind=I4P)allocatable
bin_facetinteger(kind=I4P)allocatable

Subroutines ​

compute_facet_bbox ​

Attributes: pure

fortran
subroutine compute_facet_bbox(facet, bmin, bmax)

Arguments

NameTypeIntentAttributesDescription
facettype(facet_object)in
bmintype(vector_R8P)out
bmaxtype(vector_R8P)out

Call graph

awrap_run ​

fortran
subroutine awrap_run(input_facet, input_tree, alpha, offset, max_iterations, wrapped_facets, status)

Arguments

NameTypeIntentAttributesDescription
input_facettype(facet_object)in
input_treetype(aabb_tree_object)in
alphareal(kind=R8P)in
offsetreal(kind=R8P)in
max_iterationsinteger(kind=I4P)inoptional
wrapped_facetstype(facet_object)outallocatable
statusinteger(kind=I4P)outoptional

Call graph

wrap_level ​

fortran
subroutine wrap_level(input_facet, input_tree, bmin, bmax, alpha, offset, h, wrap, contact)

Arguments

NameTypeIntentAttributesDescription
input_facettype(facet_object)in
input_treetype(aabb_tree_object)in
bmintype(vector_R8P)in
bmaxtype(vector_R8P)in
alphareal(kind=R8P)in
offsetreal(kind=R8P)in
hreal(kind=R8P)in
wraptype(facet_object)outallocatable
contactlogicalout

Call graph

unlin ​

Attributes: pure

fortran
subroutine unlin(n, l, i, j, k)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
linteger(kind=I4P)in
iinteger(kind=I4P)out
jinteger(kind=I4P)out
kinteger(kind=I4P)out

Call graph

grid_distances ​

fortran
subroutine grid_distances(g, input_facet, input_tree)

Arguments

NameTypeIntentAttributesDescription
gtype(awrap_grid_t)inout
input_facettype(facet_object)in
input_treetype(aabb_tree_object)in

Call graph

grid_reach ​

fortran
subroutine grid_reach(g)

Arguments

NameTypeIntentAttributesDescription
gtype(awrap_grid_t)inout

Call graph

grid_carve ​

fortran
subroutine grid_carve(g)

Arguments

NameTypeIntentAttributesDescription
gtype(awrap_grid_t)inout

Call graph

edt_1d ​

Attributes: pure

fortran
subroutine edt_1d(f, d, arg)

Arguments

NameTypeIntentAttributesDescription
freal(kind=R8P)in
dreal(kind=R8P)out
arginteger(kind=I4P)out

Call graph

grid_well_composed ​

fortran
subroutine grid_well_composed(g)

Arguments

NameTypeIntentAttributesDescription
gtype(awrap_grid_t)inout

Call graph

grid_bin_facets ​

fortran
subroutine grid_bin_facets(g, input_facet)

Arguments

NameTypeIntentAttributesDescription
gtype(awrap_grid_t)inout
input_facettype(facet_object)in

Call graph

grid_extract ​

fortran
subroutine grid_extract(g, input_facet, input_tree, wrap, contact)

Arguments

NameTypeIntentAttributesDescription
gtype(awrap_grid_t)inout
input_facettype(facet_object)in
input_treetype(aabb_tree_object)in
wraptype(facet_object)outallocatable
contactlogicalout

Call graph

closest_point ​

fortran
subroutine closest_point(input_facet, input_tree, x, cp, u)

Arguments

NameTypeIntentAttributesDescription
input_facettype(facet_object)in
input_treetype(aabb_tree_object)in
xtype(vector_R8P)in
cptype(vector_R8P)out
ureal(kind=R8P)out

Call graph

sort_by_cost ​

fortran
subroutine sort_by_cost(cost, order)

Arguments

NameTypeIntentAttributesDescription
costreal(kind=R8P)in
orderinteger(kind=I4P)out

Call graph

Functions ​

grid_pad ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function grid_pad(alpha, offset, h) result(pad)

Arguments

NameTypeIntentAttributesDescription
alphareal(kind=R8P)in
offsetreal(kind=R8P)in
hreal(kind=R8P)in

Call graph

grid_cells ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function grid_cells(bmin, bmax, pad, h) result(n)

Arguments

NameTypeIntentAttributesDescription
bmintype(vector_R8P)in
bmaxtype(vector_R8P)in
padreal(kind=R8P)in
hreal(kind=R8P)in

Call graph

udist ​

Returns: real(kind=R8P)

fortran
function udist(input_facet, input_tree, p) result(u)

Arguments

NameTypeIntentAttributesDescription
input_facettype(facet_object)in
input_treetype(aabb_tree_object)in
ptype(vector_R8P)in

Call graph

cell_centre ​

Attributes: pure

Returns: type(vector_R8P)

fortran
function cell_centre(o, h, i, j, k) result(p)

Arguments

NameTypeIntentAttributesDescription
otype(vector_R8P)in
hreal(kind=R8P)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
kinteger(kind=I4P)in

Call graph

lin ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function lin(n, i, j, k) result(l)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
iinteger(kind=I4P)in
jinteger(kind=I4P)in
kinteger(kind=I4P)in

Call graph

edge_point ​

Returns: type(vector_R8P)

fortran
function edge_point(g, input_facet, input_tree, cc, cs) result(p)

Arguments

NameTypeIntentAttributesDescription
gtype(awrap_grid_t)in
input_facettype(facet_object)in
input_treetype(aabb_tree_object)in
ccinteger(kind=I4P)in
csinteger(kind=I4P)in

Call graph

boxes_overlap ​

Attributes: pure

Returns: logical

fortran
function boxes_overlap(ta, tb) result(yes)

Arguments

NameTypeIntentAttributesDescription
tatype(vector_R8P)in
tbtype(vector_R8P)in

pair_crosses ​

Returns: logical

fortran
function pair_crosses(ta, tb) result(yes)

Arguments

NameTypeIntentAttributesDescription
tatype(vector_R8P)in
tbtype(vector_R8P)in

Call graph

plane_relation ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function plane_relation(ta, tb) result(rel)

Arguments

NameTypeIntentAttributesDescription
tatype(vector_R8P)in
tbtype(vector_R8P)in

Call graph

float_pair ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function float_pair(ta, tb) result(res)

Arguments

NameTypeIntentAttributesDescription
tatype(vector_R8P)in
tbtype(vector_R8P)in

Call graph

cross_arr ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function cross_arr(a, b) result(c)

Arguments

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

Call graph

coplanar_overlap ​

Attributes: pure

Returns: logical

fortran
function coplanar_overlap(ta, tb) result(yes)

Arguments

NameTypeIntentAttributesDescription
tatype(vector_R8P)in
tbtype(vector_R8P)in

Call graph

normal3 ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function normal3(t) result(n)

Arguments

NameTypeIntentAttributesDescription
ttype(vector_R8P)in

Call graph

degenerate ​

Attributes: pure

Returns: logical

fortran
function degenerate(tri) result(yes)

Arguments

NameTypeIntentAttributesDescription
tritype(vector_R8P)in

Call graph

same_xyz ​

Attributes: pure

Returns: logical

fortran
function same_xyz(a, b) result(same)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in
btype(vector_R8P)in

Call graph