STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Public Attributes
stapl::generators::detail::torus_neighbors_3D Struct Reference

Functor which connects vertices to form a 3D-torus of the given dimensions. More...

Public Member Functions

 torus_neighbors_3D (size_t x, size_t y, size_t z, bool bidirectional)
 
template<typename Vertex , typename Graph >
void operator() (Vertex v, Graph &view)
 

Public Types

typedef void result_type
 

Public Attributes

size_t m_x
 
size_t m_y
 
size_t m_z
 
bool m_bidirectional
 

Detailed Description

Functor which connects vertices to form a 3D-torus of the given dimensions.

See also
make_torus_3D

Constructor & Destructor Documentation

◆ torus_neighbors_3D()

stapl::generators::detail::torus_neighbors_3D::torus_neighbors_3D ( size_t  x,
size_t  y,
size_t  z,
bool  bidirectional 
)
Parameters
x,y,zDimensions of the mesh.
bidirectionalTrue to add back-edges in a directed graph.

The documentation for this struct was generated from the following file: