12 #define _PERIODIC_ "periodic"
14 #define _EXTRAPOLATE_ "extrapolate"
16 #define _DIRICHLET_ "dirichlet"
18 #define _REFLECT_ "reflect"
20 #define _SPONGE_ "sponge"
24 #define _NOSLIP_WALL_ "noslip-wall"
26 #define _THERMAL_NOSLIP_WALL_ "thermal-noslip-wall"
28 #define _SLIP_WALL_ "slip-wall"
30 #define _THERMAL_SLIP_WALL_ "thermal-slip-wall"
32 #define _SUBSONIC_INFLOW_ "subsonic-inflow"
34 #define _SUBSONIC_OUTFLOW_ "subsonic-outflow"
39 #define _SUBSONIC_AMBIVALENT_ "subsonic-ambivalent"
41 #define _SUPERSONIC_INFLOW_ "supersonic-inflow"
43 #define _SUPERSONIC_OUTFLOW_ "supersonic-outflow"
45 #define _TURBULENT_SUPERSONIC_INFLOW_ "turbulent-supersonic-inflow"
49 #define _NO_FLUX_BC_ "numa-nfbc"
53 #define _SW_SLIP_WALL_ "shallow-water-slip-wall"
55 #define _SW_NOSLIP_WALL_ "shallow-water-noslip-wall"
68 typedef struct domain_boundaries {
85 int (*BCFunctionU) (
void*,
void*,int,int,
int*,int,
double*,double);
108 #if defined(HAVE_CUDA)
123 int BCPeriodicU (
void*,
void*,
int,
int,
int*,
int,
double*,
double);
127 int BCDirichletU (
void*,
void*,
int,
int,
int*,
int,
double*,
double);
129 int BCReflectU (
void*,
void*,
int,
int,
int*,
int,
double*,
double);
131 int BCNoslipWallU (
void*,
void*,
int,
int,
int*,
int,
double*,
double);
135 int BCSlipWallU (
void*,
void*,
int,
int,
int*,
int,
double*,
double);
151 int BCNoFluxU (
void*,
void*,
int,
int,
int*,
int,
double*,
double);
153 int BCSWSlipWallU (
void*,
void*,
int,
int,
int*,
int,
double*,
double);
156 int BCSpongeSource (
void*,
int,
int,
int,
int*,
double*,
double*,
double*);
165 #if defined(HAVE_CUDA)
int BCExtrapolateU(void *, void *, int, int, int *, int, double *, double)
double * UnsteadyTemperatureData
int BCSubsonicAmbivalentU(void *, void *, int, int, int *, int, double *, double)
int BCThermalSlipWallU(void *, void *, int, int, int *, int, double *, double)
int BCThermalNoslipWallU(void *, void *, int, int, int *, int, double *, double)
int BCTurbulentSupersonicInflowU(void *, void *, int, int, int *, int, double *, double)
double * UnsteadyDirichletData
int BCReadTemperatureData(void *, void *, int, int, int *)
int BCDirichletU(void *, void *, int, int, int *, int, double *, double)
int BCSpongeSource(void *, int, int, int, int *, double *, double *, double *)
int gpuBCSlipWallU(void *, void *, int, int, int *, int, double *, double)
int gpu_npoints_local_wghosts
int BCNoslipWallU(void *, void *, int, int, int *, int, double *, double)
int gpuBCPeriodicU(void *, void *, int, int, int *, int, double *, double)
int BCNoFluxU(void *, void *, int, int, int *, int, double *, double)
int BCSupersonicInflowU(void *, void *, int, int, int *, int, double *, double)
double * gpu_FlowVelocity
int BCSpongeUDummy(void *, void *, int, int, int *, int, double *, double)
int BCSubsonicInflowU(void *, void *, int, int, int *, int, double *, double)
#define _MAX_STRING_SIZE_
int BCCleanup(void *, int)
int * UnsteadyTemperatureSize
int BCSlipWallU(void *, void *, int, int, int *, int, double *, double)
Structure containing the variables and function pointers defining a boundary.
double * UnsteadyTimeLevels
int * UnsteadyDirichletSize
int BCReadTurbulentInflowData(void *, void *, int, int, int *)
int BCReflectU(void *, void *, int, int, int *, int, double *, double)
int BCSWSlipWallU(void *, void *, int, int, int *, int, double *, double)
int BCInitialize(void *, int)
int BCSupersonicOutflowU(void *, void *, int, int, int *, int, double *, double)
int BCSubsonicOutflowU(void *, void *, int, int, int *, int, double *, double)
int BCPeriodicU(void *, void *, int, int, int *, int, double *, double)
Some basic definitions and macros.