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

Go to the source code of this file.

Macros

#define _COMPUTENORM_H_
 

Functions

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. More...
 
Real computeNorm (const LevelData< FArrayBox > &a_phi, const DisjointBoxLayout *a_finerGrids, const int a_nRefFine, const Real a_dx, const Interval a_comps=Interval(0, 0), const int a_p=2)
 Returns the volume-weighted p-norm of phi over the valid region. More...
 
Real computeNorm (const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< IntVect > &a_nRefFine, const RealVect &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: anisotropic version. More...
 
Real computeNorm (const LevelData< FArrayBox > &a_phi, const DisjointBoxLayout *a_finerGrids, const IntVect &a_nRefFine, const RealVect &a_dx, const Interval a_comps=Interval(0, 0), const int a_p=2)
 Returns the volume-weighted p-norm of phi over the valid region: anisotropic version. More...
 
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. More...
 
Real computeMax (const LevelData< FArrayBox > &a_phi, const DisjointBoxLayout *a_finerGrids, const int a_nRefFine, const Interval a_comps=Interval(0, 0))
 Returns the maximum value of phi over the valid region. More...
 
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. More...
 
Real computeMin (const LevelData< FArrayBox > &a_phi, const DisjointBoxLayout *a_finerGrids, const int a_nRefFine, const Interval a_comps=Interval(0, 0))
 Returns the minimum value of phi over the valid region. More...
 
Real norm (const BoxLayoutData< FluxBox > &a_layout, const Interval &a_interval, const int &a_p)
 Extension of the norm(...) function for FluxBoxes. More...
 

Macro Definition Documentation

#define _COMPUTENORM_H_

Function Documentation

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 computeNorm ( const LevelData< FArrayBox > &  a_phi,
const DisjointBoxLayout a_finerGrids,
const int  a_nRefFine,
const Real  a_dx,
const Interval  a_comps = Interval(0, 0),
const int  a_p = 2 
)

Returns the volume-weighted p-norm of phi over the valid region.

Real computeNorm ( const Vector< LevelData< FArrayBox > * > &  a_phi,
const Vector< IntVect > &  a_nRefFine,
const RealVect 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: anisotropic version.

Real computeNorm ( const LevelData< FArrayBox > &  a_phi,
const DisjointBoxLayout a_finerGrids,
const IntVect a_nRefFine,
const RealVect a_dx,
const Interval  a_comps = Interval(0, 0),
const int  a_p = 2 
)

Returns the volume-weighted p-norm of phi over the valid region: anisotropic version.

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.

Real computeMax ( const LevelData< FArrayBox > &  a_phi,
const DisjointBoxLayout a_finerGrids,
const int  a_nRefFine,
const Interval  a_comps = Interval(0, 0) 
)

Returns the maximum value of phi over the valid region.

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.

Real computeMin ( const LevelData< FArrayBox > &  a_phi,
const DisjointBoxLayout a_finerGrids,
const int  a_nRefFine,
const Interval  a_comps = Interval(0, 0) 
)

Returns the minimum value of phi over the valid region.

Real norm ( const BoxLayoutData< FluxBox > &  a_layout,
const Interval a_interval,
const int &  a_p 
)

Extension of the norm(...) function for FluxBoxes.