fossil_ghost_points
Source: src/lib/fossil_ghost_points.f90
Dependencies
Contents
- ghost_points_t
- ghost_points_3d
- ghost_points_2d
- ghost_points_2d_flat
- ghost_points_nodes_3d
- ghost_points_nodes_2d
- ghost_points_reset
- ghost_core_host
- ghost_core_device
- ghost_fill_oac
- ghost_lines_check
- lines_check
- ghost_side_oac
- ghost_mask_oac
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
GHOST_XM | integer(kind=I4P) | parameter | |
GHOST_XP | integer(kind=I4P) | parameter | |
GHOST_YM | integer(kind=I4P) | parameter | |
GHOST_YP | integer(kind=I4P) | parameter | |
GHOST_ZM | integer(kind=I4P) | parameter | |
GHOST_ZP | integer(kind=I4P) | parameter |
Derived Types
ghost_points_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
n | integer(kind=I4P) | ||
dims | integer(kind=I4P) | ||
ni | integer(kind=I4P) | ||
nj | integer(kind=I4P) | ||
nk | integer(kind=I4P) | ||
reach | integer(kind=I4P) | ||
ijk | integer(kind=I4P) | allocatable | |
points | real(kind=R8P) | allocatable | |
mask | integer(kind=I4P) | allocatable | |
steps | integer(kind=I4P) | allocatable |
Subroutines
ghost_points_3d
fortran
subroutine ghost_points_3d(surface, x, y, z, reach, gp, status, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | target | |
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
reach | integer(kind=I4P) | in | ||
gp | type(ghost_points_t) | inout | ||
status | integer(kind=I4P) | out | optional | |
device | logical | in | optional |
Call graph
ghost_points_2d
fortran
subroutine ghost_points_2d(curve, x, y, reach, gp, status, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
curve | type(curve_object) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
reach | integer(kind=I4P) | in | ||
gp | type(ghost_points_t) | inout | ||
status | integer(kind=I4P) | out | optional | |
device | logical | in | optional |
Call graph
ghost_points_2d_flat
fortran
subroutine ghost_points_2d_flat(u, v, nxt, x, y, reach, gp, status, device)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R8P) | in | ||
v | real(kind=R8P) | in | ||
nxt | integer(kind=I4P) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
reach | integer(kind=I4P) | in | ||
gp | type(ghost_points_t) | inout | ||
status | integer(kind=I4P) | out | optional | |
device | logical | in | optional |
Call graph
ghost_points_nodes_3d
fortran
subroutine ghost_points_nodes_3d(node_in, x, y, z, reach, gp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
node_in | logical | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
reach | integer(kind=I4P) | in | ||
gp | type(ghost_points_t) | inout |
Call graph
ghost_points_nodes_2d
fortran
subroutine ghost_points_nodes_2d(node_in, x, y, reach, gp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
node_in | logical | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
reach | integer(kind=I4P) | in | ||
gp | type(ghost_points_t) | inout |
Call graph
ghost_points_reset
fortran
subroutine ghost_points_reset(gp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
gp | type(ghost_points_t) | inout |
Call graph
ghost_core_host
fortran
subroutine ghost_core_host(nd, ni, nj, nk, node_in, x, y, z, r, gp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
nd | integer(kind=I4P) | in | ||
ni | integer(kind=I4P) | in | ||
nj | integer(kind=I4P) | in | ||
nk | integer(kind=I4P) | in | ||
node_in | logical | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
r | integer(kind=I4P) | in | ||
gp | type(ghost_points_t) | inout |
Call graph
ghost_core_device
fortran
subroutine ghost_core_device(nd, ni, nj, nk, node_in, x, y, z, r, gp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
nd | integer(kind=I4P) | in | ||
ni | integer(kind=I4P) | in | ||
nj | integer(kind=I4P) | in | ||
nk | integer(kind=I4P) | in | ||
node_in | logical | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
r | integer(kind=I4P) | in | ||
gp | type(ghost_points_t) | inout |
Call graph
ghost_fill_oac
Attributes: pure
fortran
subroutine ghost_fill_oac(ni, nj, nk, node_in, i, j, k, nd, r1, r2, r3, mask, steps)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
ni | integer(kind=I4P) | in | ||
nj | integer(kind=I4P) | in | ||
nk | integer(kind=I4P) | in | ||
node_in | logical | in | ||
i | integer(kind=I4P) | in | ||
j | integer(kind=I4P) | in | ||
k | integer(kind=I4P) | in | ||
nd | integer(kind=I4P) | in | ||
r1 | integer(kind=I4P) | in | ||
r2 | integer(kind=I4P) | in | ||
r3 | integer(kind=I4P) | in | ||
mask | integer(kind=I4P) | out | ||
steps | integer(kind=I4P) | out |
Call graph
Functions
ghost_lines_check
Returns: integer(kind=i4p)
fortran
function ghost_lines_check(x, y, z, reach, nd) result(st)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
reach | integer(kind=I4P) | in | ||
nd | integer(kind=I4P) | in |
Call graph
lines_check
Returns: integer(kind=i4p)
fortran
function lines_check(x, y, z, reach, nd) result(st)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
reach | integer(kind=I4P) | in | ||
nd | integer(kind=I4P) | in |
Call graph
ghost_side_oac
Attributes: pure
Returns: integer(kind=i4p)
fortran
function ghost_side_oac(ni, nj, nk, node_in, i, j, k, a, sgn, r) result(s)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
ni | integer(kind=I4P) | in | ||
nj | integer(kind=I4P) | in | ||
nk | integer(kind=I4P) | in | ||
node_in | logical | in | ||
i | integer(kind=I4P) | in | ||
j | integer(kind=I4P) | in | ||
k | integer(kind=I4P) | in | ||
a | integer(kind=I4P) | in | ||
sgn | integer(kind=I4P) | in | ||
r | integer(kind=I4P) | in |
Call graph
ghost_mask_oac
Attributes: pure
Returns: integer(kind=i4p)
fortran
function ghost_mask_oac(ni, nj, nk, node_in, i, j, k, nd, r1, r2, r3) result(m)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
ni | integer(kind=I4P) | in | ||
nj | integer(kind=I4P) | in | ||
nk | integer(kind=I4P) | in | ||
node_in | logical | in | ||
i | integer(kind=I4P) | in | ||
j | integer(kind=I4P) | in | ||
k | integer(kind=I4P) | in | ||
nd | integer(kind=I4P) | in | ||
r1 | integer(kind=I4P) | in | ||
r2 | integer(kind=I4P) | in | ||
r3 | integer(kind=I4P) | in |
Call graph