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

Structure to copy aggregates applying an operation. More...

Detailed Description

template<template< typename, typename > class op, typename S>
struct copy_aggregate_op< op, S >

Structure to copy aggregates applying an operation.

Template Parameters
opoperation to apply
aggregateto copy

Definition at line 95 of file copy_compare_aggregates.hpp.

#include <copy_compare_aggregates.hpp>

Public Member Functions

 copy_aggregate_op (const S &src, S &dst)
 copy_aggregate
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each member.
 

Data Fields

const S & src
 src
 
S & dst
 Destination grid.
 

Constructor & Destructor Documentation

◆ copy_aggregate_op()

template<template< typename, typename > class op, typename S >
copy_aggregate_op< op, S >::copy_aggregate_op ( const S &  src,
S &  dst 
)
inline

copy_aggregate

Definition at line 104 of file copy_compare_aggregates.hpp.

Member Function Documentation

◆ operator()()

template<template< typename, typename > class op, typename S >
template<typename T >
void copy_aggregate_op< op, S >::operator() ( T &  t) const
inline

It call the copy function for each member.

Definition at line 109 of file copy_compare_aggregates.hpp.

Field Documentation

◆ dst

template<template< typename, typename > class op, typename S >
S& copy_aggregate_op< op, S >::dst

Destination grid.

Definition at line 101 of file copy_compare_aggregates.hpp.

◆ src

template<template< typename, typename > class op, typename S >
const S& copy_aggregate_op< op, S >::src

src

Definition at line 98 of file copy_compare_aggregates.hpp.


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