Appearance
adam_fnl_ib_object
ADAM, IB class FNL (FNL backend of ib_object).
Source: src/lib/fnl/adam_fnl_ib_object.F90
Dependencies
Contents
Derived Types
ib_fnl_object
IB FNL class definition.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
q_bcs_vars_gpu | real(kind=R8P) | pointer | Variables array for immersed boundary on GPU. |
phi_gpu | real(kind=R8P) | pointer | Distance function on GPU. |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
evolve_eikonal | pass(self) | Evolve eikonal equation. |
initialize | pass(self) | Initialize class from global singletons. |
invert_eikonal | pass(self) | Invert momentum eikonal equation. |
Subroutines
evolve_eikonal
Evolve eikonal equation.
fortran
subroutine evolve_eikonal(self, grid, field, ib, dq_gpu, q_gpu, dxyz_gpu)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(ib_fnl_object) | in | IB. | |
grid | type(grid_object) | in | target | Grid (sibling realm component, threaded in). |
field | type(field_object) | in | Field (sibling realm component, threaded in). | |
ib | type(ib_object) | in | Host IB (sibling realm component, threaded in). | |
dq_gpu | real(kind=R8P) | inout | State variables variations. | |
q_gpu | real(kind=R8P) | inout | Conservative variables. | |
dxyz_gpu | real(kind=R8P) | in | Cell deltas on GPU [nb,3]. |
Call graph
initialize
Initialize class from the host grid/field/ib sibling realm components (threaded in). Requires mpih_fnl (adam_fnl_mpih_global) to be ready.
fortran
subroutine initialize(self, grid, field, ib)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(ib_fnl_object) | inout | IB FNL object. | |
grid | type(grid_object) | in | Grid (sibling realm component, threaded in). | |
field | type(field_object) | in | Field (sibling realm component, threaded in). | |
ib | type(ib_object) | in | Host IB (sibling realm component, threaded in). |
Call graph
invert_eikonal
Invert momentum eikonal equation.
fortran
subroutine invert_eikonal(self, grid, field, ib, q_gpu)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(ib_fnl_object) | in | IB. | |
grid | type(grid_object) | in | target | Grid (sibling realm component, threaded in). |
field | type(field_object) | in | Field (sibling realm component, threaded in). | |
ib | type(ib_object) | in | Host IB (sibling realm component, threaded in). | |
q_gpu | real(kind=R8P) | inout | Conservative variables. |
Call graph