Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EBCoarToCoarRedist Class Reference

#include <EBCoarToCoarRedist.H>

Collaboration diagram for EBCoarToCoarRedist:

Collaboration graph
[legend]
List of all members.

Public Methods

 EBCoarToCoarRedist ()
 ~EBCoarToCoarRedist ()
void define (const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const Box &a_domainCoar, const int &a_nref, const int &a_nvar, int a_redistRad=1)
void setToZero ()
void increment (const BaseIVFAB< Real > &a_coarMass, const DataIndex &a_fineDataIndex, const Interval &a_variables)
void resetWeights (const LevelData< EBCellFAB > &a_modifier, const int &a_ivar)
void redistribute (LevelData< EBCellFAB > &a_coarSolution, const Interval &a_variables)
bool isDefined () const

Protected Methods

void setDefaultValues ()

Protected Attributes

bool m_isDefined
int m_redistRad
int m_nComp
int m_refRat
Box m_domainCoar
DisjointBoxLayout m_gridsFine
DisjointBoxLayout m_gridsCoar
LevelData< BaseIVFAB< Real > > m_regsCoar
LayoutData< IntVectSetm_setsCoar
EBISLayout m_ebislFine
EBISLayout m_ebislCoar
LayoutData< BaseIVFAB< VoFStencil > > m_stenCoar
LayoutData< BaseIVFAB< VoFStencil > > m_volumeStenc
LayoutData< BaseIVFAB< VoFStencil > > m_standardStenc
LevelData< EBCellFABm_densityCoar

Private Methods

void operator= (const EBCoarToCoarRedist &)
 EBCoarToCoarRedist (const EBCoarToCoarRedist &)

Friends

class EBFluxRegister

Detailed Description

A EBCoarToCoarRedist handles all the data choreography for coarse to coarse redistribution ("re-redistribution").


Constructor & Destructor Documentation

EBCoarToCoarRedist::EBCoarToCoarRedist  
 

Default constructor. Leaves object undefined.

EBCoarToCoarRedist::~EBCoarToCoarRedist  
 

EBCoarToCoarRedist::EBCoarToCoarRedist const EBCoarToCoarRedist &    [inline, private]
 


Member Function Documentation

void EBCoarToCoarRedist::define const DisjointBoxLayout   a_dblFine,
const DisjointBoxLayout   a_dblCoar,
const EBISLayout   a_ebislFine,
const EBISLayout   a_ebislCoar,
const Box   a_domainCoar,
const int &    a_nref,
const int &    a_nvar,
int    a_redistRad = 1
 

Full define function. \ dblFine, dblCoar: The fine and coarse layouts of the data. \ ebislFine, ebislCoar: The fine and coarse layouts of the geometric description.\ nref: The refinement ratio between the two levels.\ nvar: The number of variables contained in the data at each VoF. \ coarStencil: The redistribution stencil for this level.

void EBCoarToCoarRedist::increment const BaseIVFAB< Real > &    a_coarMass,
const DataIndex   a_fineDataIndex,
const Interval   a_variables
 

Increments the register with data from coarseMass. This is the full redistribution mass. Internally the class figures out what actually gets re-redistributed.

bool EBCoarToCoarRedist::isDefined   const
 

void EBCoarToCoarRedist::operator= const EBCoarToCoarRedist &    [inline, private]
 

void EBCoarToCoarRedist::redistribute LevelData< EBCellFAB > &    a_coarSolution,
const Interval   a_variables
 

Reredistribute the data contained in the internal buffers.

void EBCoarToCoarRedist::resetWeights const LevelData< EBCellFAB > &    a_modifier,
const int &    a_ivar
 

void EBCoarToCoarRedist::setDefaultValues   [protected]
 

void EBCoarToCoarRedist::setToZero  
 

Initialize values of registers to zero.


Friends And Related Function Documentation

friend class EBFluxRegister [friend]
 


Member Data Documentation

LevelData<EBCellFAB> EBCoarToCoarRedist::m_densityCoar [protected]
 

Box EBCoarToCoarRedist::m_domainCoar [protected]
 

EBISLayout EBCoarToCoarRedist::m_ebislCoar [protected]
 

EBISLayout EBCoarToCoarRedist::m_ebislFine [protected]
 

DisjointBoxLayout EBCoarToCoarRedist::m_gridsCoar [protected]
 

DisjointBoxLayout EBCoarToCoarRedist::m_gridsFine [protected]
 

bool EBCoarToCoarRedist::m_isDefined [protected]
 

int EBCoarToCoarRedist::m_nComp [protected]
 

int EBCoarToCoarRedist::m_redistRad [protected]
 

int EBCoarToCoarRedist::m_refRat [protected]
 

LevelData<BaseIVFAB<Real> > EBCoarToCoarRedist::m_regsCoar [protected]
 

LayoutData<IntVectSet> EBCoarToCoarRedist::m_setsCoar [protected]
 

LayoutData<BaseIVFAB<VoFStencil> > EBCoarToCoarRedist::m_standardStenc [protected]
 

LayoutData<BaseIVFAB<VoFStencil> > EBCoarToCoarRedist::m_stenCoar [protected]
 

LayoutData<BaseIVFAB<VoFStencil> > EBCoarToCoarRedist::m_volumeStenc [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:09 2003 for EBChombo by doxygen1.2.16