Block-Structured AMR Software Framework
amrex::FabArrayBase::CPC Struct Reference

parallel copy or add More...

#include <AMReX_FabArrayBase.H>

Inheritance diagram for amrex::FabArrayBase::CPC:
amrex::FabArrayBase::CommMetaData

Public Member Functions

 CPC (const FabArrayBase &dstfa, const IntVect &dstng, const FabArrayBase &srcfa, const IntVect &srcng, const Periodicity &period, bool to_ghost_cells_only=false)
 
 CPC (const BoxArray &dstba, const DistributionMapping &dstdm, const Vector< int > &dstidx, const IntVect &dstng, const BoxArray &srcba, const DistributionMapping &srcdm, const Vector< int > &srcidx, const IntVect &srcng, const Periodicity &period, int myproc)
 
 CPC (const BoxArray &ba, const IntVect &ng, const DistributionMapping &dstdm, const DistributionMapping &srcdm)
 
Long bytes () const
 

Public Attributes

BDKey m_srcbdk
 
BDKey m_dstbdk
 
IntVect m_srcng
 
IntVect m_dstng
 
Periodicity m_period
 
bool m_tgco
 
BoxArray m_srcba
 
BoxArray m_dstba
 
Long m_nuse {0}
 

Private Member Functions

void define (const BoxArray &ba_dst, const DistributionMapping &dm_dst, const Vector< int > &imap_dst, const BoxArray &ba_src, const DistributionMapping &dm_src, const Vector< int > &imap_src, int MyProc=ParallelDescriptor::MyProc())
 

Detailed Description

parallel copy or add

Constructor & Destructor Documentation

◆ CPC() [1/3]

amrex::FabArrayBase::CPC::CPC ( const FabArrayBase dstfa,
const IntVect dstng,
const FabArrayBase srcfa,
const IntVect srcng,
const Periodicity period,
bool  to_ghost_cells_only = false 
)

◆ CPC() [2/3]

amrex::FabArrayBase::CPC::CPC ( const BoxArray dstba,
const DistributionMapping dstdm,
const Vector< int > &  dstidx,
const IntVect dstng,
const BoxArray srcba,
const DistributionMapping srcdm,
const Vector< int > &  srcidx,
const IntVect srcng,
const Periodicity period,
int  myproc 
)

◆ CPC() [3/3]

amrex::FabArrayBase::CPC::CPC ( const BoxArray ba,
const IntVect ng,
const DistributionMapping dstdm,
const DistributionMapping srcdm 
)

Member Function Documentation

◆ bytes()

Long amrex::FabArrayBase::CPC::bytes ( ) const

◆ define()

void amrex::FabArrayBase::CPC::define ( const BoxArray ba_dst,
const DistributionMapping dm_dst,
const Vector< int > &  imap_dst,
const BoxArray ba_src,
const DistributionMapping dm_src,
const Vector< int > &  imap_src,
int  MyProc = ParallelDescriptor::MyProc() 
)
private

Member Data Documentation

◆ m_dstba

BoxArray amrex::FabArrayBase::CPC::m_dstba

◆ m_dstbdk

BDKey amrex::FabArrayBase::CPC::m_dstbdk

◆ m_dstng

IntVect amrex::FabArrayBase::CPC::m_dstng

◆ m_nuse

Long amrex::FabArrayBase::CPC::m_nuse {0}

◆ m_period

Periodicity amrex::FabArrayBase::CPC::m_period

◆ m_srcba

BoxArray amrex::FabArrayBase::CPC::m_srcba

◆ m_srcbdk

BDKey amrex::FabArrayBase::CPC::m_srcbdk

◆ m_srcng

IntVect amrex::FabArrayBase::CPC::m_srcng

◆ m_tgco

bool amrex::FabArrayBase::CPC::m_tgco

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