fossil_curvature
Source: src/lib/fossil_curvature.f90
Dependencies
Contents
- build_gaussian_curvature
- build_mean_curvature
- build_jet_curvature
- jet_shape_operator
- distinct_ring
- householder_lsq
- menger_curvature
- vertex_curvature_2d
- angle_at
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
CURV_STATUS_OK | integer(kind=I4P) | parameter | |
CURV_STATUS_BAD_INPUT | integer(kind=I4P) | parameter | |
CURV_STATUS_DEGENERATE_TRIANGLE | integer(kind=I4P) | parameter | |
CURV_STATUS_FIT_FAILED | integer(kind=I4P) | parameter | |
DEGENERATE_AREA_TOL | real(kind=R8P) | parameter | |
JET_MERGE_TOL | real(kind=R8P) | parameter | |
JET_MAX_RINGS | integer(kind=I4P) | parameter | |
PI | real(kind=R8P) | parameter |
Subroutines
build_gaussian_curvature
fortran
subroutine build_gaussian_curvature(facet, pool, K, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
pool | type(vertex_pool_object) | in | ||
K | real(kind=R8P) | out | allocatable | |
status | integer(kind=I4P) | out | optional |
Call graph
build_mean_curvature
fortran
subroutine build_mean_curvature(facet, pool, H, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
pool | type(vertex_pool_object) | in | ||
H | real(kind=R8P) | out | allocatable | |
status | integer(kind=I4P) | out | optional |
Call graph
build_jet_curvature
fortran
subroutine build_jet_curvature(facet, pool, H, K, status, principal, directions)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
pool | type(vertex_pool_object) | in | ||
H | real(kind=R8P) | out | allocatable | |
K | real(kind=R8P) | out | allocatable | |
status | integer(kind=I4P) | out | optional | |
principal | real(kind=R8P) | out | allocatable, optional | |
directions | real(kind=R8P) | out | allocatable, optional |
Call graph
jet_shape_operator
Attributes: pure
fortran
subroutine jet_shape_operator(coef, hs, t1, t2, nn, k, d)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
coef | real(kind=R8P) | in | ||
hs | real(kind=R8P) | in | ||
t1 | real(kind=R8P) | in | ||
t2 | real(kind=R8P) | in | ||
nn | real(kind=R8P) | in | ||
k | real(kind=R8P) | out | ||
d | real(kind=R8P) | out |
Call graph
distinct_ring
Attributes: pure
fortran
subroutine distinct_ring(xyz, centre, ring, keep, nd)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
xyz | real(kind=R8P) | in | ||
centre | integer(kind=I4P) | in | ||
ring | integer(kind=I4P) | in | ||
keep | integer(kind=I4P) | out | ||
nd | integer(kind=I4P) | out |
Call graph
householder_lsq
Attributes: pure
fortran
subroutine householder_lsq(a, b, m, n, x, ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | real(kind=R8P) | inout | ||
b | real(kind=R8P) | inout | ||
m | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
x | real(kind=R8P) | out | ||
ok | logical | out |
Call graph
Functions
menger_curvature
Attributes: pure
Returns: real(kind=R8P)
fortran
function menger_curvature(ua, va, ub, vb, uc, vc) result(kappa)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
ua | real(kind=R8P) | in | ||
va | real(kind=R8P) | in | ||
ub | real(kind=R8P) | in | ||
vb | real(kind=R8P) | in | ||
uc | real(kind=R8P) | in | ||
vc | real(kind=R8P) | in |
Call graph
vertex_curvature_2d
Attributes: pure
Returns: real(kind=R8P)
fortran
function vertex_curvature_2d(u, v) result(kappa)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R8P) | in | ||
v | real(kind=R8P) | in |
Call graph
angle_at
Attributes: pure
Returns: real(kind=R8P)
fortran
function angle_at(u, v) result(theta)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | type(vector_R8P) | in | ||
v | type(vector_R8P) | in |
Call graph