#include <CornerCopier.H>
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 IntVect & | ghost () |
Private Attributes | |
IntVect | m_ghost |
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] |
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.
IntVect CornerCopier::m_ghost [private] |
Referenced by CornerCopier(), and ghost().