fossil_boolean_harness
Source: src/tests/fossil_boolean_harness.f90
Dependencies
Contents
- boolean_report_t
- check_boolean
- print_report
- joint_box
- moments
- drop_first_facet
- merge_surfaces
- boolean_pass
- pair_depth
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
OPS | integer(kind=I4P) | parameter | |
OPN | character(len=1) | parameter | |
TOL_IDENTITY | real(kind=R8P) | parameter | |
TOL_FOLD | real(kind=R8P) | parameter |
Derived Types
boolean_report_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
status | integer(kind=I4P) | ||
facets | integer(kind=I4P) | ||
volume | real(kind=R8P) | ||
va | real(kind=R8P) | ||
vb | real(kind=R8P) | ||
vol_res | real(kind=R8P) | ||
mom_res | real(kind=R8P) | ||
area_res | real(kind=R8P) | ||
dev_lower | real(kind=R8P) | ||
dev_upper | real(kind=R8P) | ||
member_bad | integer(kind=I4P) | ||
member_n | integer(kind=I4P) | ||
validity_checked | logical | ||
watertight | logical | ||
manifold | logical | ||
self_pairs | integer(kind=I4P) | ||
fold_depth | real(kind=R8P) |
Subroutines
check_boolean
fortran
subroutine check_boolean(a, b, rep, npoints, seed, area_identity, contact, corrupt, weld)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | type(surface_stl_object) | in | ||
b | type(surface_stl_object) | in | ||
rep | type(boolean_report_t) | out | ||
npoints | integer(kind=I4P) | in | ||
seed | integer(kind=I8P) | in | ||
area_identity | logical | in | ||
contact | logical | in | ||
corrupt | integer(kind=I4P) | in | optional | |
weld | real(kind=R8P) | in | optional |
Call graph
print_report
fortran
subroutine print_report(label, rep)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
label | character(len=*) | in | ||
rep | type(boolean_report_t) | in |
Call graph
joint_box
fortran
subroutine joint_box(a, b, bmin, bmax)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | type(surface_stl_object) | in | ||
b | type(surface_stl_object) | in | ||
bmin | type(vector_R8P) | out | ||
bmax | type(vector_R8P) | out |
Call graph
moments
fortran
subroutine moments(s, o, v, c)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
s | type(surface_stl_object) | in | ||
o | real(kind=R8P) | in | ||
v | real(kind=R8P) | out | ||
c | real(kind=R8P) | out |
Call graph
drop_first_facet
fortran
subroutine drop_first_facet(r)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
r | type(surface_stl_object) | inout |
Call graph
merge_surfaces
fortran
subroutine merge_surfaces(a, b, ab)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | type(surface_stl_object) | in | ||
b | type(surface_stl_object) | in | ||
ab | type(surface_stl_object) | out |
Call graph
Functions
boolean_pass
Attributes: pure
Returns: logical
fortran
function boolean_pass(rep) result(ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
rep | type(boolean_report_t) | in |
Call graph
pair_depth
Returns: real(kind=R8P)
fortran
function pair_depth(r, ia, ib) result(d)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
r | type(surface_stl_object) | in | ||
ia | integer(kind=I4P) | in | ||
ib | integer(kind=I4P) | in |
Call graph