Overture  Version 25
Macros | Functions
gridFunctionNorms.C File Reference
#include "Overture.h"
#include "ParallelUtility.h"
#include "gridFunctionNorms.h"
Include dependency graph for gridFunctionNorms.C:

Macros

#define getL2normOpt   EXTERN_C_NAME(getl2normopt)
 
#define getMaxNormOpt   EXTERN_C_NAME(getmaxnormopt)
 
#define getL2AndMaxNormOpt   EXTERN_C_NAME(getl2andmaxnormopt)
 
#define getLpNormOpt   EXTERN_C_NAME(getlpnormopt)
 
#define getAreaWeightedLpNorm   EXTERN_C_NAME(getareaweightedlpnorm)
 
#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define UMIN(n)   puMin[n]
 
#define UMAX(n)   puMax[n]
 
#define MASK(i0, i1, i2)   maskp[(i0)+(i1)*md1+(i2)*md2]
 
#define U(i0, i1, i2, i3)   up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
 
#define UMIN(n)   puMin[n]
 
#define UMAX(n)   puMax[n]
 
#define MASK(i0, i1, i2)   maskp[(i0)+(i1)*md1+(i2)*md2]
 
#define U(i0, i1, i2, i3)   up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
 

Functions

void getL2normOpt (const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &n1a, const int &n1b, const int &n2a, const int &n2b, const int &n3a, const int &n3b, const real &u, const int &mask, real &norm, int &count, const int &maskOption)
 
void getMaxNormOpt (const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &n1a, const int &n1b, const int &n2a, const int &n2b, const int &n3a, const int &n3b, const real &u, const int &mask, real &uMax, const int &maskOption)
 
void getL2AndMaxNormOpt (const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &n1a, const int &n1b, const int &n2a, const int &n2b, const int &n3a, const int &n3b, const real &u, const int &mask, real &uSquared, int &count, real &uMax, const int &maskOption)
 
void getLpNormOpt (const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &n1a, const int &n1b, const int &n2a, const int &n2b, const int &n3a, const int &n3b, const real &u, const int &mask, real &norm, int &count, const int &maskOption, const int &p)
 
void getAreaWeightedLpNorm (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &n1a, const int &n1b, const int &n2a, const int &n2b, const int &n3a, const int &n3b, const real &u, const int &mask, const real &rsxy, int &ipar, real &rpar)
 
real l2Norm (const realCompositeGridFunction &u, const int cc, int maskOption, int extra)
 
real l2Norm (const realMappedGridFunction &u, const int cc, int maskOption, int extra)
 
real maxNorm (const realCompositeGridFunction &u, const int cc, int maskOption, int extra)
 
real maxNorm (const realMappedGridFunction &u, const int cc, int maskOption, int extra)
 
real lpNorm (const int p, const realCompositeGridFunction &u, const int cc, int maskOption, int extra, int normOption)
 

Macro Definition Documentation

#define FOR_3D (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); \
int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); \
for(i3=I3Base; i3<=I3Bound; i3++) \
for(i2=I2Base; i2<=I2Bound; i2++) \
for(i1=I1Base; i1<=I1Bound; i1++)

Referenced by GridFunctionNorms::getBounds().

#define getAreaWeightedLpNorm   EXTERN_C_NAME(getareaweightedlpnorm)

Referenced by lpNorm().

#define getL2AndMaxNormOpt   EXTERN_C_NAME(getl2andmaxnormopt)
#define getL2normOpt   EXTERN_C_NAME(getl2normopt)

Referenced by l2Norm().

#define getLpNormOpt   EXTERN_C_NAME(getlpnormopt)

Referenced by lpNorm().

#define getMaxNormOpt   EXTERN_C_NAME(getmaxnormopt)

Referenced by maxNorm(), and Ogmg::maxNorm().

#define MASK (   i0,
  i1,
  i2 
)    maskp[(i0)+(i1)*md1+(i2)*md2]
#define MASK (   i0,
  i1,
  i2 
)    maskp[(i0)+(i1)*md1+(i2)*md2]
#define U (   i0,
  i1,
  i2,
  i3 
)    up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
#define U (   i0,
  i1,
  i2,
  i3 
)    up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
#define UMAX (   n)    puMax[n]
#define UMAX (   n)    puMax[n]
#define UMIN (   n)    puMin[n]
#define UMIN (   n)    puMin[n]

Function Documentation

void getAreaWeightedLpNorm ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  n1a,
const int &  n1b,
const int &  n2a,
const int &  n2b,
const int &  n3a,
const int &  n3b,
const real u,
const int &  mask,
const real rsxy,
int &  ipar,
real rpar 
)
void getL2AndMaxNormOpt ( const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  n1a,
const int &  n1b,
const int &  n2a,
const int &  n2b,
const int &  n3a,
const int &  n3b,
const real u,
const int &  mask,
real uSquared,
int &  count,
real uMax,
const int &  maskOption 
)
void getL2normOpt ( const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  n1a,
const int &  n1b,
const int &  n2a,
const int &  n2b,
const int &  n3a,
const int &  n3b,
const real u,
const int &  mask,
real norm,
int &  count,
const int &  maskOption 
)
void getLpNormOpt ( const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  n1a,
const int &  n1b,
const int &  n2a,
const int &  n2b,
const int &  n3a,
const int &  n3b,
const real u,
const int &  mask,
real norm,
int &  count,
const int &  maskOption,
const int &  p 
)
void getMaxNormOpt ( const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  n1a,
const int &  n1b,
const int &  n2a,
const int &  n2b,
const int &  n3a,
const int &  n3b,
const real u,
const int &  mask,
real uMax,
const int &  maskOption 
)
real l2Norm ( const realCompositeGridFunction u,
const int  cc,
int  maskOption,
int  extra 
)
real l2Norm ( const realMappedGridFunction u,
const int  cc,
int  maskOption,
int  extra 
)
real lpNorm ( const int  p,
const realCompositeGridFunction u,
const int  cc,
int  maskOption,
int  extra,
int  normOption 
)
real maxNorm ( const realCompositeGridFunction u,
const int  cc,
int  maskOption,
int  extra 
)
real maxNorm ( const realMappedGridFunction u,
const int  cc,
int  maskOption,
int  extra 
)