Appearance
fossil_facet_object
Source: src/lib/fossil_facet_object.f90
Dependencies
Contents
- facet_object
- load_from_file_interface
- save_into_file_interface
- compute_distance
- compute_metrix
- compute_normal
- compute_pseudo_normals
- compute_vertices_nearby
- connect_nearby_vertices
- destroy
- destroy_connectivity
- initialize
- load_from_file_ascii
- load_from_file_binary
- make_normal_consistent
- resize
- reverse_normal
- save_into_file_ascii
- save_into_file_binary
- translate
- update_connectivity
- flip_edge
- mirror_by_normal
- mirror_by_matrix
- rotate_by_axis_angle
- rotate_by_matrix
- edge_connection_in_other_ref
- facet_assign_facet
- merge_vertices
- put_in_list
- centroid_part
- check_normal
- do_ray_intersect
- largest_edge_len
- smallest_edge_len
- solid_angle
- tetrahedron_volume
- vertex_angle
- vertex_global_id
- face_id
- vertex_local_id
Derived Types
facet_object
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
normal | type(vector_R8P) | ||
vertex | type(vector_R8P) | ||
centroid | type(vector_R8P) | ||
E12 | type(vector_R8P) | ||
E13 | type(vector_R8P) | ||
a | real(kind=R8P) | ||
b | real(kind=R8P) | ||
c | real(kind=R8P) | ||
det | real(kind=R8P) | ||
d | real(kind=R8P) | ||
bb | type(vector_R8P) | ||
id | integer(kind=I4P) | ||
fcon_edge_12 | integer(kind=I4P) | ||
fcon_edge_23 | integer(kind=I4P) | ||
fcon_edge_31 | integer(kind=I4P) | ||
vertex_occurrence | type(list_id_object) | ||
vertex_nearby | type(list_id_object) | ||
edge_12_pnormal | type(vector_R8P) | ||
edge_23_pnormal | type(vector_R8P) | ||
edge_31_pnormal | type(vector_R8P) | ||
vertex_pnormal | type(vector_R8P) |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
centroid_part | pass(self) | |
check_normal | pass(self) | |
compute_distance | pass(self) | |
compute_metrix | pass(self) | |
compute_normal | pass(self) | |
compute_pseudo_normals | pass(self) | |
compute_vertices_nearby | pass(self) | |
connect_nearby_vertices | pass(self) | |
destroy | pass(self) | |
destroy_connectivity | pass(self) | |
do_ray_intersect | pass(self) | |
initialize | pass(self) | |
largest_edge_len | pass(self) | |
load_from_file_ascii | pass(self) | |
load_from_file_binary | pass(self) | |
make_normal_consistent | pass(self) | |
mirror | ||
reverse_normal | pass(self) | |
resize | pass(self) | |
rotate | ||
save_into_file_ascii | pass(self) | |
save_into_file_binary | pass(self) | |
smallest_edge_len | pass(self) | |
solid_angle | pass(self) | |
tetrahedron_volume | pass(self) | |
translate | pass(self) | |
update_connectivity | pass(self) | |
vertex_angle | pass(self) | |
vertex_global_id | pass(self) | |
assignment(=) | ||
edge_connection_in_other_ref | pass(self) | |
facet_assign_facet | pass(lhs) | |
flip_edge | pass(self) | |
mirror_by_normal | pass(self) | |
mirror_by_matrix | pass(self) | |
rotate_by_axis_angle | pass(self) | |
rotate_by_matrix | pass(self) |
Interfaces
load_from_file_interface
load_from_file_interface
fortran
subroutine load_from_file_interface(self, file_unit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
file_unit | integer(kind=I4P) | in |
save_into_file_interface
save_into_file_interface
fortran
subroutine save_into_file_interface(self, file_unit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
file_unit | integer(kind=I4P) | in |
Subroutines
compute_distance
Attributes: pure
fortran
subroutine compute_distance(self, point, distance)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
point | type(vector_R8P) | in | ||
distance | real(kind=R8P) | out |
Call graph
compute_metrix
Attributes: elemental
fortran
subroutine compute_metrix(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout |
Call graph
compute_normal
Attributes: elemental
fortran
subroutine compute_normal(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout |
Call graph
compute_pseudo_normals
Attributes: pure
fortran
subroutine compute_pseudo_normals(self, facet)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
facet | type(facet_object) | in |
Call graph
compute_vertices_nearby
Attributes: pure
fortran
subroutine compute_vertices_nearby(self, other, tolerance_to_be_identical, tolerance_to_be_nearby)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
other | type(facet_object) | inout | ||
tolerance_to_be_identical | real(kind=R8P) | in | ||
tolerance_to_be_nearby | real(kind=R8P) | in |
Call graph
connect_nearby_vertices
Attributes: pure
fortran
subroutine connect_nearby_vertices(self, facet)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
facet | type(facet_object) | inout |
Call graph
destroy
Attributes: elemental
fortran
subroutine destroy(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout |
Call graph
destroy_connectivity
Attributes: elemental
fortran
subroutine destroy_connectivity(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout |
Call graph
initialize
Attributes: elemental
fortran
subroutine initialize(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout |
Call graph
load_from_file_ascii
fortran
subroutine load_from_file_ascii(self, file_unit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
file_unit | integer(kind=I4P) | in |
Call graph
load_from_file_binary
fortran
subroutine load_from_file_binary(self, file_unit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
file_unit | integer(kind=I4P) | in |
Call graph
make_normal_consistent
Attributes: pure
fortran
subroutine make_normal_consistent(self, edge_dir, other)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
edge_dir | character(len=*) | in | ||
other | type(facet_object) | inout |
Call graph
resize
Attributes: elemental
fortran
subroutine resize(self, factor, center)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
factor | type(vector_R8P) | in | ||
center | type(vector_R8P) | in |
Call graph
reverse_normal
Attributes: elemental
fortran
subroutine reverse_normal(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout |
Call graph
save_into_file_ascii
fortran
subroutine save_into_file_ascii(self, file_unit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
file_unit | integer(kind=I4P) | in |
Call graph
save_into_file_binary
fortran
subroutine save_into_file_binary(self, file_unit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
file_unit | integer(kind=I4P) | in |
Call graph
translate
Attributes: elemental
fortran
subroutine translate(self, delta, recompute_metrix)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
delta | type(vector_R8P) | in | ||
recompute_metrix | logical | in | optional |
Call graph
update_connectivity
Attributes: pure
fortran
subroutine update_connectivity(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout |
Call graph
flip_edge
Attributes: pure
fortran
subroutine flip_edge(self, edge_dir)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
edge_dir | character(len=*) | in |
Call graph
mirror_by_normal
Attributes: pure
fortran
subroutine mirror_by_normal(self, normal, recompute_metrix)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
normal | type(vector_R8P) | in | ||
recompute_metrix | logical | in | optional |
Call graph
mirror_by_matrix
Attributes: pure
fortran
subroutine mirror_by_matrix(self, matrix, recompute_metrix)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
matrix | real(kind=R8P) | in | ||
recompute_metrix | logical | in | optional |
Call graph
rotate_by_axis_angle
Attributes: pure
fortran
subroutine rotate_by_axis_angle(self, axis, angle, recompute_metrix)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
axis | type(vector_R8P) | in | ||
angle | real(kind=R8P) | in | ||
recompute_metrix | logical | in | optional |
Call graph
rotate_by_matrix
Attributes: pure
fortran
subroutine rotate_by_matrix(self, matrix, recompute_metrix)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | inout | ||
matrix | real(kind=R8P) | in | ||
recompute_metrix | logical | in | optional |
Call graph
edge_connection_in_other_ref
Attributes: pure
fortran
subroutine edge_connection_in_other_ref(self, other, edge_dir, edge)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
other | type(facet_object) | in | ||
edge_dir | character(len=*) | out | ||
edge | type(vector_R8P) | out |
Call graph
facet_assign_facet
Attributes: pure
fortran
subroutine facet_assign_facet(lhs, rhs)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
lhs | class(facet_object) | inout | ||
rhs | type(facet_object) | in |
merge_vertices
Attributes: pure
fortran
subroutine merge_vertices(vertex, facet, nearby)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
vertex | type(vector_R8P) | inout | ||
facet | type(facet_object) | inout | ||
nearby | type(list_id_object) | inout |
Call graph
put_in_list
Attributes: pure
fortran
subroutine put_in_list(id, list)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
id | integer(kind=I4P) | in | ||
list | integer(kind=I4P) | inout | allocatable |
Functions
centroid_part
Attributes: pure
Returns: type(vector_R8P)
fortran
function centroid_part(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in |
Call graph
check_normal
Attributes: elemental
Returns: logical
fortran
function check_normal(self) result(is_consistent)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in |
Call graph
do_ray_intersect
Attributes: pure
Returns: logical
fortran
function do_ray_intersect(self, ray_origin, ray_direction) result(intersect)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
ray_origin | type(vector_R8P) | in | ||
ray_direction | type(vector_R8P) | in |
Call graph
largest_edge_len
Attributes: pure
Returns: real(kind=R8P)
fortran
function largest_edge_len(self) result(largest)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in |
Call graph
smallest_edge_len
Attributes: pure
Returns: real(kind=R8P)
fortran
function smallest_edge_len(self) result(smallest)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in |
Call graph
solid_angle
Attributes: pure
Returns: real(kind=R8P)
fortran
function solid_angle(self, point)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
point | type(vector_R8P) | in |
Call graph
tetrahedron_volume
Attributes: pure
Returns: real(kind=R8P)
fortran
function tetrahedron_volume(self, apex) result(volume)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
apex | type(vector_R8P) | in |
Call graph
vertex_angle
Attributes: pure
Returns: real(kind=R8P)
fortran
function vertex_angle(self, vertex_id)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
vertex_id | integer(kind=I4P) | in |
Call graph
vertex_global_id
Attributes: pure
Returns: integer(kind=I4P)
fortran
function vertex_global_id(self, vertex_id)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(facet_object) | in | ||
vertex_id | integer(kind=I4P) | in |
Call graph
face_id
Attributes: pure
Returns: integer(kind=I4P)
fortran
function face_id(vertex_global_id)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
vertex_global_id | integer(kind=I4P) | in |
Call graph
vertex_local_id
Attributes: pure
Returns: integer(kind=I4P)
fortran
function vertex_local_id(face_id, vertex_global_id)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
face_id | integer(kind=I4P) | in | ||
vertex_global_id | integer(kind=I4P) | in |
Call graph