-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Following some examples to learn the halo function in DASH. One question is about how to specify the width of halo layer without StencilSpec. I found most example codes use the below steps to declare a array with halo.
using StencilSpec_t = dash::halo::StencilSpec<StencilP_t, 4>;
using HaloWrapper_t = dash::halo::HaloMatrixWrapper<Array_t>;
StencilSpec_t stencil_spec(StencilP_t(-1, 0), StencilP_t(1, 0), StencilP_t(0, -1), StencilP_t(0, 1));
HaloWrapper_t halo_array(data_array, stencil_spec);
After studying the API of HaloWrapper_t, it seems that the stencil_spec is the only way to ask for a halo layer.
https://codedocs.xyz/dash-project/dash/a01194.html
Thanks.
Bin
Metadata
Metadata
Assignees
Labels
No labels