OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
op_ssend_recv_merge_gpu< op, vector_type_opart, vector_type_prc_offset > Struct Template Reference

Helper class to merge data. More...

Detailed Description

template<template< typename, typename > class op, typename vector_type_opart, typename vector_type_prc_offset>
struct op_ssend_recv_merge_gpu< op, vector_type_opart, vector_type_prc_offset >

Helper class to merge data.

Definition at line 753 of file VCluster_meta_function.hpp.

#include <VCluster_meta_function.hpp>

Public Member Functions

 op_ssend_recv_merge_gpu (vector_type_opart &opart, vector_type_prc_offset &prc_offset)
 constructor
 
template<bool sr, typename T , typename D , typename S , template< typename > class layout_base, int ... prp>
void execute (D &recv, S &v2, size_t i, size_t opt)
 execute the merge
 

Data Fields

vector_type_opart & opart
 For each processor contain the list of the particles with which I must merge the information.
 
vector_type_prc_offset & prc_offset
 

Constructor & Destructor Documentation

◆ op_ssend_recv_merge_gpu()

template<template< typename, typename > class op, typename vector_type_opart , typename vector_type_prc_offset >
op_ssend_recv_merge_gpu< op, vector_type_opart, vector_type_prc_offset >::op_ssend_recv_merge_gpu ( vector_type_opart &  opart,
vector_type_prc_offset &  prc_offset 
)
inline

constructor

Definition at line 761 of file VCluster_meta_function.hpp.

Member Function Documentation

◆ execute()

template<template< typename, typename > class op, typename vector_type_opart , typename vector_type_prc_offset >
template<bool sr, typename T , typename D , typename S , template< typename > class layout_base, int ... prp>
void op_ssend_recv_merge_gpu< op, vector_type_opart, vector_type_prc_offset >::execute ( D recv,
S &  v2,
size_t  i,
size_t  opt 
)
inline

execute the merge

Definition at line 772 of file VCluster_meta_function.hpp.

Field Documentation

◆ opart

template<template< typename, typename > class op, typename vector_type_opart , typename vector_type_prc_offset >
vector_type_opart& op_ssend_recv_merge_gpu< op, vector_type_opart, vector_type_prc_offset >::opart

For each processor contain the list of the particles with which I must merge the information.

Definition at line 756 of file VCluster_meta_function.hpp.

◆ prc_offset

template<template< typename, typename > class op, typename vector_type_opart , typename vector_type_prc_offset >
vector_type_prc_offset& op_ssend_recv_merge_gpu< op, vector_type_opart, vector_type_prc_offset >::prc_offset

Definition at line 758 of file VCluster_meta_function.hpp.


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