15 #ifndef _COMMONKERNELS_H 16 #define _COMMONKERNELS_H 101 void kn_conv_mex_in_to_MAC(
const double *p_lin_array,
MACGrid *p_result) {}
105 void kn_conv_MAC_to_mex_out(
const MACGrid *p_mac,
double *p_result) {}
110 void kn_conv_mex_in_to_Vec3(
const double *p_lin_array,
Grid<Vec3> *p_result) {}
114 void kn_conv_Vec3_to_mex_out(
const Grid<Vec3> *p_Vec3,
double *p_result) {}
119 void kn_conv_mex_in_to_Real(
const double *p_lin_array,
Grid<Real> *p_result) {}
123 void kn_conv_Real_to_mex_out(
const Grid<Real> *p_grid,
double *p_result) {}
Definition: commonkernels.h:22
void GradientOp(Grid< Vec3 > &gradient, const Grid< Real > &grid)
Definition: commonkernels.h:51
void DivergenceOpMAC(Grid< Real > &div, const MACGrid &grid)
Definition: commonkernels.h:41
void CurlOp(const Grid< Vec3 > &grid, Grid< Vec3 > &dst)
Definition: commonkernels.h:36
void GetComponent(const Grid< Vec3 > &grid, Grid< Real > &comp, int dim)
Definition: commonkernels.h:66
double GridSumSqr(Grid< Real > &grid)
Definition: commonkernels.h:31
void SetComponent(Grid< Vec3 > &grid, const Grid< Real > &comp, int dim)
Definition: commonkernels.h:76
void GradientOpMAC(MACGrid &gradient, const Grid< Real > &grid)
Definition: commonkernels.h:46
void LaplaceOp(Grid< Real > &laplace, const Grid< Real > &grid)
Definition: commonkernels.h:56
void GridNorm(Grid< Real > &n, const Grid< Vec3 > &grid)
Definition: commonkernels.h:71
void GetCentered(Grid< Vec3 > ¢er, const MACGrid &vel)
Definition: commonkernels.h:81
void GetShiftedComponent(const Grid< Vec3 > &grid, Grid< Real > &comp, int dim)
Definition: commonkernels.h:61
void InvertCheckFluid(FlagGrid &flags, Grid< Real > &grid)
Definition: commonkernels.h:26
void FillInBoundary(Grid< Vec3 > &grid, int g)
Definition: commonkernels.h:91
void GetMAC(MACGrid &vel, const Grid< Vec3 > ¢er)
Definition: commonkernels.h:86