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 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    lBase = 0
 

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


Generated on Thu Aug 29 11:06:33 2002 for Chombo&INS by doxygen1.2.16