Chombo + EB + MF  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

◆ _COMPUTENORM_H_

#define _COMPUTENORM_H_

Function Documentation

◆ computeNorm() [1/4]

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.

◆ computeNorm() [2/4]

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.

◆ computeNorm() [3/4]

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.

◆ computeNorm() [4/4]

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.

◆ computeMax() [1/2]

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.

◆ computeMax() [2/2]

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.

◆ computeMin() [1/2]

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.

◆ computeMin() [2/2]

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.

◆ norm()

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

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