WarpX
Public Member Functions | Private Attributes | List of all members
SmartCopyFactory Class Reference

A factory for creating SmartCopy functors. More...

#include <SmartCopy.H>

Public Member Functions

template<class SrcPC , class DstPC >
 SmartCopyFactory (const SrcPC &src, const DstPC &dst) noexcept
 
SmartCopy getSmartCopy () const noexcept
 
bool isDefined () const noexcept
 

Private Attributes

SmartCopyTag m_tag_real
 
SmartCopyTag m_tag_int
 
PolicyVec m_policy_real
 
PolicyVec m_policy_int
 
bool m_defined = false
 

Detailed Description

A factory for creating SmartCopy functors.

Given two particle containers, this can create a functor that will perform the smart copy operation between those particle container's tiles.

Constructor & Destructor Documentation

◆ SmartCopyFactory()

template<class SrcPC , class DstPC >
SmartCopyFactory::SmartCopyFactory ( const SrcPC &  src,
const DstPC &  dst 
)
inlinenoexcept

Member Function Documentation

◆ getSmartCopy()

SmartCopy SmartCopyFactory::getSmartCopy ( ) const
inlinenoexcept

◆ isDefined()

bool SmartCopyFactory::isDefined ( ) const
inlinenoexcept

Member Data Documentation

◆ m_defined

bool SmartCopyFactory::m_defined = false
private

◆ m_policy_int

PolicyVec SmartCopyFactory::m_policy_int
private

◆ m_policy_real

PolicyVec SmartCopyFactory::m_policy_real
private

◆ m_tag_int

SmartCopyTag SmartCopyFactory::m_tag_int
private

◆ m_tag_real

SmartCopyTag SmartCopyFactory::m_tag_real
private

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