Skip to content

Enable indexing into neighbor views - #711

Open
streeve wants to merge 1 commit into
ECP-copa:masterfrom
streeve:indirect_neigh_index
Open

Enable indexing into neighbor views#711
streeve wants to merge 1 commit into
ECP-copa:masterfrom
streeve:indirect_neigh_index

Conversation

@streeve

@streeve streeve commented Nov 7, 2023

Copy link
Copy Markdown
Member

In most cases, it is most convenient to call user kernels with (const int i, const int j), directly using the neighbor index j. However, if external neighbor-based properties are stored, then the neighborlist index n is needed (referred to here as indirect indexing). This then requires calling getNeighbor on the user side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant