Main Page   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 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.

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 Apr 16 14:27:00 2003 for Chombo by doxygen1.2.16