Chombo + EB  3.0
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 "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 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/2]

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/2]

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.

◆ 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.