Setting layer for the velocity boundary condition -- mass part will bounce back

This commit is contained in:
James E McClure committed 2015-07-19 12:08:40 -04:00
1 parent 9e8fe0f6f8
commit b9b4301eac
4 files changed
+33 -3

No files matched your search

+7
View File
@@ -1425,6 +1425,13 @@ extern "C" void ComputePhi(char *ID, double *Phi, double *Den, int N)
//...................................................................
}
extern "C" void SetPhiSlice_z(double *Phi, double value, int Nx, int Ny, int Nz, int Slice){
int n;
for (n=Slice*Nx*Ny; n<(Slice+1)*Nx*Ny; n++){
Phi[n] = value;
}
}
/*
//*************************************************************************
extern "C" void InitDenColor( int nblocks, int nthreads, int S,