Module containing useful routines for handling mesh indices
Scan points in 3x3 vicinity and return their index only
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mesh_cart_t), | intent(in) | :: | mesh |
Mesh |
||
| integer, | intent(in) | :: | ind |
Index of input boundary point |
||
| logical, | intent(in) | :: | diagonal |
Whether to include diagonal neighbors |
||
| integer, | intent(out), | dimension(:) | :: | ind_nb |
Index of neighboring points, must be already allocated If diagonal neighbors included, must have 8 entries If they are excluded, must be of size 4 |