fossil_field_transfer
Source: src/lib/fossil_field_transfer.f90
Dependencies
Contents
- transfer_to_closure
- transfer_to_samples
- samples_to_vertices
- transfer_field_3d
- transfer_field_2d
- transfer_to_closure_3d
- transfer_to_closure_2d
- transfer_to_samples_3d
- transfer_to_samples_2d
- samples_to_vertices_3d
- samples_to_vertices_2d
- pose_3d
- pose_2d_arrays
- facet_vertices
- vertex_csr
- fit_matrix
- run_3d
- stage_3d
- run_2d
- stage_2d
- ilw_gather
- s2v_run
- s2v_elements
- s2v_vertices
- transfer_weights_3d_oac
- transfer_weights_2d_oac
- neumaier_oac
- check_3d
- check_2d
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
MODE_FACET | integer(kind=I4P) | parameter | |
MODE_VERTEX | integer(kind=I4P) | parameter | |
MODE_RULE | integer(kind=I4P) | parameter |
Interfaces
transfer_to_closure
Module procedures: transfer_to_closure_3d, transfer_to_closure_2d
transfer_to_samples
Module procedures: transfer_to_samples_3d, transfer_to_samples_2d
samples_to_vertices
Module procedures: samples_to_vertices_3d, samples_to_vertices_2d
Subroutines
transfer_field_3d
subroutine transfer_field_3d(surface, facets, points, values, status, vertex_field, facet_field, pose, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | target | |
facets | integer(kind=I4P) | in | ||
points | real(kind=R8P) | in | ||
values | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
vertex_field | real(kind=R8P) | in | optional | |
facet_field | real(kind=R8P) | in | optional | |
pose | type(rigid_pose_t) | in | optional | |
device | logical | in | optional |
Call graph
transfer_field_2d
subroutine transfer_field_2d(curve, segments, points, values, status, vertex_field, segment_field, pose, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
curve | type(curve_object) | in | ||
segments | integer(kind=I4P) | in | ||
points | real(kind=R8P) | in | ||
values | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
vertex_field | real(kind=R8P) | in | optional | |
segment_field | real(kind=R8P) | in | optional | |
pose | type(rigid_pose_2d_t) | in | optional | |
device | logical | in | optional |
Call graph
transfer_to_closure_3d
subroutine transfer_to_closure_3d(surface, closure, values, status, vertex_field, facet_field, ilw_values, pose, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | target | |
closure | type(ib_closure_t) | in | ||
values | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
vertex_field | real(kind=R8P) | in | optional | |
facet_field | real(kind=R8P) | in | optional | |
ilw_values | real(kind=R8P) | out | optional | |
pose | type(rigid_pose_t) | in | optional | |
device | logical | in | optional |
Call graph
transfer_to_closure_2d
subroutine transfer_to_closure_2d(curve, closure, values, status, vertex_field, segment_field, ilw_values, pose, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
curve | type(curve_object) | in | ||
closure | type(ib_closure_t) | in | ||
values | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
vertex_field | real(kind=R8P) | in | optional | |
segment_field | real(kind=R8P) | in | optional | |
ilw_values | real(kind=R8P) | out | optional | |
pose | type(rigid_pose_2d_t) | in | optional | |
device | logical | in | optional |
Call graph
transfer_to_samples_3d
subroutine transfer_to_samples_3d(surface, samples, values, status, vertex_field, facet_field, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | target | |
samples | type(load_samples_t) | in | ||
values | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
vertex_field | real(kind=R8P) | in | optional | |
facet_field | real(kind=R8P) | in | optional | |
device | logical | in | optional |
Call graph
transfer_to_samples_2d
subroutine transfer_to_samples_2d(curve, samples, values, status, vertex_field, segment_field, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
curve | type(curve_object) | in | ||
samples | type(load_samples_t) | in | ||
values | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
vertex_field | real(kind=R8P) | in | optional | |
segment_field | real(kind=R8P) | in | optional | |
device | logical | in | optional |
Call graph
samples_to_vertices_3d
subroutine samples_to_vertices_3d(surface, samples, values, field, status, linear, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | target | |
samples | type(load_samples_t) | in | ||
values | real(kind=R8P) | in | ||
field | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
linear | logical | in | optional | |
device | logical | in | optional |
Call graph
samples_to_vertices_2d
subroutine samples_to_vertices_2d(curve, samples, values, field, status, linear, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
curve | type(curve_object) | in | ||
samples | type(load_samples_t) | in | ||
values | real(kind=R8P) | in | ||
field | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
linear | logical | in | optional | |
device | logical | in | optional |
Call graph
pose_3d
subroutine pose_3d(pose, rp, tp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
pose | type(rigid_pose_t) | in | optional | |
rp | real(kind=R8P) | out | ||
tp | real(kind=R8P) | out |
Call graph
pose_2d_arrays
subroutine pose_2d_arrays(pose, rp, tp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
pose | type(rigid_pose_2d_t) | in | optional | |
rp | real(kind=R8P) | out | ||
tp | real(kind=R8P) | out |
Call graph
facet_vertices
subroutine facet_vertices(surface, fvid)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | target | |
fvid | integer(kind=I4P) | out | allocatable |
Call graph
vertex_csr
subroutine vertex_csr(kc, ne, nv, evid, vstart, vent)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
kc | integer(kind=I4P) | in | ||
ne | integer(kind=I4P) | in | ||
nv | integer(kind=I4P) | in | ||
evid | integer(kind=I4P) | in | ||
vstart | integer(kind=I4P) | out | allocatable | |
vent | integer(kind=I4P) | out | allocatable |
Call graph
fit_matrix
subroutine fit_matrix(d, ord, q, lin, cm)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
d | integer(kind=I4P) | in | ||
ord | integer(kind=I4P) | in | ||
q | integer(kind=I4P) | in | ||
lin | logical | in | ||
cm | real(kind=R8P) | out | allocatable |
Call graph
run_3d
subroutine run_3d(surface, mode, ord, q, n, npt, nc, nfld, fac, pts, fld, posed, pr, pt, dev, val)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | target | |
mode | integer(kind=I4P) | in | ||
ord | integer(kind=I4P) | in | ||
q | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
npt | integer(kind=I4P) | in | ||
nc | integer(kind=I4P) | in | ||
nfld | integer(kind=I4P) | in | ||
fac | integer(kind=I4P) | in | ||
pts | real(kind=R8P) | in | ||
fld | real(kind=R8P) | in | ||
posed | logical | in | ||
pr | real(kind=R8P) | in | ||
pt | real(kind=R8P) | in | ||
dev | logical | in | ||
val | real(kind=R8P) | inout |
Call graph
stage_3d
subroutine stage_3d(mode, ord, q, n, npt, nc, nfld, nf, ntv, nfv, fac, pts, tv, fvid, fld, posed, pr, pt, dev, val)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
mode | integer(kind=I4P) | in | ||
ord | integer(kind=I4P) | in | ||
q | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
npt | integer(kind=I4P) | in | ||
nc | integer(kind=I4P) | in | ||
nfld | integer(kind=I4P) | in | ||
nf | integer(kind=I4P) | in | ||
ntv | integer(kind=I4P) | in | ||
nfv | integer(kind=I4P) | in | ||
fac | integer(kind=I4P) | in | ||
pts | real(kind=R8P) | in | ||
tv | real(kind=R8P) | in | ||
fvid | integer(kind=I4P) | in | ||
fld | real(kind=R8P) | in | ||
posed | logical | in | ||
pr | real(kind=R8P) | in | ||
pt | real(kind=R8P) | in | ||
dev | logical | in | ||
val | real(kind=R8P) | inout |
Call graph
run_2d
subroutine run_2d(curve, mode, ord, q, n, npt, nc, fac, pts, fld, posed, pr, pt, dev, val)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
curve | type(curve_object) | in | ||
mode | integer(kind=I4P) | in | ||
ord | integer(kind=I4P) | in | ||
q | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
npt | integer(kind=I4P) | in | ||
nc | integer(kind=I4P) | in | ||
fac | integer(kind=I4P) | in | ||
pts | real(kind=R8P) | in | ||
fld | real(kind=R8P) | in | ||
posed | logical | in | ||
pr | real(kind=R8P) | in | ||
pt | real(kind=R8P) | in | ||
dev | logical | in | ||
val | real(kind=R8P) | inout |
Call graph
stage_2d
subroutine stage_2d(mode, ord, q, n, npt, nc, nv, fac, pts, u, v, nxt, fld, posed, pr, pt, dev, val)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
mode | integer(kind=I4P) | in | ||
ord | integer(kind=I4P) | in | ||
q | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
npt | integer(kind=I4P) | in | ||
nc | integer(kind=I4P) | in | ||
nv | integer(kind=I4P) | in | ||
fac | integer(kind=I4P) | in | ||
pts | real(kind=R8P) | in | ||
u | real(kind=R8P) | in | ||
v | real(kind=R8P) | in | ||
nxt | integer(kind=I4P) | in | ||
fld | real(kind=R8P) | in | ||
posed | logical | in | ||
pr | real(kind=R8P) | in | ||
pt | real(kind=R8P) | in | ||
dev | logical | in | ||
val | real(kind=R8P) | inout |
Call graph
ilw_gather
subroutine ilw_gather(d, n, gp, ilt, ile, dev, ip, ifc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
d | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
gp | real(kind=R8P) | in | ||
ilt | real(kind=R8P) | in | ||
ile | integer(kind=I4P) | in | ||
dev | logical | in | ||
ip | real(kind=R8P) | inout | ||
ifc | integer(kind=I4P) | inout |
Call graph
s2v_run
subroutine s2v_run(nc, kc, q, ne, n, nv, nent, cm, wt, val, vstart, vent, dev, field)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
nc | integer(kind=I4P) | in | ||
kc | integer(kind=I4P) | in | ||
q | integer(kind=I4P) | in | ||
ne | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
nv | integer(kind=I4P) | in | ||
nent | integer(kind=I4P) | in | ||
cm | real(kind=R8P) | in | ||
wt | real(kind=R8P) | in | ||
val | real(kind=R8P) | in | ||
vstart | integer(kind=I4P) | in | ||
vent | integer(kind=I4P) | in | ||
dev | logical | in | ||
field | real(kind=R8P) | inout |
Call graph
s2v_elements
subroutine s2v_elements(nc, kc, q, ne, n, cm, wt, val, dev, ar, fe)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
nc | integer(kind=I4P) | in | ||
kc | integer(kind=I4P) | in | ||
q | integer(kind=I4P) | in | ||
ne | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
cm | real(kind=R8P) | in | ||
wt | real(kind=R8P) | in | ||
val | real(kind=R8P) | in | ||
dev | logical | in | ||
ar | real(kind=R8P) | inout | ||
fe | real(kind=R8P) | inout |
Call graph
s2v_vertices
subroutine s2v_vertices(nc, kc, ne, nv, nent, vstart, vent, ar, fe, dev, field)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
nc | integer(kind=I4P) | in | ||
kc | integer(kind=I4P) | in | ||
ne | integer(kind=I4P) | in | ||
nv | integer(kind=I4P) | in | ||
nent | integer(kind=I4P) | in | ||
vstart | integer(kind=I4P) | in | ||
vent | integer(kind=I4P) | in | ||
ar | real(kind=R8P) | in | ||
fe | real(kind=R8P) | in | ||
dev | logical | in | ||
field | real(kind=R8P) | inout |
Call graph
transfer_weights_3d_oac
Attributes: pure
subroutine transfer_weights_3d_oac(px, py, pz, x1, y1, z1, x2, y2, z2, x3, y3, z3, l1, l2, l3)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
px | real(kind=R8P) | in | ||
py | real(kind=R8P) | in | ||
pz | real(kind=R8P) | in | ||
x1 | real(kind=R8P) | in | ||
y1 | real(kind=R8P) | in | ||
z1 | real(kind=R8P) | in | ||
x2 | real(kind=R8P) | in | ||
y2 | real(kind=R8P) | in | ||
z2 | real(kind=R8P) | in | ||
x3 | real(kind=R8P) | in | ||
y3 | real(kind=R8P) | in | ||
z3 | real(kind=R8P) | in | ||
l1 | real(kind=R8P) | out | ||
l2 | real(kind=R8P) | out | ||
l3 | real(kind=R8P) | out |
Call graph
transfer_weights_2d_oac
Attributes: pure
subroutine transfer_weights_2d_oac(pu, pv, u1, v1, u2, v2, s)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
pu | real(kind=R8P) | in | ||
pv | real(kind=R8P) | in | ||
u1 | real(kind=R8P) | in | ||
v1 | real(kind=R8P) | in | ||
u2 | real(kind=R8P) | in | ||
v2 | real(kind=R8P) | in | ||
s | real(kind=R8P) | out |
Call graph
neumaier_oac
Attributes: pure
subroutine neumaier_oac(sm, cm, x)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
sm | real(kind=R8P) | inout | ||
cm | real(kind=R8P) | inout | ||
x | real(kind=R8P) | in |
Call graph
Functions
check_3d
Returns: integer(kind=i4p)
function check_3d(surface, nc, hv, hf, vertex_field, facet_field) result(st)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | target | |
nc | integer(kind=I4P) | in | ||
hv | logical | in | ||
hf | logical | in | ||
vertex_field | real(kind=R8P) | in | optional | |
facet_field | real(kind=R8P) | in | optional |
Call graph
check_2d
Returns: integer(kind=i4p)
function check_2d(curve, nc, hv, hs, vertex_field, segment_field) result(st)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
curve | type(curve_object) | in | ||
nc | integer(kind=I4P) | in | ||
hv | logical | in | ||
hs | logical | in | ||
vertex_field | real(kind=R8P) | in | optional | |
segment_field | real(kind=R8P) | in | optional |
Call graph