#include <divUStar.h>
Public Member Functions | |
divUStar () | |
void | initialize (int numberOfPatches, real dt, int cellNumberPerPatch, int **StartIndex, real ****fp, int **pointNumberMeshP, real *h, real ***xP, real ****uAux, real ****vAux, real ****wAux) |
Calculate divergence of u*. | |
~divUStar () |
Calculate divergence of the predicted velocity at all pressure points on the coarse and fine meshes. They also include the interpolation of the points at the interface between two meshes.
divUStar::divUStar | ( | ) |
constructor
divUStar::~divUStar | ( | ) |
destructor
void divUStar::initialize | ( | int | numberOfPatches, | |
real | dt, | |||
int | cellNumberPerPatch, | |||
int ** | StartIndex, | |||
real **** | fp, | |||
int ** | pointNumberMeshP, | |||
real * | h, | |||
real *** | xP, | |||
real **** | uAux, | |||
real **** | vAux, | |||
real **** | wAux | |||
) |
Calculate divergence of u*.
Calculate divergence of the predicted velocity at all pressure points on the coarse and fine meshes. They also include the interpolation of the points at the interface between two meshes.
numberOfPatches | number of patches |
dt | time increment |
cellNumberPerPatch | cell numbers per patch surrounding the sphere |
StartIndex | used to put the refined mesh |
fp | force for pressure poisson equation |
pointNumberMeshP | mesh points for pressure |
h | space step |
xP | coordinates of pressure |
uAux | predicted u |
vAux | predicted v |
wAux | predicted w |