11 #ifndef _COMPUTENORM_H_ 12 #define _COMPUTENORM_H_ 21 #include "NamespaceHeader.H" 29 const int a_lBase = 0);
45 const int a_lBase = 0);
59 const int a_lBase = 0);
71 const int a_lBase = 0);
83 #include "NamespaceFooter.H" Real computeNorm(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_p=2, const int a_lBase=0)
Returns the volume-weighted p-norm of phi over all valid regions.
Real computeMax(const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< int > &a_nRefFine, const Interval a_comps=Interval(0, 0), const int a_lBase=0)
Returns the max value of phi over all valid regions.
one dimensional dynamic array
Definition: Vector.H:53
Structure for passing component ranges in code.
Definition: Interval.H:23
Real norm(const BoxLayoutData< FluxBox > &a_layout, const Interval &a_interval, const int &a_p)
Extension of the norm(...) function for FluxBoxes.
double Real
Definition: REAL.H:33
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Real computeMin(const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< int > &a_nRefFine, const Interval a_comps=Interval(0, 0), const int a_lBase=0)
Returns the min value of phil over all valid regions.