11 #ifndef _COMPUTENORM_H_ 12 #define _COMPUTENORM_H_ 20 #include "NamespaceHeader.H" 28 const int a_lBase = 0);
42 const int a_lBase = 0);
54 const int a_lBase = 0);
66 #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:52
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:31
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.