Source code potential problem

Hi, I am checking the source code DualSPHysics/src_mphase/DSPH_v5.0_NNewtonian/source/JSphCpu_NN_SPH.cpp.


Line 310-314 is shown below.


Refer to the wiki, I feel the source code should include velrhop1.w as well, which is rho_a. But the source code only divide rho_b. Could anyone help explain this?

Thanks!

Comments

Sign In or Register to comment.