The “ghost cells” link above has an example. Here is another example, and here is another.
stevengj
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Optimal way of checking neighboring elements in matrix | 3 | 1889 | October 28, 2019 | |
| Creating looping matrixes (Torus-like) with type inheritance | 7 | 253 | February 18, 2026 | |
| Arrays with periodic boundaries | 5 | 6856 | June 30, 2022 | |
| Reducing allocations in a stencil function | 6 | 348 | September 24, 2022 | |
| Cell list algorithm is slower than double for loop | 18 | 2406 | April 2, 2020 |