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

Macros

#define FOR_3(i1, i2, i3, I1, I2, I3)
 
#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define U(i0, i1, i2)   up[i0+uDim0*(i1+uDim1*(i2))]
 
#define MASK(i0, i1, i2)   maskp[i0+maskDim0*(i1+maskDim1*(i2))]
 
#define U(i0, i1, i2)   up[i0+uDim0*(i1+uDim1*(i2))]
 
#define MASK(i0, i1, i2)   maskp[i0+maskDim0*(i1+maskDim1*(i2))]
 
#define U(i0, i1, i2)   up[i0+uDim0*(i1+uDim1*(i2))]
 
#define l2normOpt   EXTERN_C_NAME(l2normopt)
 
#define l2AndMaxNormOpt   EXTERN_C_NAME(l2andmaxnormopt)
 
#define maxNormOpt   EXTERN_C_NAME(maxnormopt)
 
#define l2ErrorOpt   EXTERN_C_NAME(l2erroropt)
 
#define getL2AndMaxNormOpt   EXTERN_C_NAME(getl2andmaxnormopt)
 
#define getMaxNormOpt   EXTERN_C_NAME(getmaxnormopt)
 
#define getL2ErrorOpt   EXTERN_C_NAME(getl2erroropt)
 

Functions

Index IndexBB (int base, int bound, int stride)
 
Index IndexBB (Index I, const int stride)
 
void l2normOpt (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)
 
void l2AndMaxNormOpt (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, real &uMax)
 
void maxNormOpt (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)
 
void l2ErrorOpt (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 real &v, const int &mask, real &norm, int &count)
 
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 &norm, int &count, real &uMax, const int &maskOption)
 

Macro Definition Documentation

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

Referenced by Ogmg::setMean().

#define getL2AndMaxNormOpt   EXTERN_C_NAME(getl2andmaxnormopt)
#define getL2ErrorOpt   EXTERN_C_NAME(getl2erroropt)
#define getMaxNormOpt   EXTERN_C_NAME(getmaxnormopt)
#define l2AndMaxNormOpt   EXTERN_C_NAME(l2andmaxnormopt)
#define l2ErrorOpt   EXTERN_C_NAME(l2erroropt)

Referenced by Ogmg::l2Error().

#define l2normOpt   EXTERN_C_NAME(l2normopt)

Referenced by Ogmg::l2Norm().

#define MASK (   i0,
  i1,
  i2 
)    maskp[i0+maskDim0*(i1+maskDim1*(i2))]
#define MASK (   i0,
  i1,
  i2 
)    maskp[i0+maskDim0*(i1+maskDim1*(i2))]
#define maxNormOpt   EXTERN_C_NAME(maxnormopt)
#define U (   i0,
  i1,
  i2 
)    up[i0+uDim0*(i1+uDim1*(i2))]
#define U (   i0,
  i1,
  i2 
)    up[i0+uDim0*(i1+uDim1*(i2))]
#define U (   i0,
  i1,
  i2 
)    up[i0+uDim0*(i1+uDim1*(i2))]

Function Documentation

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 norm,
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 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 
)
Index IndexBB ( int  base,
int  bound,
int  stride 
)
Index IndexBB ( Index  I,
const int  stride 
)
void l2AndMaxNormOpt ( 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,
real uMax 
)
void l2ErrorOpt ( 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 real v,
const int &  mask,
real norm,
int &  count 
)
void l2normOpt ( 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 
)
void maxNormOpt ( 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 
)