#include <cageInit.h>
Public Member Functions | |
cageInit () | |
void | solve (int numberOfCage, int cellNumberPerPatch, int dimension, real ****u, int **pointNumberMeshU, int ****uCagePoint, real ****v, int **pointNumberMeshV, int ****vCagePoint, real ****w, int **pointNumberMeshW, int ****wCagePoint) |
set velocity for cage points at the initial stage | |
~cageInit () |
This class sets the velocity for cage points at the initial stage. They may be zero or some values from experience or knowledge.
cageInit::cageInit | ( | ) |
constructor
cageInit::~cageInit | ( | ) |
destructor
void cageInit::solve | ( | int | numberOfCage, | |
int | cellNumberPerPatch, | |||
int | dimension, | |||
real **** | u, | |||
int ** | pointNumberMeshU, | |||
int **** | uCagePoint, | |||
real **** | v, | |||
int ** | pointNumberMeshV, | |||
int **** | vCagePoint, | |||
real **** | w, | |||
int ** | pointNumberMeshW, | |||
int **** | wCagePoint | |||
) |
set velocity for cage points at the initial stage
Sets the velocity for cage points at the initial stage. They may be zero or some values from experience or knowledge. This only makes the initial conditions more physical.
numberOfCage | number of cages |
cellNumberPerPatch | cell numbers per patch surrounding the sphere |
dimension | dimension |
u | u |
pointNumberMeshU | mesh points for u |
uCagePoint | cage points for u |
v | v |
pointNumberMeshV | mesh points for v |
vCagePoint | cage points for v |
w | w |
pointNumberMeshW | mesh points for w |
wCagePoint | cage points for w |