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

Compute the cell domains of mesh partitions. More...

Public Member Functions

 get_partition_domains (size_t const &num_parts, size_t const &mesh_size)
 
template<typename Partition1 , typename Partition2 >
result_type operator() (Partition1 part, Partition2 index_part) const
 

Public Types

typedef std::vector< std::vector< size_t > > result_type
 

Detailed Description

Compute the cell domains of mesh partitions.

Constructor & Destructor Documentation

◆ get_partition_domains()

stapl::get_partition_domains::get_partition_domains ( size_t const &  num_parts,
size_t const &  mesh_size 
)
Parameters
num_partsnumber of partitions.
mesh_sizenumber of cells in the mesh.

Member Function Documentation

◆ operator()()

template<typename Partition1 , typename Partition2 >
result_type stapl::get_partition_domains::operator() ( Partition1  part,
Partition2  index_part 
) const
Parameters
parta mesh partitions.
index_partindices of the cell partitions.
Returns
the cell domains of the mesh partitions.

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