Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class 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:

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), const bool a_global=true)
 Returns the volume-weighted sum (integral) of phi over the valid region.


Function Documentation

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),
const bool  a_global = true
 

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

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.


Generated on Wed Oct 5 13:54:00 2005 for Chombo&AMRSelfGravity by  doxygen 1.4.1