Skip to content

Grid Halo

Sam Reeve edited this page Sep 12, 2024 · 2 revisions

Overview

The Cabana::Grid Halo enables grid data uniquely owned by one rank to be shared with neighboring ranks as ghost data. The grid Halo class stores the communication plan and the gather and scatter functions perform the communication.

Implementation

Cabana_Grid_Halo.hpp

Examples

Usage

    auto scalar_grid_field =
        Cabana::Grid::createArray<double, device_type>( "scalar_grid_field", scalar_layout );

    auto scalar_halo = Cabana::Grid::createHalo( *scalar_grid_field, Cabana::Grid::FullHaloPattern() );

This is part of the Programming Guide series

Clone this wiki locally