How to access neighbors from a boundary particles
Hi, i am using this code to calculate the Interaction Boundary-Fluid and Boundary-Boundary but in only computes to particles which have fluid particles in their neighborhood.
if(npbok){
dim3 sgridb=GetGridSize(npbok,bsbound);
KerInteractionForcesBound <<<sgridb,bsbound>>> (npbok,hdiv,nc,begincell,cellzero,dcell,ftomassp,posxy,posz,pospress,velrhop,code,idp,viscdt,ar);
}
Is there any way to compute this interaction using every boundary particle?
if(npbok){
dim3 sgridb=GetGridSize(npbok,bsbound);
KerInteractionForcesBound <<<sgridb,bsbound>>> (npbok,hdiv,nc,begincell,cellzero,dcell,ftomassp,posxy,posz,pospress,velrhop,code,idp,viscdt,ar);
}
Is there any way to compute this interaction using every boundary particle?
Comments