Chombo + EB  3.2
Macros | Functions
computeSum.H File Reference
#include "REAL.H"
#include "Vector.H"
#include "LevelData.H"
#include "FArrayBox.H"
#include "Interval.H"
#include "RealVect.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Include dependency graph for computeSum.H:

Go to the source code of this file.

Macros

#define _COMPUTESUM_H_
 

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. More...
 
Real computeSum (Real &a_volume, 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 and the volume. More...
 
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. More...
 
Real computeSum (Real &a_volume, 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 and the volume. More...
 
Real computeSum (const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< int > &a_nRefFine, const RealVect &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. More...
 
Real computeSum (Real &a_volume, const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< IntVect > &a_nRefFine, const RealVect &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 and the volume. More...
 
Real computeSum (const LevelData< FArrayBox > &a_phi, const DisjointBoxLayout *a_finerGrids, const IntVect &a_nRefFine, const RealVect &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. More...
 
Real computeSum (Real &a_volume, const LevelData< FArrayBox > &a_phi, const DisjointBoxLayout *a_finerGrids, const IntVect &a_nRefFine, const RealVect &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 and the volume. More...
 

Macro Definition Documentation

#define _COMPUTESUM_H_

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 ( Real a_volume,
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 and the volume.

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 ( Real a_volume,
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 and the volume.

Real computeSum ( const Vector< LevelData< FArrayBox > * > &  a_phi,
const Vector< int > &  a_nRefFine,
const RealVect 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 ( Real a_volume,
const Vector< LevelData< FArrayBox > * > &  a_phi,
const Vector< IntVect > &  a_nRefFine,
const RealVect 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 and the volume.

Real computeSum ( const LevelData< FArrayBox > &  a_phi,
const DisjointBoxLayout a_finerGrids,
const IntVect a_nRefFine,
const RealVect 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 ( Real a_volume,
const LevelData< FArrayBox > &  a_phi,
const DisjointBoxLayout a_finerGrids,
const IntVect a_nRefFine,
const RealVect 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 and the volume.