HaloJob Struct ReferenceΒΆ

adc_cpp: pops::HaloJob Struct Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::HaloJob Struct Reference

One halo copy/transfer: the ghost region of box dst is filled from the shifted valid region of box src (shift sx, sy in cells for the periodic wrap; 0 for an interior neighbor). More...

#include <halo_schedule.hpp>

+ Collaboration diagram for pops::HaloJob:

Public Attributes

int src = 0
 
int dst = 0
 
int sx = 0
 
int sy = 0
 
Box2D region {}
 

Detailed Description

One halo copy/transfer: the ghost region of box dst is filled from the shifted valid region of box src (shift sx, sy in cells for the periodic wrap; 0 for an interior neighbor).

src and dst are GLOBAL box indices into the BoxArray (resolved to local fabs when the job is replayed).

Member Data Documentation

◆ dst

int pops::HaloJob::dst = 0

◆ region

Box2D pops::HaloJob::region {}

◆ src

int pops::HaloJob::src = 0

◆ sx

int pops::HaloJob::sx = 0

◆ sy

int pops::HaloJob::sy = 0

The documentation for this struct was generated from the following file: