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

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

References max().

floatDistributedArray max ( const floatMappedGridFunction u,
const float &  x 
)

References max().

floatDistributedArray max ( const float &  x,
const floatMappedGridFunction v 
)

References max().

References min().

floatDistributedArray min ( const floatMappedGridFunction u,
const float &  x 
)

References min().

floatDistributedArray min ( const float &  x,
const floatMappedGridFunction v 
)

References min().

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