CornerCopier Class Reference

#include <CornerCopier.H>

Inheritance diagram for CornerCopier:

Inheritance graph
[legend]

List of all members.


Detailed Description

An even stranger (than Copier) thing to copy from ghost cells to corner ghost cells.

This is a specialized Copier to fill corner ghost cells from ghost cells of adjacent boxes. Calling exchange with this copier will fill _only_ the corner ghost cells. All other exchange operations should be performed by calling a separate exchange with a normal Copier.

Public Member Functions

 CornerCopier ()
 null constructor, copy constructor and operator= can be compiler defined.
 CornerCopier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, bool a_exchange=false)
 Basic defining constructor.
 CornerCopier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, bool a_exchange=false)
 this constructor contains support for periodic BC's
 CornerCopier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const IntVect &a_ghost, bool a_exchange=false)
 Copier to copy into corner ghost cells of a_dest from ghost cells of a_level.
 CornerCopier (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, const IntVect &a_ghost, bool a_exchange=false)
 Copier to copy data into the valid and invalid regions of a_dest from a_level with support for periodic BCs.
virtual ~CornerCopier ()
virtual void define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, bool a_exchange=false)
 define to match constructor (also doesn't do anything)
virtual void define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, bool a_exchange=false)
 define to match constructor (also doesn't do anything)
virtual void define (const DisjointBoxLayout &a_level, const BoxLayout &a_dest, const IntVect &a_ghost, bool a_exchange=false)
virtual void define (const BoxLayout &a_level, const BoxLayout &a_dest, const ProblemDomain &a_domain, const IntVect &a_ghost, bool a_exchange=false)
 contains support for periodic BCs
virtual void clear ()
const IntVectghost ()

Private Attributes

IntVect m_ghost


Constructor & Destructor Documentation

CornerCopier::CornerCopier (  )  [inline]

null constructor, copy constructor and operator= can be compiler defined.

References m_ghost, and IntVect::Unit.

CornerCopier::CornerCopier ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
bool  a_exchange = false 
)

Basic defining constructor.

Note that this constructor doesn't take a ghost cell argument, so it creates a useless CornerCopier (no intersections are computed). Provided for compatibility with Copier base class.

CornerCopier::CornerCopier ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
const ProblemDomain a_domain,
bool  a_exchange = false 
)

this constructor contains support for periodic BC's

Note that this constructor doesn't take a ghost cell argument, so it creates a useless CornerCopier (no intersections are computed). Provided for compatibility with Copier base class.

CornerCopier::CornerCopier ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
const IntVect a_ghost,
bool  a_exchange = false 
)

Copier to copy into corner ghost cells of a_dest from ghost cells of a_level.

Assumption is that a_dest and a_level have the same number of ghost cells.

CornerCopier::CornerCopier ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
const ProblemDomain a_domain,
const IntVect a_ghost,
bool  a_exchange = false 
)

Copier to copy data into the valid and invalid regions of a_dest from a_level with support for periodic BCs.

Assumption is that a_dest and a_level have the same number of ghost cells.

virtual CornerCopier::~CornerCopier (  )  [virtual]


Member Function Documentation

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

define to match constructor (also doesn't do anything)

virtual void CornerCopier::define ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
const ProblemDomain a_domain,
bool  a_exchange = false 
) [virtual]

define to match constructor (also doesn't do anything)

virtual void CornerCopier::define ( const DisjointBoxLayout a_level,
const BoxLayout a_dest,
const IntVect a_ghost,
bool  a_exchange = false 
) [virtual]

virtual void CornerCopier::define ( const BoxLayout a_level,
const BoxLayout a_dest,
const ProblemDomain a_domain,
const IntVect a_ghost,
bool  a_exchange = false 
) [virtual]

contains support for periodic BCs

virtual void CornerCopier::clear (  )  [virtual]

Reimplemented from Copier.

const IntVect& CornerCopier::ghost (  )  [inline]

References m_ghost.


Member Data Documentation

Referenced by CornerCopier(), and ghost().


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

Generated on Sat Mar 25 04:03:39 2017 for Chombo + EB by  doxygen 1.5.5