Chombo + EB + MF  3.2
computeMappedNorm.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef _COMPUTEMAPPEDNORM_H_
12 #define _COMPUTEMAPPEDNORM_H_
13 
14 #include "REAL.H"
15 #include "Vector.H"
16 #include "LevelData.H"
17 #include "FArrayBox.H"
18 #include "Interval.H"
19 #include "FluxBox.H"
20 #include "CoordSys.H"
21 #include "NamespaceHeader.H"
22 
23 /// Returns the volume-weighted norm of phi over all valid regions
25  const Vector<int>& a_nRefFine,
26  const Vector<CoordSys<FArrayBox,FluxBox>* >& a_coordSys,
27  const Interval a_comps = Interval(0,0),
28  const int a_p = 2,
29  const int a_lBase = 0);
30 
31 /// Returns the volume-weighted norm of phi over the valid region
33  const DisjointBoxLayout* a_finerGrids,
34  const int a_nRefFine,
35  const CoordSys<FArrayBox,FluxBox>* a_coordSys,
36  const Interval a_comps = Interval(0,0),
37  const int a_p = 2);
38 
39 /// Returns the max value of phi over all valid regions
41  const Vector<int>& a_nRefFine,
42  const Interval a_comps = Interval(0,0),
43  const int a_lBase = 0);
44 
45 
46 
47 #include "NamespaceFooter.H"
48 #endif
one dimensional dynamic array
Definition: Vector.H:53
Structure for passing component ranges in code.
Definition: Interval.H:23
double Real
Definition: REAL.H:33
Real computeNorm(const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< int > &a_nRefFine, const Vector< CoordSys< FArrayBox, FluxBox > * > &a_coordSys, const Interval a_comps=Interval(0, 0), const int a_p=2, const int a_lBase=0)
Returns the volume-weighted norm of phi over all valid regions.
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
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.