Skip to content

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 ​

NameTypeAttributesDescription
local_map_ghost_cell_gpuinteger(kind=I8P)pointerLocal map for ghost cells updating, cells order.
comm_map_recv_ghost_cell_gpuinteger(kind=I8P)pointerCommunication map, fec information, cell order.
comm_map_send_ghost_cell_gpuinteger(kind=I8P)pointerCommunication map, fec information, cell order.
send_buffer_ghost_gpureal(kind=R8P)pointerSend buffer of ghost cells.
recv_buffer_ghost_gpureal(kind=R8P)pointerReceive buffer of ghost cells.
local_map_bc_crown_gpuinteger(kind=I8P)pointerLocal map for face BC ghost cells, "crown" order.
seam_local_map_ghost_cell_gpuinteger(kind=I4P)pointerPer-cell seam ghost map (sorted by peer_realm).
seam_local_send_buf_gpureal(kind=R8P)pointerPer-peer pack buffer, device-resident.
seam_local_recv_buf_gpureal(kind=R8P)pointerPer-peer unpack buffer, device-resident.
seam_comm_map_send_ghost_cell_gpuinteger(kind=I4P)pointer
seam_comm_map_recv_ghost_cell_gpuinteger(kind=I4P)pointer
seam_mpi_send_buf_gpureal(kind=R8P)pointer
seam_mpi_recv_buf_gpureal(kind=R8P)pointer
seam_ghost_fillinteger(kind=I4P)Active seam ghost-fill regime (host mirror).

Type-Bound Procedures ​

NameAttributesDescription
copy_cpu_gpupass(self)Copy data from (maps global singleton) CPU to (maps_fnl_object) GPU.
destroypass(self)Free device data owned by the helper.
initializepass(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

NameTypeIntentAttributesDescription
selfclass(maps_fnl_object)inoutThe maps.
mapstype(maps_object)inRealm-local CPU maps; was the maps singleton.
verboselogicalinoptionalFlag to activate verbose mode.

Call graph

destroy ​

Free device data owned by the maps FNL helper.

fortran
subroutine destroy(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(maps_fnl_object)inoutThe FNL helper.

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

NameTypeIntentAttributesDescription
selfclass(maps_fnl_object)inoutThe maps, FNL backend.
mapstype(maps_object)inRealm-local CPU maps; was the maps singleton.

Call graph