Overture
Version 25
|
#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"
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 () |
#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 | |||
) |
Referenced by DataPointMapping::computeGhostPoints().
#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 OPPLT3D EXTERN_C_NAME(opplt3d) |
#define RDPLT3D EXTERN_C_NAME(rdplt3d) |
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 | ||
) |