Overture  Version 25
Macros | Functions
DataPointMapping.C File Reference
#include "DataPointMapping.h"
#include "MappingInformation.h"
#include "arrayGetIndex.h"
#include <string.h>
#include "conversion.h"
#include "display.h"
#include "DataFormats.h"
#include "Inverse.h"
#include "ParallelUtility.h"
Include dependency graph for DataPointMapping.C:

Macros

#define CANINVERT   canInvertWithGoodGuess
 
#define DPM1   EXTERN_C_NAME(dpm1)
 
#define DPM2   EXTERN_C_NAME(dpm2)
 
#define OPPLT3D   EXTERN_C_NAME(opplt3d)
 
#define RDPLT3D   EXTERN_C_NAME(rdplt3d)
 
#define CLOSEPLT3D   EXTERN_C_NAME(closeplt3d)
 
#define INT_1D_ORDER_2(dr, x111, x211)   ( (1.-dr)*(x111)+dr*(x211) )
 
#define INT_1D_ORDER_2_R(dr, x111, x211)   ( delta[0]*( (x211)-(x111) ) )
 
#define INT_2D_ORDER_2(dr, ds, x111, x211, x121, x221)   ( (1.-ds)*((1.-dr)*(x111)+dr*(x211))+ds*((1.-dr)*(x121)+dr*(x221)) )
 
#define INT_2D_ORDER_2_R(dr, ds, x111, x211, x121, x221)   ( ((1.-ds)*( (x211)-(x111) ) +ds*( (x221)-(x121) ))*delta[0] )
 
#define INT_2D_ORDER_2_S(dr, ds, x111, x211, x121, x221)   ( ((1.-dr)*( (x121)-(x111) ) +dr*( (x221)-(x211) ))*delta[1] )
 
#define INT_3D_ORDER_2(dr, ds, dt, x111, x211, x121, x221, x112, x212, x122, x222)
 
#define INT_3D_ORDER_2_R(dr, ds, dt, x111, x211, x121, x221, x112, x212, x122, x222)
 
#define INT_3D_ORDER_2_S(dr, ds, dt, x111, x211, x121, x221, x112, x212, x122, x222)
 
#define INT_3D_ORDER_2_T(dr, ds, dt, x111, x211, x121, x221, x112, x212, x122, x222)
 
#define ForBoundary(side, axis)
 

Functions

void DPM1 (char filename[], int &idata, int &nd, int &ndrsab, int &nrsab, int &bc, int &share, int &per, int &ndr, const int &fileform, const int &dataform, char errmes[], int &ierr, const int len_filename, const int len_errmes)
 
void DPM2 (int &ndra, int &ndrb, int &ndsa, int &ndsb, int &ndta, int &ndtb, int &ndr, int &ndrsab, int &nrsab, int &nd, real &xy, int &per, int &idata, char errmes[], const int &fileform, const int &dataform, int &ierr, const int len_errmes)
 
void OPPLT3D (char filename[], int &iunit, int &fileFormat, int &ngd, int &ng, int &nx, int &ny, int &nz, const int len_filename)
 
void RDPLT3D (int &fileFormat, int &iunit, const int &grid, int &nx, int &ny, int &nz, int &nd, int &ndra, int &ndrb, int &ndsa, int &ndsb, int &ndta, int &ndtb, real &xy, int &ierr)
 
void CLOSEPLT3D (const int &iunit)
 
const realArray &DataPointMapping:: getDataPoints ()
 

Macro Definition Documentation

#define CANINVERT   canInvertWithGoodGuess
#define CLOSEPLT3D   EXTERN_C_NAME(closeplt3d)
#define DPM1   EXTERN_C_NAME(dpm1)
#define DPM2   EXTERN_C_NAME(dpm2)
#define ForBoundary (   side,
  axis 
)
Value:
for( axis=0; axis<domainDimension; axis++ ) \
for( side=0; side<=1; side++ )

Referenced by DataPointMapping::computeGhostPoints().

#define INT_1D_ORDER_2 (   dr,
  x111,
  x211 
)    ( (1.-dr)*(x111)+dr*(x211) )
#define INT_1D_ORDER_2_R (   dr,
  x111,
  x211 
)    ( delta[0]*( (x211)-(x111) ) )
#define INT_2D_ORDER_2 (   dr,
  ds,
  x111,
  x211,
  x121,
  x221 
)    ( (1.-ds)*((1.-dr)*(x111)+dr*(x211))+ds*((1.-dr)*(x121)+dr*(x221)) )
#define INT_2D_ORDER_2_R (   dr,
  ds,
  x111,
  x211,
  x121,
  x221 
)    ( ((1.-ds)*( (x211)-(x111) ) +ds*( (x221)-(x121) ))*delta[0] )
#define INT_2D_ORDER_2_S (   dr,
  ds,
  x111,
  x211,
  x121,
  x221 
)    ( ((1.-dr)*( (x121)-(x111) ) +dr*( (x221)-(x211) ))*delta[1] )
#define INT_3D_ORDER_2 (   dr,
  ds,
  dt,
  x111,
  x211,
  x121,
  x221,
  x112,
  x212,
  x122,
  x222 
)
Value:
( \
(1.-dt)*((1.-ds)*((1.-dr)*(x111)+dr*(x211))+ds*((1.-dr)*(x121)+dr*(x221))) \
+ dt *((1.-ds)*((1.-dr)*(x112)+dr*(x212))+ds*((1.-dr)*(x122)+dr*(x222))) )
#define INT_3D_ORDER_2_R (   dr,
  ds,
  dt,
  x111,
  x211,
  x121,
  x221,
  x112,
  x212,
  x122,
  x222 
)
Value:
( \
( (1.-dt)*((1.-ds)*((x211)-(x111))+ds*((x221)-(x121))) \
+ dt *((1.-ds)*((x212)-(x112))+ds*((x222)-(x122))) )*delta[0])
#define INT_3D_ORDER_2_S (   dr,
  ds,
  dt,
  x111,
  x211,
  x121,
  x221,
  x112,
  x212,
  x122,
  x222 
)
Value:
( \
( (1.-dt)*((1.-dr)*((x121)-(x111))+dr*((x221)-(x211))) \
+ dt *((1.-dr)*((x122)-(x112))+dr*((x222)-(x212))) )*delta[1] )
#define INT_3D_ORDER_2_T (   dr,
  ds,
  dt,
  x111,
  x211,
  x121,
  x221,
  x112,
  x212,
  x122,
  x222 
)
Value:
( \
( (1.-dr)*((1.-ds)*((x112)-(x111))+ds*((x122)-(x121))) \
+ dr *((1.-ds)*((x212)-(x211))+ds*((x222)-(x221))) )*delta[2] )
#define OPPLT3D   EXTERN_C_NAME(opplt3d)
#define RDPLT3D   EXTERN_C_NAME(rdplt3d)

Function Documentation

void CLOSEPLT3D ( const int &  iunit)
void DPM1 ( char  filename[],
int &  idata,
int &  nd,
int &  ndrsab,
int &  nrsab,
int &  bc,
int &  share,
int &  per,
int &  ndr,
const int &  fileform,
const int &  dataform,
char  errmes[],
int &  ierr,
const int  len_filename,
const int  len_errmes 
)
void DPM2 ( int &  ndra,
int &  ndrb,
int &  ndsa,
int &  ndsb,
int &  ndta,
int &  ndtb,
int &  ndr,
int &  ndrsab,
int &  nrsab,
int &  nd,
real xy,
int &  per,
int &  idata,
char  errmes[],
const int &  fileform,
const int &  dataform,
int &  ierr,
const int  len_errmes 
)
const realArray& DataPointMapping:: getDataPoints ( )
void OPPLT3D ( char  filename[],
int &  iunit,
int &  fileFormat,
int &  ngd,
int &  ng,
int &  nx,
int &  ny,
int &  nz,
const int  len_filename 
)
void RDPLT3D ( int &  fileFormat,
int &  iunit,
const int &  grid,
int &  nx,
int &  ny,
int &  nz,
int &  nd,
int &  ndra,
int &  ndrb,
int &  ndsa,
int &  ndsb,
int &  ndta,
int &  ndtb,
real xy,
int &  ierr 
)