Distributed Ranges
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
dr::mp::unstructured_halo< T, Memory > Class Template Reference
Inheritance diagram for dr::mp::unstructured_halo< T, Memory >:
Inheritance graph
[legend]
Collaboration diagram for dr::mp::unstructured_halo< T, Memory >:
Collaboration graph
[legend]

Public Types

using group_type = index_group< T, Memory >
 
using index_map = std::pair< std::size_t, std::vector< std::size_t > >
 
- Public Types inherited from dr::mp::halo_impl< Group >
using group_type = Group
 

Public Member Functions

 unstructured_halo (communicator comm, T *data, const std::vector< index_map > &owned, const std::vector< index_map > &halo, const Memory &memory=Memory())
 
- Public Member Functions inherited from dr::mp::halo_impl< Group >
 halo_impl (const halo_impl &)=delete
 
halo_impl operator= (const halo_impl &)=delete
 
 halo_impl (communicator comm, const std::vector< Group > &owned_groups, const std::vector< Group > &halo_groups, const Memory &memory=Memory())
 halo constructor
 
void exchange_begin ()
 Begin a halo exchange.
 
void exchange_finalize ()
 Complete a halo exchange.
 
void exchange ()
 
void reduce_begin ()
 Begin a halo reduction.
 
void reduce_finalize (const auto &op)
 Complete a halo reduction.
 
void reduce_finalize ()
 Complete a halo reduction.
 

Additional Inherited Members

- Public Attributes inherited from dr::mp::halo_impl< Group >
struct dr::mp::halo_impl::second_op second
 
struct dr::mp::halo_impl::plus_op plus
 
struct dr::mp::halo_impl::max_op max
 
struct dr::mp::halo_impl::min_op min
 
struct dr::mp::halo_impl::multiplies_op multiplies
 

Constructor & Destructor Documentation

◆ unstructured_halo()

template<typename T , typename Memory = default_memory<T>>
dr::mp::unstructured_halo< T, Memory >::unstructured_halo ( communicator  comm,
T *  data,
const std::vector< index_map > &  owned,
const std::vector< index_map > &  halo,
const Memory &  memory = Memory() 
)
inline

Constructor


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