Skip to content

Grid Local Mesh

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

Overview

The local mesh defines the geometry of the local domain, including sizes, extents, locations, and offsets with the global mesh.

The figure below shows one local domain, where geometric information is highlighted in blue: Local mesh

Implementation

Cabana_Grid_LocalMesh.hpp

Examples

Usage

    int halo_width = 2;
    auto local_grid = Cabana::Grid::createLocalGrid( global_grid, halo_width );

    auto local_mesh = Cabana::Grid::createLocalMesh<device_type>( *local_grid );

This is part of the Programming Guide series

Clone this wiki locally