Overture  Version 25
Macros | Functions
intMappedGridFunction.C File Reference
#include "intMappedGridFunction.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 intMappedGridFunction.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

intMappedGridFunctionmultiply (const intMappedGridFunction &a_, const intMappedGridFunction &coeff_)
 
intMappedGridFunctionmultiply (const intDistributedArray &a_, const intMappedGridFunction &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, int &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, int &u, const int &val, const int &mask, const int &bc, const int &nMin, const int &nMax, const int &nGhost)
 
intDistributedArray operator!= (const intMappedGridFunction &x, const intMappedGridFunction &y)
 
intDistributedArray operator> (const intMappedGridFunction &x, const intMappedGridFunction &y)
 
intDistributedArray operator<= (const intMappedGridFunction &x, const intMappedGridFunction &y)
 
intDistributedArray operator>= (const intMappedGridFunction &x, const intMappedGridFunction &y)
 
intDistributedArray operator!= (const intMappedGridFunction &x, const int &y)
 
intDistributedArray operator> (const intMappedGridFunction &x, const int &y)
 
intDistributedArray operator<= (const intMappedGridFunction &x, const int &y)
 
intDistributedArray operator>= (const intMappedGridFunction &x, const int &y)
 
intDistributedArray operator!= (const int &x, const intMappedGridFunction &y)
 
intDistributedArray operator> (const int &x, const intMappedGridFunction &y)
 
intDistributedArray operator<= (const int &x, const intMappedGridFunction &y)
 
intDistributedArray operator>= (const int &x, const intMappedGridFunction &y)
 
intDistributedArray min (const intMappedGridFunction &u, const intMappedGridFunction &v)
 
intDistributedArray min (const intMappedGridFunction &u, const int &x)
 
intDistributedArray min (const int &x, const intMappedGridFunction &v)
 
intDistributedArray max (const intMappedGridFunction &u, const intMappedGridFunction &v)
 
intDistributedArray max (const intMappedGridFunction &u, const int &x)
 
intDistributedArray max (const int &x, const intMappedGridFunction &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:
intMappedGridFunction intMappedGridFunction:: \
X(ARGS1) const \
{ \
if( operators!=NULL ) \
{ \
derivativeError(); return *this; \
\
\
} \
else \
{ \
cout << "intMappedGridFunction: ERROR: trying to get coefficients without defining a derivative routine\n"; \
return *this; \
} \
} \
intMappedGridFunction intMappedGridFunction:: \
X( const GridFunctionParameters & gfType, ARGS1) const \
{ \
if( operators!=NULL ) \
{ \
derivativeError(); return *this; \
\
\
} \
else \
{ \
cout << "intMappedGridFunction: 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,
int &  u,
const int &  val,
const int &  mask,
const int &  bc,
const int &  nMin,
const int &  nMax,
const int &  nGhost 
)

References max().

intDistributedArray max ( const intMappedGridFunction u,
const int &  x 
)

References max().

intDistributedArray max ( const int &  x,
const intMappedGridFunction v 
)

References max().

References min().

intDistributedArray min ( const intMappedGridFunction u,
const int &  x 
)

References min().

intDistributedArray min ( const int &  x,
const intMappedGridFunction v 
)

References min().

intMappedGridFunction& multiply ( const intMappedGridFunction a_,
const intMappedGridFunction coeff_ 
)
intMappedGridFunction& multiply ( const intDistributedArray a_,
const intMappedGridFunction coeff_ 
)
intDistributedArray operator!= ( const intMappedGridFunction x,
const intMappedGridFunction y 
)
intDistributedArray operator!= ( const intMappedGridFunction x,
const int &  y 
)
intDistributedArray operator!= ( const int &  x,
const intMappedGridFunction y 
)
intDistributedArray operator<= ( const intMappedGridFunction x,
const intMappedGridFunction y 
)
intDistributedArray operator<= ( const intMappedGridFunction x,
const int &  y 
)
intDistributedArray operator<= ( const int &  x,
const intMappedGridFunction y 
)
intDistributedArray operator> ( const intMappedGridFunction x,
const intMappedGridFunction y 
)
intDistributedArray operator> ( const intMappedGridFunction x,
const int &  y 
)
intDistributedArray operator> ( const int &  x,
const intMappedGridFunction y 
)
intDistributedArray operator>= ( const intMappedGridFunction x,
const intMappedGridFunction y 
)
intDistributedArray operator>= ( const intMappedGridFunction x,
const int &  y 
)
intDistributedArray operator>= ( const int &  x,
const intMappedGridFunction 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,
int &  u,
const int &  ca,
const int &  cb,
const int &  indexRange,
const int &  gridIndexRange,
const int &  dimension,
const int &  isPeriodic 
)