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

Go to the source code of this file.

Macros

#define _COMPUTEMAPPEDSUM_H_
 

Functions

Real computeSum (const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< int > &a_nRefFine, const Vector< CoordSys< FArrayBox, FluxBox > * > &a_coordSysPtr, 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 Vector< CoordSys< FArrayBox, FluxBox > * > &a_coordSysPtr, 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 CoordSys< FArrayBox, FluxBox > *a_coordSysPtr, 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 CoordSys< FArrayBox, FluxBox > *a_coordSysPtr, 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 _COMPUTEMAPPEDSUM_H_

Function Documentation

Real computeSum ( const Vector< LevelData< FArrayBox > * > &  a_phi,
const Vector< int > &  a_nRefFine,
const Vector< CoordSys< FArrayBox, FluxBox > * > &  a_coordSysPtr,
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 Vector< CoordSys< FArrayBox, FluxBox > * > &  a_coordSysPtr,
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 CoordSys< FArrayBox, FluxBox > *  a_coordSysPtr,
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 CoordSys< FArrayBox, FluxBox > *  a_coordSysPtr,
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.