fossil_decimate
Source: src/lib/fossil_decimate.f90
Dependencies
Contents
- cert_t
- decimate
- collect_vertex_ids
- collect_vertex_coords
- build_v2f
- v2x_append
- build_quadrics
- build_edges
- sort_he
- qsort_he
- build_v2e
- cost_all_edges
- cost_one_edge
- solve_3x3
- heap_build
- heap_decrease_key
- heap_increase_key
- heap_insert
- heap_sift_up
- heap_sift_down
- gather_incidence
- find_shared_facets
- vertex_ring
- recost_va_edges
- add_constraint_planes
- add_edge_plane
- materialize_output
- cert_setup
- fan_build
- clip_polygon
- quadric_eval
- heap_pop
- try_collapse
- check_normal_flip
- check_normal_flip_around_va
- cross
- link_condition_holds
- has_facet
- find_edge
- edge_mode
- rim_degree
- cert_point
- cert_vertex
- cert_collapse
- cert_new_facet
- cert_triangle
- cert_bound
- piece_bound
- edge_bound
- wedge_bound
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
DEC_STATUS_OK | integer(kind=I4P) | parameter | |
DEC_STATUS_BAD_INPUT | integer(kind=I4P) | parameter | |
DEC_STATUS_NO_PROGRESS | integer(kind=I4P) | parameter | |
QSIZE | integer(kind=I4P) | parameter | |
NOT_IN_HEAP | integer(kind=I4P) | parameter | |
MODE_FREE | integer(kind=I4P) | parameter | |
MODE_AT_A | integer(kind=I4P) | parameter | |
MODE_AT_B | integer(kind=I4P) | parameter | |
MODE_RIM | integer(kind=I4P) | parameter | |
MODE_LOCKED | integer(kind=I4P) | parameter | |
CERT_MAX_DEPTH | integer(kind=I4P) | parameter | |
CERT_MAX_TRIANGLES | integer(kind=I4P) | parameter |
Derived Types
cert_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
on | logical | ||
eps | real(kind=R8P) | ||
rfacet | type(facet_object) | pointer | |
rtree | type(aabb_tree_object) | pointer | |
idx | integer(kind=I4P) | allocatable | |
rf | integer(kind=I4P) | allocatable | |
rv | real(kind=R8P) | allocatable | |
r2f_start | integer(kind=I4P) | allocatable | |
r2f | integer(kind=I4P) | allocatable | |
fan_state | integer(kind=I4P) | allocatable | |
fan_n | real(kind=R8P) | allocatable | |
vd | real(kind=R8P) | allocatable | |
vg | integer(kind=I4P) | allocatable |
Subroutines
decimate
subroutine decimate(facet, target_facets, max_error, rim_collapses, reference_facet, reference_tree, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | inout | allocatable | |
target_facets | integer(kind=I4P) | in | ||
max_error | real(kind=R8P) | in | optional | |
rim_collapses | logical | in | optional | |
reference_facet | type(facet_object) | in | target, optional | |
reference_tree | type(aabb_tree_object) | in | target, optional | |
status | integer(kind=I4P) | out | optional |
Call graph
collect_vertex_ids
subroutine collect_vertex_ids(facet, f_v, nv, st)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
f_v | integer(kind=I4P) | out | allocatable | |
nv | integer(kind=I4P) | out | ||
st | integer(kind=I4P) | out |
Call graph
collect_vertex_coords
subroutine collect_vertex_coords(facet, f_v, vcoord)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
f_v | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | inout |
Call graph
build_v2f
subroutine build_v2f(f_v, nv, v2f_head, v2f_count, v2f_cap, v2f_val)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
f_v | integer(kind=I4P) | in | ||
nv | integer(kind=I4P) | in | ||
v2f_head | integer(kind=I4P) | out | allocatable | |
v2f_count | integer(kind=I4P) | out | allocatable | |
v2f_cap | integer(kind=I4P) | out | allocatable | |
v2f_val | integer(kind=I4P) | out | allocatable |
Call graph
v2x_append
subroutine v2x_append(head, count, cap, val, vertex, item)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
head | integer(kind=I4P) | inout | allocatable | |
count | integer(kind=I4P) | inout | ||
cap | integer(kind=I4P) | inout | ||
val | integer(kind=I4P) | inout | allocatable | |
vertex | integer(kind=I4P) | in | ||
item | integer(kind=I4P) | in |
Call graph
build_quadrics
subroutine build_quadrics(facet, f_v, vcoord, Q)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
f_v | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in | ||
Q | real(kind=R8P) | inout |
Call graph
build_edges
subroutine build_edges(facet, f_v, e_v, ne)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
f_v | integer(kind=I4P) | in | ||
e_v | integer(kind=I4P) | out | allocatable | |
ne | integer(kind=I4P) | out |
Call graph
sort_he
subroutine sort_he(he_lo, he_hi, order)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
he_lo | integer(kind=I4P) | in | ||
he_hi | integer(kind=I4P) | in | ||
order | integer(kind=I4P) | out | allocatable |
Call graph
qsort_he
Attributes: recursive
subroutine qsort_he(he_lo, he_hi, order, lo, hi)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
he_lo | integer(kind=I4P) | in | ||
he_hi | integer(kind=I4P) | in | ||
order | integer(kind=I4P) | inout | ||
lo | integer(kind=I4P) | in | ||
hi | integer(kind=I4P) | in |
Call graph
build_v2e
subroutine build_v2e(e_v, ne, nv, v2e_head, v2e_count, v2e_cap, v2e_val)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
e_v | integer(kind=I4P) | in | ||
ne | integer(kind=I4P) | in | ||
nv | integer(kind=I4P) | in | ||
v2e_head | integer(kind=I4P) | out | allocatable | |
v2e_count | integer(kind=I4P) | out | allocatable | |
v2e_cap | integer(kind=I4P) | out | allocatable | |
v2e_val | integer(kind=I4P) | out | allocatable |
Call graph
cost_all_edges
subroutine cost_all_edges(e_v, ne, vcoord, Q, e_target, e_cost)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
e_v | integer(kind=I4P) | in | ||
ne | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in | ||
Q | real(kind=R8P) | in | ||
e_target | real(kind=R8P) | inout | ||
e_cost | real(kind=R8P) | inout |
Call graph
cost_one_edge
subroutine cost_one_edge(va, vb, vcoord, Q, target, cost, mode)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in | ||
Q | real(kind=R8P) | in | ||
target | real(kind=R8P) | out | ||
cost | real(kind=R8P) | out | ||
mode | integer(kind=I4P) | in | optional |
Call graph
solve_3x3
Attributes: pure
subroutine solve_3x3(A, b, x, det)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
A | real(kind=R8P) | in | ||
b | real(kind=R8P) | in | ||
x | real(kind=R8P) | out | ||
det | real(kind=R8P) | out |
Call graph
heap_build
subroutine heap_build(ne, e_alive, e_cost, heap, e_heappos, heap_size)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
ne | integer(kind=I4P) | in | ||
e_alive | logical | in | ||
e_cost | real(kind=R8P) | in | ||
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
heap_size | integer(kind=I4P) | inout |
Call graph
heap_decrease_key
subroutine heap_decrease_key(heap, e_heappos, e_cost, heap_size, e)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
e_cost | real(kind=R8P) | in | ||
heap_size | integer(kind=I4P) | in | ||
e | integer(kind=I4P) | in |
Call graph
heap_increase_key
subroutine heap_increase_key(heap, e_heappos, e_cost, heap_size, e)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
e_cost | real(kind=R8P) | in | ||
heap_size | integer(kind=I4P) | in | ||
e | integer(kind=I4P) | in |
Call graph
heap_insert
subroutine heap_insert(heap, e_heappos, e_cost, heap_size, e)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
e_cost | real(kind=R8P) | in | ||
heap_size | integer(kind=I4P) | inout | ||
e | integer(kind=I4P) | in |
Call graph
heap_sift_up
subroutine heap_sift_up(heap, e_heappos, e_cost, heap_size, i)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
e_cost | real(kind=R8P) | in | ||
heap_size | integer(kind=I4P) | in | ||
i | integer(kind=I4P) | in |
Call graph
heap_sift_down
subroutine heap_sift_down(heap, e_heappos, e_cost, heap_size, i)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
e_cost | real(kind=R8P) | in | ||
heap_size | integer(kind=I4P) | in | ||
i | integer(kind=I4P) | in |
Call graph
gather_incidence
subroutine gather_incidence(head, count, val, vertex, out)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
head | integer(kind=I4P) | in | allocatable | |
count | integer(kind=I4P) | in | ||
val | integer(kind=I4P) | in | allocatable | |
vertex | integer(kind=I4P) | in | ||
out | integer(kind=I4P) | out | allocatable |
Call graph
find_shared_facets
subroutine find_shared_facets(va, vb, f_v, facet_alive, shared_facets, n_shared)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
f_v | integer(kind=I4P) | in | ||
facet_alive | logical | in | ||
shared_facets | integer(kind=I4P) | out | ||
n_shared | integer(kind=I4P) | out |
Call graph
vertex_ring
subroutine vertex_ring(v, v2f_head, v2f_count, v2f_val, f_v, facet_alive, nb, cnt, n)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
v | integer(kind=I4P) | in | ||
v2f_head | integer(kind=I4P) | in | allocatable | |
v2f_count | integer(kind=I4P) | in | ||
v2f_val | integer(kind=I4P) | in | allocatable | |
f_v | integer(kind=I4P) | in | ||
facet_alive | logical | in | ||
nb | integer(kind=I4P) | out | allocatable | |
cnt | integer(kind=I4P) | out | allocatable | |
n | integer(kind=I4P) | out |
Call graph
recost_va_edges
subroutine recost_va_edges(va, v2e_head, v2e_count, v2e_val, e_v, e_alive, vcoord, Q, e_target, e_cost, heap, e_heappos, heap_size)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
v2e_head | integer(kind=I4P) | in | allocatable | |
v2e_count | integer(kind=I4P) | in | ||
v2e_val | integer(kind=I4P) | in | allocatable | |
e_v | integer(kind=I4P) | in | ||
e_alive | logical | in | ||
vcoord | real(kind=R8P) | in | ||
Q | real(kind=R8P) | in | ||
e_target | real(kind=R8P) | inout | ||
e_cost | real(kind=R8P) | inout | ||
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
heap_size | integer(kind=I4P) | inout |
Call graph
add_constraint_planes
subroutine add_constraint_planes(facet, f_v, f_p, vcoord, v2f_head, v2f_count, v2f_val, rims, open, Q)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
f_v | integer(kind=I4P) | in | ||
f_p | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in | ||
v2f_head | integer(kind=I4P) | in | allocatable | |
v2f_count | integer(kind=I4P) | in | ||
v2f_val | integer(kind=I4P) | in | allocatable | |
rims | logical | in | ||
open | logical | in | ||
Q | real(kind=R8P) | inout |
Call graph
add_edge_plane
subroutine add_edge_plane(p, r, n, n_alt, vcoord, Q)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | integer(kind=I4P) | in | ||
r | integer(kind=I4P) | in | ||
n | real(kind=R8P) | in | ||
n_alt | real(kind=R8P) | in | ||
vcoord | real(kind=R8P) | in | ||
Q | real(kind=R8P) | inout |
Call graph
materialize_output
subroutine materialize_output(facet, f_v, vcoord, facet_alive)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | inout | allocatable | |
f_v | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in | ||
facet_alive | logical | in |
Call graph
cert_setup
subroutine cert_setup(cert, eps, reference_facet, reference_tree, nv, ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | inout | ||
eps | real(kind=R8P) | in | ||
reference_facet | type(facet_object) | in | target | |
reference_tree | type(aabb_tree_object) | in | target | |
nv | integer(kind=I4P) | in | ||
ok | logical | out |
Call graph
fan_build
subroutine fan_build(cert, v)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | inout | ||
v | integer(kind=I4P) | in |
Call graph
clip_polygon
Attributes: pure
subroutine clip_polygon(np, p, m, o, nq, q)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
np | integer(kind=I4P) | in | ||
p | real(kind=R8P) | in | ||
m | real(kind=R8P) | in | ||
o | real(kind=R8P) | in | ||
nq | integer(kind=I4P) | out | ||
q | real(kind=R8P) | out |
Call graph
Functions
quadric_eval
Attributes: pure
Returns: real(kind=R8P)
function quadric_eval(Q, x) result(c)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
Q | real(kind=R8P) | in | ||
x | real(kind=R8P) | in |
Call graph
heap_pop
Returns: integer(kind=I4P)
function heap_pop(heap, e_heappos, e_cost, heap_size) result(top)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
e_cost | real(kind=R8P) | in | ||
heap_size | integer(kind=I4P) | inout |
Call graph
try_collapse
Returns: logical
function try_collapse(va, vb, target, f_v, vcoord, vertex_alive, facet_alive, v2f_head, v2f_count, v2f_cap, v2f_val, v2e_head, v2e_count, v2e_cap, v2e_val, e_v, e_alive, Q, nf_alive, f_p, p_live, e_target, e_cost, heap, e_heappos, heap_size, cert, refused) result(accepted)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
target | real(kind=R8P) | in | ||
f_v | integer(kind=I4P) | inout | ||
vcoord | real(kind=R8P) | inout | ||
vertex_alive | logical | inout | ||
facet_alive | logical | inout | ||
v2f_head | integer(kind=I4P) | inout | allocatable | |
v2f_count | integer(kind=I4P) | inout | allocatable | |
v2f_cap | integer(kind=I4P) | inout | allocatable | |
v2f_val | integer(kind=I4P) | inout | allocatable | |
v2e_head | integer(kind=I4P) | inout | allocatable | |
v2e_count | integer(kind=I4P) | inout | allocatable | |
v2e_cap | integer(kind=I4P) | inout | allocatable | |
v2e_val | integer(kind=I4P) | inout | allocatable | |
e_v | integer(kind=I4P) | inout | ||
e_alive | logical | inout | ||
Q | real(kind=R8P) | inout | ||
nf_alive | integer(kind=I4P) | inout | ||
f_p | integer(kind=I4P) | in | ||
p_live | integer(kind=I4P) | inout | ||
e_target | real(kind=R8P) | inout | ||
e_cost | real(kind=R8P) | inout | ||
heap | integer(kind=I4P) | inout | ||
e_heappos | integer(kind=I4P) | inout | ||
heap_size | integer(kind=I4P) | inout | ||
cert | type(cert_t) | inout | ||
refused | logical | out |
Call graph
check_normal_flip
Returns: logical
function check_normal_flip(va, vb, target, facets_b, n_b, shared_facets, n_shared, f_v, vcoord, facet_alive) result(would_flip)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
target | real(kind=R8P) | in | ||
facets_b | integer(kind=I4P) | in | ||
n_b | integer(kind=I4P) | in | ||
shared_facets | integer(kind=I4P) | in | ||
n_shared | integer(kind=I4P) | in | ||
f_v | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in | ||
facet_alive | logical | in |
Call graph
check_normal_flip_around_va
Returns: logical
function check_normal_flip_around_va(va, vb, target, v2f_head, v2f_count, v2f_val, shared_facets, n_shared, f_v, vcoord, facet_alive) result(would_flip)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
target | real(kind=R8P) | in | ||
v2f_head | integer(kind=I4P) | in | allocatable | |
v2f_count | integer(kind=I4P) | in | ||
v2f_val | integer(kind=I4P) | in | allocatable | |
shared_facets | integer(kind=I4P) | in | ||
n_shared | integer(kind=I4P) | in | ||
f_v | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in | ||
facet_alive | logical | in |
Call graph
cross
Attributes: pure
Returns: real(kind=R8P)
function cross(a, b) result(c)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | real(kind=R8P) | in | ||
b | real(kind=R8P) | in |
Call graph
link_condition_holds
Returns: logical
function link_condition_holds(va, vb, v2f_head, v2f_count, v2f_val, f_v, facet_alive, shared_facets, n_shared) result(holds)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
v2f_head | integer(kind=I4P) | in | allocatable | |
v2f_count | integer(kind=I4P) | in | ||
v2f_val | integer(kind=I4P) | in | allocatable | |
f_v | integer(kind=I4P) | in | ||
facet_alive | logical | in | ||
shared_facets | integer(kind=I4P) | in | ||
n_shared | integer(kind=I4P) | in |
Call graph
has_facet
Returns: logical
function has_facet(v, c, d, v2f_head, v2f_count, v2f_val, f_v, facet_alive) result(found)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
v | integer(kind=I4P) | in | ||
c | integer(kind=I4P) | in | ||
d | integer(kind=I4P) | in | ||
v2f_head | integer(kind=I4P) | in | allocatable | |
v2f_count | integer(kind=I4P) | in | ||
v2f_val | integer(kind=I4P) | in | allocatable | |
f_v | integer(kind=I4P) | in | ||
facet_alive | logical | in |
Call graph
find_edge
Returns: integer(kind=I4P)
function find_edge(va, vw, v2e_head, v2e_count, v2e_val, e_v, e_alive) result(e_found)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
vw | integer(kind=I4P) | in | ||
v2e_head | integer(kind=I4P) | in | allocatable | |
v2e_count | integer(kind=I4P) | in | ||
v2e_val | integer(kind=I4P) | in | allocatable | |
e_v | integer(kind=I4P) | in | ||
e_alive | logical | in |
Call graph
edge_mode
Returns: integer(kind=I4P)
function edge_mode(va, vb, v_bnd, rims, f_v, f_p, facet_alive, v2f_head, v2f_count, v2f_val) result(mode)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
v_bnd | logical | in | ||
rims | logical | in | ||
f_v | integer(kind=I4P) | in | ||
f_p | integer(kind=I4P) | in | ||
facet_alive | logical | in | ||
v2f_head | integer(kind=I4P) | in | allocatable | |
v2f_count | integer(kind=I4P) | in | ||
v2f_val | integer(kind=I4P) | in | allocatable |
Call graph
rim_degree
Returns: integer(kind=I4P)
function rim_degree(v, w, f_v, f_p, facet_alive, v2f_head, v2f_count, v2f_val) result(deg)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
v | integer(kind=I4P) | in | ||
w | integer(kind=I4P) | in | ||
f_v | integer(kind=I4P) | in | ||
f_p | integer(kind=I4P) | in | ||
facet_alive | logical | in | ||
v2f_head | integer(kind=I4P) | in | allocatable | |
v2f_count | integer(kind=I4P) | in | ||
v2f_val | integer(kind=I4P) | in | allocatable |
Call graph
cert_point
Returns: logical
function cert_point(cert, x, d, g) result(ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | in | ||
x | real(kind=R8P) | in | ||
d | real(kind=R8P) | out | ||
g | integer(kind=I4P) | out |
Call graph
cert_vertex
Returns: logical
function cert_vertex(cert, v, x, d, g) result(ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | inout | ||
v | integer(kind=I4P) | in | ||
x | real(kind=R8P) | in | ||
d | real(kind=R8P) | out | ||
g | integer(kind=I4P) | out |
Call graph
cert_collapse
Returns: logical
function cert_collapse(cert, va, vb, target, facets_b, shared_facets, n_shared, f_v, vcoord, facet_alive, v2f_head, v2f_count, v2f_val, dt, gt) result(ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | inout | ||
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
target | real(kind=R8P) | in | ||
facets_b | integer(kind=I4P) | in | ||
shared_facets | integer(kind=I4P) | in | ||
n_shared | integer(kind=I4P) | in | ||
f_v | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in | ||
facet_alive | logical | in | ||
v2f_head | integer(kind=I4P) | in | allocatable | |
v2f_count | integer(kind=I4P) | in | ||
v2f_val | integer(kind=I4P) | in | allocatable | |
dt | real(kind=R8P) | out | ||
gt | integer(kind=I4P) | out |
Call graph
cert_new_facet
Returns: logical
function cert_new_facet(cert, fv, va, vb, target, dt, gt, vcoord) result(ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | inout | ||
fv | integer(kind=I4P) | in | ||
va | integer(kind=I4P) | in | ||
vb | integer(kind=I4P) | in | ||
target | real(kind=R8P) | in | ||
dt | real(kind=R8P) | in | ||
gt | integer(kind=I4P) | in | ||
vcoord | real(kind=R8P) | in |
Call graph
cert_triangle
Returns: logical
function cert_triangle(cert, c, d, g) result(ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | inout | ||
c | real(kind=R8P) | in | ||
d | real(kind=R8P) | in | ||
g | integer(kind=I4P) | in |
Call graph
cert_bound
Returns: real(kind=R8P)
function cert_bound(cert, c, d, g) result(u)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | inout | ||
c | real(kind=R8P) | in | ||
d | real(kind=R8P) | in | ||
g | integer(kind=I4P) | in |
Call graph
piece_bound
Returns: real(kind=R8P)
function piece_bound(cert, f, np, p) result(u)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | in | ||
f | integer(kind=I4P) | in | ||
np | integer(kind=I4P) | in | ||
p | real(kind=R8P) | in |
Call graph
edge_bound
Returns: real(kind=R8P)
function edge_bound(cert, f1, f2, c) result(u)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | in | ||
f1 | integer(kind=I4P) | in | ||
f2 | integer(kind=I4P) | in | ||
c | real(kind=R8P) | in |
Call graph
wedge_bound
Returns: real(kind=R8P)
function wedge_bound(cert, v, c) result(u)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cert | type(cert_t) | inout | ||
v | integer(kind=I4P) | in | ||
c | real(kind=R8P) | in |
Call graph