Unique access to grid

edited June 2016 in DualSPHysics_v4.0
Hi,

as I was looking at the code, there are two different calls to access the fluid-fluid interaction and fluid-bound interaction.
For instance, InteractionForcesFluid (npf,npb,nc,hdiv,cellfluid,Visco...) for Interaction Fluid-Fluid and InteractionForcesFluid (npf,npb,nc,hdiv,0 ,Visco...) for Interaction Fluid-Bound. The cellfluid=nc.w*nc.z+1.

Is there any way that I can create a unique loop access for fluid-fluid, fluid-bound, bound-fluid and bound-bound at the same time?

Thank you!
Sign In or Register to comment.