fossil_boolean
Source: src/lib/fossil_boolean.f90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
BOOL_UNION | integer(kind=I4P) | parameter | |
BOOL_INTERSECT | integer(kind=I4P) | parameter | |
BOOL_DIFFERENCE | integer(kind=I4P) | parameter | |
BOOL_SYMDIFF | integer(kind=I4P) | parameter | |
BOOL_STATUS_OK | integer(kind=I4P) | parameter | |
BOOL_STATUS_CDT_FAILED | integer(kind=I4P) | parameter | |
BOOL_STATUS_NOT_IMPLEMENTED | integer(kind=I4P) | parameter | |
BOOL_STATUS_EMPTY_INPUT | integer(kind=I4P) | parameter | |
WN_INSIDE_THRESHOLD | real(kind=R8P) | parameter | |
WN_BOUNDARY_TOL | real(kind=R8P) | parameter |
Subroutines
boolean_compute
fortran
subroutine boolean_compute(facet_a, tree_a, facet_b, tree_b, op, kept_facet, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet_a | type(facet_object) | in | ||
tree_a | type(aabb_tree_object) | in | target | |
facet_b | type(facet_object) | in | ||
tree_b | type(aabb_tree_object) | in | target | |
op | integer(kind=I4P) | in | ||
kept_facet | type(facet_object) | out | allocatable | |
status | integer(kind=I4P) | out | optional |
Call graph
tag_and_select
fortran
subroutine tag_and_select(arr, sub_facet, sub_owner, sub_source, sub_pid, sub_cut, facet_a, tree_a, facet_b, tree_b, op, kept_facet, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
arr | type(arrangement_t) | in | ||
sub_facet | type(facet_object) | in | ||
sub_owner | integer(kind=I4P) | in | ||
sub_source | integer(kind=I4P) | in | ||
sub_pid | integer(kind=I4P) | in | ||
sub_cut | logical | in | ||
facet_a | type(facet_object) | in | ||
tree_a | type(aabb_tree_object) | in | target | |
facet_b | type(facet_object) | in | ||
tree_b | type(aabb_tree_object) | in | target | |
op | integer(kind=I4P) | in | ||
kept_facet | type(facet_object) | out | allocatable | |
status | integer(kind=I4P) | out | optional |
Call graph
local_inside
fortran
subroutine local_inside(arr, gi, pid, e, inside, ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
arr | type(arrangement_t) | in | ||
gi | integer(kind=I4P) | in | ||
pid | integer(kind=I4P) | in | ||
e | integer(kind=I4P) | in | ||
inside | logical | out | ||
ok | logical | out |
Call graph
build_patches
fortran
subroutine build_patches(owner, pid, cut, patch, np)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
owner | integer(kind=I4P) | in | ||
pid | integer(kind=I4P) | in | ||
cut | logical | in | ||
patch | integer(kind=I4P) | out | allocatable | |
np | integer(kind=I4P) | out |
Call graph
sort_keys
fortran
subroutine sort_keys(key, ord)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
key | integer(kind=I4P) | in | ||
ord | integer(kind=I4P) | inout |
Call graph
weld_vertices
fortran
subroutine weld_vertices(xa, xb, tol, map)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
xa | real(kind=R8P) | in | ||
xb | real(kind=R8P) | in | ||
tol | real(kind=R8P) | in | ||
map | integer(kind=I4P) | out | allocatable |
Call graph
apply_selection
Attributes: pure
fortran
subroutine apply_selection(op, owner, in_a, in_b, shared, orient_dot, keep, flip, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
op | integer(kind=I4P) | in | ||
owner | integer(kind=I4P) | in | ||
in_a | logical | in | ||
in_b | logical | in | ||
shared | logical | in | ||
orient_dot | real(kind=R8P) | in | ||
keep | logical | out | ||
flip | logical | out | ||
status | integer(kind=I4P) | out | optional |
Call graph