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

CoarseAverageEdge Class Reference

replaces edge-centered coarse-level data w/ averaged fine-level data More...

#include <CoarseAverageEdge.H>

Collaboration diagram for CoarseAverageEdge:

Collaboration graph
[legend]
List of all members.

Public Methods

 CoarseAverageEdge ()
 Default constructor.

 CoarseAverageEdge (const DisjointBoxLayout &a_fineGrids, int a_nComp, int a_nRef)
 defining constructor

 ~CoarseAverageEdge ()
 destructor

void define (const DisjointBoxLayout &a_fineGrids, int a_nComp, int a_nRef)
 defines the object

bool isDefined () const
void averageToCoarse (LevelData< FluxBox > &a_coarse_data, const LevelData< FluxBox > &a_fine_data)
 averages fine-level data to coarse level


Protected Methods

void averageGridData (FluxBox &a_coarsenedFine, const FluxBox &fine) const
 averages entire single grid data from fine->crse


Protected Attributes

bool m_isDefined
int m_nRef
LevelData< FluxBoxm_coarsenedFineData

Detailed Description

replaces edge-centered coarse-level data w/ averaged fine-level data

This class replaces edge-centered data on a coarse level of refinement with the average of the finer-level data which overlays the edge. This class is similar to CoarseAverage


Constructor & Destructor Documentation

CoarseAverageEdge::CoarseAverageEdge  
 

Default constructor.

CoarseAverageEdge::CoarseAverageEdge const DisjointBoxLayout   a_fineGrids,
int    a_nComp,
int    a_nRef
 

defining constructor

CoarseAverageEdge::~CoarseAverageEdge  
 

destructor


Member Function Documentation

void CoarseAverageEdge::averageGridData FluxBox   a_coarsenedFine,
const FluxBox   fine
const [protected]
 

averages entire single grid data from fine->crse

void CoarseAverageEdge::averageToCoarse LevelData< FluxBox > &    a_coarse_data,
const LevelData< FluxBox > &    a_fine_data
 

averages fine-level data to coarse level

void CoarseAverageEdge::define const DisjointBoxLayout   a_fineGrids,
int    a_nComp,
int    a_nRef
 

defines the object

bool CoarseAverageEdge::isDefined   const
 


Member Data Documentation

LevelData<FluxBox> CoarseAverageEdge::m_coarsenedFineData [protected]
 

bool CoarseAverageEdge::m_isDefined [protected]
 

int CoarseAverageEdge::m_nRef [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 17:55:48 2005 for Chombo&INSwithParticles by doxygen1.2.16