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

computeSum.H File Reference

#include "REAL.H"
#include "Vector.H"
#include "LevelData.H"
#include "FArrayBox.H"
#include "Interval.H"

Include dependency graph for computeSum.H:

Include dependency graph

Go to the source code of this file.

Functions

Real computeSum (const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< int > &a_nRefFine, const Real &a_dxCrse, const Interval &a_comps=Interval(0, 0), const int &a_lBase=0)
 Returns the volume-weighted sum (integral) of phi over all valid regions.

Real computeSum (const LevelData< FArrayBox > &a_phi, const DisjointBoxLayout *a_finerGrids, const int &a_nRefFine, const Real &a_dx, const Interval &a_comps=Interval(0, 0))
 Returns the volume-weighted sum (integral) of phi over the valid region.


Function Documentation

Real computeSum const Vector< LevelData< FArrayBox > * > &  a_phi,
const Vector< int > &  a_nRefFine,
const Real a_dxCrse,
const Interval a_comps = Interval(0, 0),
const int &  a_lBase = 0
 

Returns the volume-weighted sum (integral) of phi over all valid regions.

Real computeSum const LevelData< FArrayBox > &  a_phi,
const DisjointBoxLayout a_finerGrids,
const int &  a_nRefFine,
const Real a_dx,
const Interval a_comps = Interval(0, 0)
 

Returns the volume-weighted sum (integral) of phi over the valid region.


Generated on Fri Jul 2 17:54:11 2004 for Chombo by doxygen 1.3.2