Overture  Version 25
gridFunctionNorms.h
Go to the documentation of this file.
1 #ifndef GRID_FUNCTION_NORMS_H
2 
3 
4 real
5 l2Norm(const realMappedGridFunction & u, const int cc=0, int maskOption=0, int extra=0 );
6 real
7 l2Norm(const realCompositeGridFunction & u, const int cc=0, int maskOption=0, int extra=0 );
8 
9 
10 real
11 maxNorm(const realMappedGridFunction & u, const int cc=0, int maskOption=0, int extra=0 );
12 real
13 maxNorm(const realCompositeGridFunction & u, const int cc=0, int maskOption=0, int extra=0 );
14 
15 real
16 lpNorm(const int p, const realCompositeGridFunction & u, const int cc=0, int maskOption=0, int extra=0,
17  int normOption=0 );
18 
19 namespace GridFunctionNorms
20 {
21 
22 // Compute the min and max values of components of a grid function
23 int getBounds(const realCompositeGridFunction & u, RealArray & uMin, RealArray & uMax, const Range & C=nullRange );
24 int getBounds(const realMappedGridFunction & u, RealArray & uMin, RealArray & uMax, const Range & C=nullRange );
25 
26 };
27 
28 
29 #endif