Functor which adds edges to form a mesh of the given dimensions.
More...
|
| mesh_neighbors (size_t x, size_t y, bool bidirectional) |
|
template<typename Vertex , typename Graph > |
void | operator() (Vertex v, Graph &view) |
|
|
size_t | m_x |
|
size_t | m_y |
|
bool | m_bidirectional |
|
Functor which adds edges to form a mesh of the given dimensions.
- See also
- make_mesh
◆ mesh_neighbors()
stapl::generators::detail::mesh_neighbors::mesh_neighbors |
( |
size_t |
x, |
|
|
size_t |
y, |
|
|
bool |
bidirectional |
|
) |
| |
- Parameters
-
x,y | Dimensions of the mesh. |
bidirectional | True to add back-edges in a directed graph. |
The documentation for this struct was generated from the following file: