RemoteCopier Class Reference

#include <RemoteCopier.H>

Inheritance diagram for RemoteCopier:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 RemoteCopier ()
 RemoteCopier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const IntVect &a_ghostVect=IntVect::Zero, bool a_exchange=false)
virtual ~RemoteCopier ()
void define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const IntVect &a_destGhost, bool a_exchange=false)
void define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, bool a_exchange=false)
void define (const DisjointBoxLayout &a_from, const DisjointBoxLayout &a_to, const DisjointBoxLayout &a_sourceBoxes, const BoxLayout &a_destBoxes, const std::map< Box, Box > &sourceToDestMapping, const IntVect &a_destGhost, bool a_exchange=false)
void define (const DisjointBoxLayout &a_from, const DisjointBoxLayout &a_to, const DisjointBoxLayout &a_sourceBoxes, const BoxLayout &a_destBoxes, const std::map< Box, Box > &sourceToDestMapping, bool a_exchange=false)

Private Member Functions

void define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, bool a_exchange=false)
void define (const BoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, const IntVect &a_destGhost, bool a_exchange=false)
void exchangeDefine (const DisjointBoxLayout &a_grids, const IntVect &a_ghost)
void ghostDefine (const DisjointBoxLayout &a_src, const DisjointBoxLayout &a_dest, const ProblemDomain &a_domain, const IntVect &a_srcGhost)
 performs the computation necessary for moving from ghost+valid cells to all valid cells in a_dest
void reverse ()


Constructor & Destructor Documentation

RemoteCopier::RemoteCopier (  ) 

RemoteCopier::RemoteCopier ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
const IntVect a_ghostVect = IntVect::Zero,
bool  a_exchange = false 
)

virtual RemoteCopier::~RemoteCopier (  )  [virtual]


Member Function Documentation

void RemoteCopier::define ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
const IntVect a_destGhost,
bool  a_exchange = false 
)

Referenced by define().

void RemoteCopier::define ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
bool  a_exchange = false 
) [inline]

References define(), and IntVect::Zero.

void RemoteCopier::define ( const DisjointBoxLayout a_from,
const DisjointBoxLayout a_to,
const DisjointBoxLayout a_sourceBoxes,
const BoxLayout a_destBoxes,
const std::map< Box, Box > &  sourceToDestMapping,
const IntVect a_destGhost,
bool  a_exchange = false 
)

This allows one to define a transfer of information from boxes that are contained by those in a given disjoint box layout.

void RemoteCopier::define ( const DisjointBoxLayout a_from,
const DisjointBoxLayout a_to,
const DisjointBoxLayout a_sourceBoxes,
const BoxLayout a_destBoxes,
const std::map< Box, Box > &  sourceToDestMapping,
bool  a_exchange = false 
) [inline]

This allows one to define a transfer of information from boxes that are contained by those in a given disjoint box layout.

References define(), and IntVect::Zero.

void RemoteCopier::define ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
const ProblemDomain a_domain,
bool  a_exchange = false 
) [inline, private]

void RemoteCopier::define ( const BoxLayout a_level,
const BoxLayout a_dest,
const ProblemDomain a_domain,
const IntVect a_destGhost,
bool  a_exchange = false 
) [inline, private]

void RemoteCopier::exchangeDefine ( const DisjointBoxLayout a_grids,
const IntVect a_ghost 
) [inline, private]

void RemoteCopier::ghostDefine ( const DisjointBoxLayout a_src,
const DisjointBoxLayout a_dest,
const ProblemDomain a_domain,
const IntVect a_srcGhost 
) [inline, private]

performs the computation necessary for moving from ghost+valid cells to all valid cells in a_dest

instead of copying from the valid of a_src to the valid+ghost of a_dest, this routine defines a Copier that moves data from the ghost+valid region of a_src to a_dest. This is used by LevelFluxRegister.

Reimplemented from Copier.

void RemoteCopier::reverse (  )  [inline, private]

reverse the communication of this Copier.

Reimplemented from Copier.


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

Generated on Wed May 24 03:27:24 2017 for Chombo + EB + MF by  doxygen 1.5.5