Overture  Version 25
Macros | Functions
doubleMappedGridFunction.C File Reference
#include "doubleMappedGridFunction.h"
#include "MappedGrid.h"
#include "MappedGridOperators.h"
#include "SparseRep.h"
#include "GenericDataBase.h"
#include "GridFunctionParameters.h"
#include "UnstructuredMapping.h"
#include "ParallelUtility.h"
#include "App.h"
#include "mathutil.h"
Include dependency graph for doubleMappedGridFunction.C:

Macros

#define GFNAME(c0, c1, c2, c3, c4)
 
#define periodicUpdateOpt   EXTERN_C_NAME(periodicupdateopt)
 
#define fixupOpt   EXTERN_C_NAME(fixupopt)
 
#define ARGS1
 
#define ARGS2   I1,I2,I3,I4,I5,I6,I7,I8
 
#define DERIVATIVE(x)
 
#define ARGS1
 
#define ARGS2   w,I1,I2,I3
 
#define ARGS1
 
#define ARGS2   w,I1,I2,I3,I4,I5,I6,I7,I8
 
#define ARGS1
 
#define ARGS2   w,direction1,direction2,I1,I2,I3,I4,I5,I6,I7,I8
 
#define ARGS1
 
#define ARGS2   c0,c1,c2,c3,c4,I1,I2,I3,I4,I5,I6,I7,I8
 
#define ARGS1
 
#define ARGS2   I1,I2,I3,I4,I5,I6,I7,I8
 
#define DERIVATIVE_COEFFICIENTS(X)
 
#define ARGS1
 
#define ARGS2   s,I1,I2,I3,I4,I5,I6,I7,I8
 
#define ARGS1
 
#define ARGS2   s,direction1,direction2,I1,I2,I3,I4,I5,I6,I7,I8
 

Functions

doubleMappedGridFunctionmultiply (const doubleMappedGridFunction &a_, const doubleMappedGridFunction &coeff_)
 
doubleMappedGridFunctionmultiply (const doubleDistributedArray &a_, const doubleMappedGridFunction &coeff_)
 
void periodicUpdateOpt (const int &nd, const int &ndu1a, const int &ndu1b, const int &ndu2a, const int &ndu2b, const int &ndu3a, const int &ndu3b, const int &ndu4a, const int &ndu4b, double &u, const int &ca, const int &cb, const int &indexRange, const int &gridIndexRange, const int &dimension, const int &isPeriodic)
 
void fixupOpt (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &n1a, const int &n1b, const int &n2a, const int &n2b, const int &n3a, const int &n3b, double &u, const double &val, const int &mask, const int &bc, const int &nMin, const int &nMax, const int &nGhost)
 
intDistributedArray operator!= (const doubleMappedGridFunction &x, const doubleMappedGridFunction &y)
 
intDistributedArray operator> (const doubleMappedGridFunction &x, const doubleMappedGridFunction &y)
 
intDistributedArray operator<= (const doubleMappedGridFunction &x, const doubleMappedGridFunction &y)
 
intDistributedArray operator>= (const doubleMappedGridFunction &x, const doubleMappedGridFunction &y)
 
intDistributedArray operator!= (const doubleMappedGridFunction &x, const double &y)
 
intDistributedArray operator> (const doubleMappedGridFunction &x, const double &y)
 
intDistributedArray operator<= (const doubleMappedGridFunction &x, const double &y)
 
intDistributedArray operator>= (const doubleMappedGridFunction &x, const double &y)
 
intDistributedArray operator!= (const double &x, const doubleMappedGridFunction &y)
 
intDistributedArray operator> (const double &x, const doubleMappedGridFunction &y)
 
intDistributedArray operator<= (const double &x, const doubleMappedGridFunction &y)
 
intDistributedArray operator>= (const double &x, const doubleMappedGridFunction &y)
 
doubleDistributedArray min (const doubleMappedGridFunction &u, const doubleMappedGridFunction &v)
 
doubleDistributedArray min (const doubleMappedGridFunction &u, const double &x)
 
doubleDistributedArray min (const double &x, const doubleMappedGridFunction &v)
 
doubleDistributedArray max (const doubleMappedGridFunction &u, const doubleMappedGridFunction &v)
 
doubleDistributedArray max (const doubleMappedGridFunction &u, const double &x)
 
doubleDistributedArray max (const double &x, const doubleMappedGridFunction &v)
 

Macro Definition Documentation

#define ARGS1
Value:
const Index & I1, \
const Index & I2, \
const Index & I3, \
const Index & I4, \
const Index & I5, \
const Index & I6, \
const Index & I7, \
const Index & I8
#define ARGS1
Value:
const Index & I1, \
const Index & I2, \
const Index & I3
#define ARGS1
Value:
const Index & I1, \
const Index & I2, \
const Index & I3, \
const Index & I4, \
const Index & I5, \
const Index & I6, \
const Index & I7, \
const Index & I8
#define ARGS1
Value:
const int & direction1, \
const int & direction2, \
const Index & I1, \
const Index & I2, \
const Index & I3, \
const Index & I4, \
const Index & I5, \
const Index & I6, \
const Index & I7, \
const Index & I8
#define ARGS1
Value:
const int c0, \
const int c1, \
const int c2, \
const int c3, \
const int c4, \
const Index & I1, \
const Index & I2, \
const Index & I3, \
const Index & I4, \
const Index & I5, \
const Index & I6, \
const Index & I7, \
const Index & I8
#define ARGS1
Value:
const Index & I1, \
const Index & I2, \
const Index & I3, \
const Index & I4, \
const Index & I5, \
const Index & I6, \
const Index & I7, \
const Index & I8
#define ARGS1
Value:
const Index & I1, \
const Index & I2, \
const Index & I3, \
const Index & I4, \
const Index & I5, \
const Index & I6, \
const Index & I7, \
const Index & I8
#define ARGS1
Value:
const int & direction1, \
const int & direction2, \
const Index & I1, \
const Index & I2, \
const Index & I3, \
const Index & I4, \
const Index & I5, \
const Index & I6, \
const Index & I7, \
const Index & I8
#define ARGS2   I1,I2,I3,I4,I5,I6,I7,I8
#define ARGS2   w,I1,I2,I3
#define ARGS2   w,I1,I2,I3,I4,I5,I6,I7,I8
#define ARGS2   w,direction1,direction2,I1,I2,I3,I4,I5,I6,I7,I8
#define ARGS2   c0,c1,c2,c3,c4,I1,I2,I3,I4,I5,I6,I7,I8
#define ARGS2   I1,I2,I3,I4,I5,I6,I7,I8
#define ARGS2   s,I1,I2,I3,I4,I5,I6,I7,I8
#define ARGS2   s,direction1,direction2,I1,I2,I3,I4,I5,I6,I7,I8
#define DERIVATIVE (   x)
#define DERIVATIVE_COEFFICIENTS (   X)
Value:
doubleMappedGridFunction doubleMappedGridFunction:: \
X(ARGS1) const \
{ \
if( operators!=NULL ) \
{ \
\
derivativeError(); return *this; \
\
} \
else \
{ \
cout << "doubleMappedGridFunction: ERROR: trying to get coefficients without defining a derivative routine\n"; \
return *this; \
} \
} \
doubleMappedGridFunction doubleMappedGridFunction:: \
X( const GridFunctionParameters & gfType, ARGS1) const \
{ \
if( operators!=NULL ) \
{ \
\
derivativeError(); return *this; \
\
} \
else \
{ \
cout << "doubleMappedGridFunction: ERROR: trying to get coefficients without defining a derivative routine\n"; \
return *this; \
} \
}
#define fixupOpt   EXTERN_C_NAME(fixupopt)
#define GFNAME (   c0,
  c1,
  c2,
  c3,
  c4 
)
Value:
name[1+(c0-R[positionOfComponent(0)].getBase())+R[positionOfComponent(0)].length()*( \
(c1-R[positionOfComponent(1)].getBase())+R[positionOfComponent(1)].length()*( \
(c2-R[positionOfComponent(2)].getBase())+R[positionOfComponent(2)].length()*( \
(c3-R[positionOfComponent(3)].getBase())+R[positionOfComponent(3)].length()*( \
(c4-R[positionOfComponent(4)].getBase())))))]
#define periodicUpdateOpt   EXTERN_C_NAME(periodicupdateopt)

Function Documentation

void fixupOpt ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nd4a,
const int &  nd4b,
const int &  n1a,
const int &  n1b,
const int &  n2a,
const int &  n2b,
const int &  n3a,
const int &  n3b,
double &  u,
const double &  val,
const int &  mask,
const int &  bc,
const int &  nMin,
const int &  nMax,
const int &  nGhost 
)

References max().

doubleDistributedArray max ( const doubleMappedGridFunction u,
const double &  x 
)

References max().

doubleDistributedArray max ( const double &  x,
const doubleMappedGridFunction v 
)

References max().

References min().

doubleDistributedArray min ( const doubleMappedGridFunction u,
const double &  x 
)

References min().

doubleDistributedArray min ( const double &  x,
const doubleMappedGridFunction v 
)

References min().

doubleMappedGridFunction& multiply ( const doubleMappedGridFunction a_,
const doubleMappedGridFunction coeff_ 
)
doubleMappedGridFunction& multiply ( const doubleDistributedArray a_,
const doubleMappedGridFunction coeff_ 
)
intDistributedArray operator!= ( const doubleMappedGridFunction x,
const doubleMappedGridFunction y 
)
intDistributedArray operator!= ( const doubleMappedGridFunction x,
const double &  y 
)
intDistributedArray operator!= ( const double &  x,
const doubleMappedGridFunction y 
)
intDistributedArray operator<= ( const doubleMappedGridFunction x,
const doubleMappedGridFunction y 
)
intDistributedArray operator<= ( const doubleMappedGridFunction x,
const double &  y 
)
intDistributedArray operator<= ( const double &  x,
const doubleMappedGridFunction y 
)
intDistributedArray operator> ( const doubleMappedGridFunction x,
const doubleMappedGridFunction y 
)
intDistributedArray operator> ( const doubleMappedGridFunction x,
const double &  y 
)
intDistributedArray operator> ( const double &  x,
const doubleMappedGridFunction y 
)
intDistributedArray operator>= ( const doubleMappedGridFunction x,
const doubleMappedGridFunction y 
)
intDistributedArray operator>= ( const doubleMappedGridFunction x,
const double &  y 
)
intDistributedArray operator>= ( const double &  x,
const doubleMappedGridFunction y 
)
void periodicUpdateOpt ( const int &  nd,
const int &  ndu1a,
const int &  ndu1b,
const int &  ndu2a,
const int &  ndu2b,
const int &  ndu3a,
const int &  ndu3b,
const int &  ndu4a,
const int &  ndu4b,
double &  u,
const int &  ca,
const int &  cb,
const int &  indexRange,
const int &  gridIndexRange,
const int &  dimension,
const int &  isPeriodic 
)