Appearance
adam_fnl_maps_object
ADAM, maps class definition, FNL backend.
Source: src/lib/fnl/adam_fnl_maps_object.F90
Dependencies
Contents
Derived Types
maps_fnl_object
Maps class, FNL backend.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
local_map_ghost_cell_gpu | integer(kind=I8P) | pointer | Local map for ghost cells updating, cells order. |
comm_map_recv_ghost_cell_gpu | integer(kind=I8P) | pointer | Communication map, fec information, cell order. |
comm_map_send_ghost_cell_gpu | integer(kind=I8P) | pointer | Communication map, fec information, cell order. |
send_buffer_ghost_gpu | real(kind=R8P) | pointer | Send buffer of ghost cells. |
recv_buffer_ghost_gpu | real(kind=R8P) | pointer | Receive buffer of ghost cells. |
local_map_bc_crown_gpu | integer(kind=I8P) | pointer | Local map for face BC ghost cells, "crown" order. |
seam_local_map_ghost_cell_gpu | integer(kind=I4P) | pointer | Per-cell seam ghost map (sorted by peer_realm). |
seam_local_send_buf_gpu | real(kind=R8P) | pointer | Per-peer pack buffer, device-resident. |
seam_local_recv_buf_gpu | real(kind=R8P) | pointer | Per-peer unpack buffer, device-resident. |
seam_comm_map_send_ghost_cell_gpu | integer(kind=I4P) | pointer | |
seam_comm_map_recv_ghost_cell_gpu | integer(kind=I4P) | pointer | |
seam_mpi_send_buf_gpu | real(kind=R8P) | pointer | |
seam_mpi_recv_buf_gpu | real(kind=R8P) | pointer |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
copy_cpu_gpu | pass(self) | Copy data from (maps global singleton) CPU to (maps_fnl_object) GPU. |
initialize | pass(self) | Initialize MPI handler data. |
Subroutines
copy_cpu_gpu
Copy data from the (realm-local) CPU maps to (maps_fnl_object) GPU.
fortran
subroutine copy_cpu_gpu(self, maps, verbose)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(maps_fnl_object) | inout | The maps. | |
maps | type(maps_object) | in | Realm-local CPU maps; was the maps singleton. | |
verbose | logical | in | optional | Flag to activate verbose mode. |
Call graph
initialize
Initialize maps from the (realm-local) CPU maps. Requires mpih_fnl (adam_fnl_mpih_global) initialized and maps populated before calling.
fortran
subroutine initialize(self, maps)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(maps_fnl_object) | inout | The maps, FNL backend. | |
maps | type(maps_object) | in | Realm-local CPU maps; was the maps singleton. |
Call graph