fossil_overset_patch
Source: src/lib/fossil_overset_patch.f90
Dependencies
Contents
- overset_patch_2d_t
- overlap_weights_t
- receptor_buffer_t
- overset_patch_3d_t
- overset_patch_2d
- put_status
- record_faces
- explicit_faces
- face_ends
- chain_faces
- faces_csr
- overlap_weights_2d
- receptor_weights_2d
- neumaier
- overset_patch_3d
- merge_degenerate
- record_faces_3d
- explicit_faces_3d
- face_offsets
- face_corners_3d
- split_quad
- surface_closed
- shells_nested
- smallest_faces_3d
- faces_csr_3d
- overlap_weights_3d
- receptor_weights_3d
- less
- edge_below
- edge_above
- cross_3
- less6
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
OVERSET_PATCH_OK | integer(kind=I4P) | parameter | |
OVERSET_PATCH_BAD_INPUT | integer(kind=I4P) | parameter | |
OVERSET_PATCH_NO_BOUNDARY | integer(kind=I4P) | parameter | |
OVERSET_PATCH_OPEN | integer(kind=I4P) | parameter | |
OVERSET_PATCH_OVERLAP | integer(kind=I4P) | parameter | |
OVERSET_PATCH_NESTING | integer(kind=I4P) | parameter | |
OVERSET_PATCH_UNTRUSTED | integer(kind=I4P) | parameter | |
OVERLAP_WEIGHTS_OK | integer(kind=I4P) | parameter | |
OVERLAP_WEIGHTS_BAD_INPUT | integer(kind=I4P) | parameter | |
OVERLAP_WEIGHTS_DEGENERATE | integer(kind=I4P) | parameter | |
OVERLAP_WEIGHTS_OUTSIDE | integer(kind=I4P) | parameter | |
OVERLAP_WEIGHTS_OPEN | integer(kind=I4P) | parameter |
Derived Types
overset_patch_2d_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
boundary | type(curve_object) | ||
seg_face | integer(kind=I4P) | allocatable | |
cut | type(cut_cells_2d_t) | ||
hole | logical | allocatable | |
degenerate | logical | allocatable | |
merge_into | integer(kind=I4P) | allocatable | |
ns | integer(kind=I4P) | ||
piece_sf_start | integer(kind=I4P) | allocatable | |
sf_piece | integer(kind=I4P) | allocatable | |
sf_face | integer(kind=I4P) | allocatable | |
sf_seg | integer(kind=I4P) | allocatable | |
sf_minor | integer(kind=I4P) | allocatable | |
sf_area | real(kind=R8P) | allocatable | |
sf_centroid | real(kind=R8P) | allocatable | |
nf | integer(kind=I4P) | ||
face_id | integer(kind=I4P) | allocatable | |
face_vector | real(kind=R8P) | allocatable | |
face_covered | real(kind=R8P) | allocatable | |
face_sf_start | integer(kind=I4P) | allocatable | |
face_sf | integer(kind=I4P) | allocatable |
overlap_weights_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
nr | integer(kind=I4P) | ||
nw | integer(kind=I4P) | ||
start | integer(kind=I4P) | allocatable | |
donor | integer(kind=I4P) | allocatable | |
volume | real(kind=R8P) | allocatable | |
weight | real(kind=R8P) | allocatable | |
centroid | real(kind=R8P) | allocatable | |
receptor_volume | real(kind=R8P) | allocatable | |
covered | real(kind=R8P) | allocatable | |
flag | integer(kind=I4P) | allocatable |
receptor_buffer_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
n | integer(kind=I4P) | ||
donor | integer(kind=I4P) | allocatable | |
volume | real(kind=R8P) | allocatable | |
centroid | real(kind=R8P) | allocatable |
overset_patch_3d_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
boundary | type(surface_stl_object) | ||
tri_face | integer(kind=I4P) | allocatable | |
tri_id | integer(kind=I4P) | allocatable | |
cut | type(cut_cells_3d_t) | ||
links | type(cut_links_t) | ||
hole | logical | allocatable | |
degenerate | logical | allocatable | |
merge_into | integer(kind=I4P) | allocatable | |
ns | integer(kind=I4P) | ||
piece_sf_start | integer(kind=I4P) | allocatable | |
sf_piece | integer(kind=I4P) | allocatable | |
sf_cell | integer(kind=I4P) | allocatable | |
sf_face | integer(kind=I4P) | allocatable | |
sf_facet | integer(kind=I4P) | allocatable | |
sf_minor | integer(kind=I4P) | allocatable | |
sf_tri | integer(kind=I4P) | allocatable | |
sf_area | real(kind=R8P) | allocatable | |
sf_centroid | real(kind=R8P) | allocatable | |
sf_wet | real(kind=R8P) | allocatable | |
nuc | integer(kind=I4P) | ||
uc_cell | integer(kind=I4P) | allocatable | |
uc_sf_start | integer(kind=I4P) | allocatable | |
nf | integer(kind=I4P) | ||
face_id | integer(kind=I4P) | allocatable | |
face_vector | real(kind=R8P) | allocatable | |
face_covered | real(kind=R8P) | allocatable | |
face_sf_start | integer(kind=I4P) | allocatable | |
face_sf | integer(kind=I4P) | allocatable |
Subroutines
overset_patch_2d
subroutine overset_patch_2d(blocks, minor, x, y, patch, boundary_name, faces, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
blocks | type(curvilinear_block_2d_t) | in | ||
minor | integer(kind=I4P) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
patch | type(overset_patch_2d_t) | inout | ||
boundary_name | character(len=*) | in | optional | |
faces | integer(kind=I4P) | in | optional | |
status | integer(kind=I4P) | out | optional |
Call graph
put_status
subroutine put_status(st, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
st | integer(kind=I4P) | in | ||
status | integer(kind=I4P) | out | optional |
Call graph
record_faces
subroutine record_faces(blocks, minor, bname, face_id)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
blocks | type(curvilinear_block_2d_t) | in | ||
minor | integer(kind=I4P) | in | ||
bname | character(len=*) | in | ||
face_id | integer(kind=I4P) | out | allocatable |
Call graph
explicit_faces
subroutine explicit_faces(blocks, minor, faces, face_id, st)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
blocks | type(curvilinear_block_2d_t) | in | ||
minor | integer(kind=I4P) | in | ||
faces | integer(kind=I4P) | in | ||
face_id | integer(kind=I4P) | out | allocatable | |
st | integer(kind=I4P) | inout |
Call graph
face_ends
subroutine face_ends(blk, orient, cf, a, b)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
blk | type(curvilinear_block_2d_t) | in | ||
orient | real(kind=R8P) | in | ||
cf | integer(kind=I4P) | in | ||
a | real(kind=R8P) | out | ||
b | real(kind=R8P) | out |
Call graph
chain_faces
subroutine chain_faces(nf, fa, fb, order, succ, npred, st)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
nf | integer(kind=I4P) | in | ||
fa | real(kind=R8P) | in | ||
fb | real(kind=R8P) | in | ||
order | integer(kind=I4P) | out | allocatable | |
succ | integer(kind=I4P) | out | allocatable | |
npred | integer(kind=I4P) | out | allocatable | |
st | integer(kind=I4P) | inout |
Call graph
faces_csr
subroutine faces_csr(patch, fa, fb)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
patch | type(overset_patch_2d_t) | inout | ||
fa | real(kind=R8P) | in | ||
fb | real(kind=R8P) | in |
Call graph
overlap_weights_2d
subroutine overlap_weights_2d(block, cells, x, y, w, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
block | type(curvilinear_block_2d_t) | in | ||
cells | integer(kind=I4P) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
w | type(overlap_weights_t) | inout | ||
status | integer(kind=I4P) | out | optional |
Call graph
receptor_weights_2d
subroutine receptor_weights_2d(block, i, j, orient, x, y, b, rvol, cov, flag)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
block | type(curvilinear_block_2d_t) | in | ||
i | integer(kind=I4P) | in | ||
j | integer(kind=I4P) | in | ||
orient | real(kind=R8P) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
b | type(receptor_buffer_t) | inout | ||
rvol | real(kind=R8P) | out | ||
cov | real(kind=R8P) | out | ||
flag | integer(kind=I4P) | out |
Call graph
neumaier
Attributes: pure
subroutine neumaier(s, comp, a)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
s | real(kind=R8P) | inout | ||
comp | real(kind=R8P) | inout | ||
a | real(kind=R8P) | in |
Call graph
overset_patch_3d
subroutine overset_patch_3d(blocks, minor, x, y, z, patch, boundary_name, faces, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
blocks | type(curvilinear_block_t) | in | ||
minor | integer(kind=I4P) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
patch | type(overset_patch_3d_t) | inout | ||
boundary_name | character(len=*) | in | optional | |
faces | integer(kind=I4P) | in | optional | |
status | integer(kind=I4P) | out | optional |
Call graph
merge_degenerate
subroutine merge_degenerate(np, degenerate, links, merge_into)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
np | integer(kind=I4P) | in | ||
degenerate | logical | in | ||
links | type(cut_links_t) | in | ||
merge_into | integer(kind=I4P) | inout |
Call graph
record_faces_3d
subroutine record_faces_3d(blocks, minor, bname, face_id)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
blocks | type(curvilinear_block_t) | in | ||
minor | integer(kind=I4P) | in | ||
bname | character(len=*) | in | ||
face_id | integer(kind=I4P) | out | allocatable |
Call graph
explicit_faces_3d
subroutine explicit_faces_3d(blocks, minor, faces, face_id, st)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
blocks | type(curvilinear_block_t) | in | ||
minor | integer(kind=I4P) | in | ||
faces | integer(kind=I4P) | in | ||
face_id | integer(kind=I4P) | out | allocatable | |
st | integer(kind=I4P) | inout |
Call graph
face_offsets
Attributes: pure
subroutine face_offsets(fc, orient, off)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
fc | integer(kind=I4P) | in | ||
orient | real(kind=R8P) | in | ||
off | integer(kind=I4P) | out |
Call graph
face_corners_3d
subroutine face_corners_3d(blk, orient, cf, c)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
blk | type(curvilinear_block_t) | in | ||
orient | real(kind=R8P) | in | ||
cf | integer(kind=I4P) | in | ||
c | real(kind=R8P) | out |
Call graph
split_quad
Attributes: pure
subroutine split_quad(c, g, t2, tid, n2)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
c | real(kind=R8P) | in | ||
g | integer(kind=I4P) | in | ||
t2 | real(kind=R8P) | out | ||
tid | integer(kind=I4P) | out | ||
n2 | integer(kind=I4P) | out |
Call graph
surface_closed
subroutine surface_closed(nt, tri, ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
nt | integer(kind=I4P) | in | ||
tri | real(kind=R8P) | in | ||
ok | logical | out |
Call graph
shells_nested
subroutine shells_nested(srf, nt, tri, ok)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
srf | type(surface_stl_object) | in | ||
nt | integer(kind=I4P) | in | ||
tri | real(kind=R8P) | in | ||
ok | logical | out |
Call graph
smallest_faces_3d
subroutine smallest_faces_3d(patch, walls)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
patch | type(overset_patch_3d_t) | inout | ||
walls | type(cut_walls_3d_t) | in |
Call graph
faces_csr_3d
subroutine faces_csr_3d(patch)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
patch | type(overset_patch_3d_t) | inout |
Call graph
overlap_weights_3d
subroutine overlap_weights_3d(block, cells, x, y, z, w, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
block | type(curvilinear_block_t) | in | ||
cells | integer(kind=I4P) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
w | type(overlap_weights_t) | inout | ||
status | integer(kind=I4P) | out | optional |
Call graph
receptor_weights_3d
subroutine receptor_weights_3d(block, ijk, orient, x, y, z, b, rvol, cov, flag)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
block | type(curvilinear_block_t) | in | ||
ijk | integer(kind=I4P) | in | ||
orient | real(kind=R8P) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
b | type(receptor_buffer_t) | inout | ||
rvol | real(kind=R8P) | out | ||
cov | real(kind=R8P) | out | ||
flag | integer(kind=I4P) | out |
Call graph
Functions
less
Attributes: pure
Returns: logical
function less(p, q)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | real(kind=R8P) | in | ||
q | real(kind=R8P) | in |
Call graph
edge_below
Attributes: pure
Returns: integer(kind=i4p)
function edge_below(x, t) result(k)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | ||
t | real(kind=R8P) | in |
Call graph
edge_above
Attributes: pure
Returns: integer(kind=i4p)
function edge_above(x, t) result(k)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | ||
t | real(kind=R8P) | in |
Call graph
cross_3
Attributes: pure
Returns: real(kind=R8P)
function cross_3(a, b) result(c)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | real(kind=R8P) | in | ||
b | real(kind=R8P) | in |
Call graph
less6
Attributes: pure
Returns: logical
function less6(p, q)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | real(kind=R8P) | in | ||
q | real(kind=R8P) | in |
Call graph